#include "core/fpdfdoc/cpdf_action.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fxcrt/retain_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
RetainPtr<CPDF_Dictionary> CreateActionDictWithType(
const ByteString& action_type) { … }
RetainPtr<CPDF_Dictionary> CreateActionDictWithoutType(
const ByteString& action_type) { … }
RetainPtr<CPDF_Dictionary> CreateActionDictWithInvalidType(
const ByteString& action_type) { … }
RetainPtr<CPDF_Dictionary> CreateInvalidActionDictWithType(
const ByteString& action_type) { … }
RetainPtr<CPDF_Dictionary> CreateInvalidActionDictWithoutType(
const ByteString& action_type) { … }
}
TEST(CPDFActionTest, GetType) { … }