#include "core/fpdfapi/parser/fpdf_parser_decode.h"
#include <stddef.h>
#include <stdint.h>
#include <iterator>
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_indirect_object_holder.h"
#include "core/fpdfapi/parser/cpdf_name.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fxcodec/data_and_bytes_consumed.h"
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/span.h"
#include "core/fxcrt/string_view_template.h"
#include "core/fxcrt/widestring.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/test_support.h"
ElementsAreArray;
namespace {
template <size_t N>
pdfium::span<const uint8_t> ToSpan(const char (&array)[N]) { … }
template <size_t N>
ByteString ToByteString(const char (&array)[N]) { … }
}
TEST(ParserDecodeTest, ValidateDecoderPipeline) { … }
TEST(ParserDecodeTest, ValidateDecoderPipelineWithIndirectObjects) { … }
TEST(ParserDecodeTest, GetDecoderArray) { … }
TEST(ParserDecodeTest, A85Decode) { … }
TEST(ParserDecodeTest, HexDecode) { … }
TEST(ParserDecodeTest, DecodeText) { … }
TEST(ParserDecodeTest, DecodeTextWithUnicodeEscapes) { … }
TEST(ParserDecodeTest, DecodeTextWithInvalidUnicodeEscapes) { … }
TEST(ParserDecodeTest, DecodeTextWithUnpairedSurrogates) { … }
TEST(ParserDecodeTest, EncodeText) { … }
TEST(ParserDecodeTest, RoundTripText) { … }