webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Functions
protostream_objectsource_test.cc File Reference
#include <google/protobuf/util/internal/protostream_objectsource.h>
#include <memory>
#include <google/protobuf/stubs/shared_ptr.h>
#include <sstream>
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/any.pb.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/util/internal/expecting_objectwriter.h>
#include <google/protobuf/util/internal/testdata/books.pb.h>
#include <google/protobuf/util/internal/testdata/field_mask.pb.h>
#include <google/protobuf/util/internal/type_info_test_helper.h>
#include <google/protobuf/util/internal/constants.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/util/internal/testdata/anys.pb.h>
#include <google/protobuf/util/internal/testdata/maps.pb.h>
#include <google/protobuf/util/internal/testdata/struct.pb.h>
#include <google/protobuf/util/internal/testdata/timestamp_duration.pb.h>
#include <gtest/gtest.h>

Classes

class  google::protobuf::util::converter::ProtostreamObjectSourceTest
 
class  google::protobuf::util::converter::ProtostreamObjectSourceMapsTest
 
class  google::protobuf::util::converter::ProtostreamObjectSourceAnysTest
 
class  google::protobuf::util::converter::ProtostreamObjectSourceStructTest
 
class  google::protobuf::util::converter::ProtostreamObjectSourceFieldMaskTest
 
class  google::protobuf::util::converter::ProtostreamObjectSourceTimestampTest
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::util
 
 google::protobuf::util::converter
 

Functions

 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, EmptyMessage)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, Primitives)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, RepeatingPrimitives)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, CustomJsonName)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, NestedMessage)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, RepeatingField)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, PackedRepeatingFields)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, NonPackedPackableFieldsActuallyPacked)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, PackedPackableFieldNotActuallyPacked)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, BadAuthor)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, NestedBookToBadNestedBook)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, BadNestedBookToNestedBook)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, LongRepeatedListDoesNotBreakIntoMultipleJsonLists)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, LowerCamelEnumOutputTest)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, EnumCaseIsUnchangedByDefault)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTest, CyclicMessageDepthTest)
 
 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceMapsTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceMapsTest, MapsTest)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceMapsTest, MissingKeysTest)
 
 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceAnysTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, BasicAny)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, RecursiveAny)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, DoubleRecursiveAny)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, EmptyAnyOutputsEmptyObject)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, EmptyWithTypeAndNoValueOutputsType)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, MissingTypeUrlError)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, UnknownTypeServiceError)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceAnysTest, UnknownTypeError)
 
 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceStructTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceStructTest, StructRenderSuccess)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceStructTest, MissingValueSkipsField)
 
 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceFieldMaskTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceFieldMaskTest, FieldMaskRenderSuccess)
 
 google::protobuf::util::converter::INSTANTIATE_TEST_CASE_P (DifferentTypeInfoSourceTest, ProtostreamObjectSourceTimestampTest, ::testing::Values(testing::USE_TYPE_RESOLVER))
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTimestampTest, InvalidTimestampBelowMinTest)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTimestampTest, InvalidTimestampAboveMaxTest)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTimestampTest, InvalidDurationBelowMinTest)
 
 google::protobuf::util::converter::TEST_P (ProtostreamObjectSourceTimestampTest, InvalidDurationAboveMaxTest)