chromium/third_party/pdfium/core/fpdfapi/parser/cpdf_object_unittest.cpp

// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "core/fpdfapi/parser/cpdf_object.h"

#include <stdint.h>

#include <memory>
#include <string>
#include <utility>
#include <vector>

#include "constants/stream_dict_common.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_boolean.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_null.h"
#include "core/fpdfapi/parser/cpdf_number.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fpdfapi/parser/cpdf_stream.h"
#include "core/fpdfapi/parser/cpdf_stream_acc.h"
#include "core/fpdfapi/parser/cpdf_string.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/data_vector.h"
#include "core/fxcrt/stl_util.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace {

void TestArrayAccessors(const CPDF_Array* arr,
                        size_t index,
                        const char* str_val,
                        const char* const_str_val,
                        int int_val,
                        float float_val,
                        CPDF_Array* arr_val,
                        CPDF_Dictionary* dict_val,
                        CPDF_Stream* stream_val) {}

}  // namespace

class PDFObjectsTest : public testing::Test {};

TEST_F(PDFObjectsTest, GetString) {}

TEST_F(PDFObjectsTest, GetUnicodeText) {}

TEST_F(PDFObjectsTest, GetNumber) {}

TEST_F(PDFObjectsTest, GetInteger) {}

TEST_F(PDFObjectsTest, GetDict) {}

TEST_F(PDFObjectsTest, GetNameFor) {}

TEST_F(PDFObjectsTest, GetArray) {}

TEST_F(PDFObjectsTest, Clone) {}

TEST_F(PDFObjectsTest, GetType) {}

TEST_F(PDFObjectsTest, GetDirect) {}

TEST_F(PDFObjectsTest, SetString) {}

TEST_F(PDFObjectsTest, IsTypeAndAsType) {}

TEST_F(PDFObjectsTest, MakeReferenceGeneric) {}

TEST_F(PDFObjectsTest, KeyForCache) {}

TEST(PDFArrayTest, GetMatrix) {}

TEST(PDFArrayTest, GetRect) {}

TEST(PDFArrayTest, GetTypeAt) {}

TEST(PDFArrayTest, AddNumber) {}

TEST(PDFArrayTest, AddInteger) {}

TEST(PDFArrayTest, AddStringAndName) {}

TEST(PDFArrayTest, AddReferenceAndGetObjectAt) {}

TEST(PDFArrayTest, CloneDirectObject) {}

TEST(PDFArrayTest, ConvertIndirect) {}

TEST(PDFStreamTest, SetData) {}

TEST(PDFStreamTest, SetDataAndRemoveFilter) {}

TEST(PDFStreamTest, LengthInDictionaryOnCreate) {}

TEST(PDFDictionaryTest, CloneDirectObject) {}

TEST(PDFObjectTest, CloneCheckLoop) {}

TEST(PDFDictionaryTest, ConvertIndirect) {}

TEST(PDFDictionaryTest, ExtractObjectOnRemove) {}

TEST(PDFRefernceTest, MakeReferenceToReference) {}