webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Enumerations | Functions | Variables
descriptor_unittest.cc File Reference
#include <memory>
#include <google/protobuf/stubs/shared_ptr.h>
#include <vector>
#include <google/protobuf/compiler/importer.h>
#include <google/protobuf/unittest.pb.h>
#include <google/protobuf/unittest_custom_options.pb.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/scoped_ptr.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>

Classes

class  google::protobuf::descriptor_unittest::MockErrorCollector
 
class  google::protobuf::descriptor_unittest::FileDescriptorTest
 
class  google::protobuf::descriptor_unittest::DescriptorTest
 
class  google::protobuf::descriptor_unittest::OneofDescriptorTest
 
class  google::protobuf::descriptor_unittest::StylizedFieldNamesTest
 
class  google::protobuf::descriptor_unittest::EnumDescriptorTest
 
class  google::protobuf::descriptor_unittest::ServiceDescriptorTest
 
class  google::protobuf::descriptor_unittest::NestedDescriptorTest
 
class  google::protobuf::descriptor_unittest::ExtensionDescriptorTest
 
class  google::protobuf::descriptor_unittest::ReservedDescriptorTest
 
class  google::protobuf::descriptor_unittest::MiscTest
 
class  google::protobuf::descriptor_unittest::AllowUnknownDependenciesTest
 
class  google::protobuf::descriptor_unittest::ValidationErrorTest
 
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest
 
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
 
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
 
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase
 
class  google::protobuf::descriptor_unittest::ExponentialErrorDatabase
 
class  google::protobuf::descriptor_unittest::AbortingErrorCollector
 
class  google::protobuf::descriptor_unittest::SingletonSourceTree
 
class  google::protobuf::descriptor_unittest::SourceLocationTest
 
class  google::protobuf::descriptor_unittest::CopySourceCodeInfoToTest
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::descriptor_unittest
 

Enumerations

enum  google::protobuf::descriptor_unittest::DescriptorPoolMode { google::protobuf::descriptor_unittest::NO_DATABASE, google::protobuf::descriptor_unittest::FALLBACK_DATABASE }
 

Functions

DescriptorProto * google::protobuf::descriptor_unittest::AddMessage (FileDescriptorProto *file, const string &name)
 
DescriptorProto * google::protobuf::descriptor_unittest::AddNestedMessage (DescriptorProto *parent, const string &name)
 
EnumDescriptorProto * google::protobuf::descriptor_unittest::AddEnum (FileDescriptorProto *file, const string &name)
 
EnumDescriptorProto * google::protobuf::descriptor_unittest::AddNestedEnum (DescriptorProto *parent, const string &name)
 
ServiceDescriptorProto * google::protobuf::descriptor_unittest::AddService (FileDescriptorProto *file, const string &name)
 
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddField (DescriptorProto *parent, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
 
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddExtension (FileDescriptorProto *file, const string &extendee, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
 
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddNestedExtension (DescriptorProto *parent, const string &extendee, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
 
DescriptorProto::ExtensionRange * google::protobuf::descriptor_unittest::AddExtensionRange (DescriptorProto *parent, int start, int end)
 
DescriptorProto::ReservedRange * google::protobuf::descriptor_unittest::AddReservedRange (DescriptorProto *parent, int start, int end)
 
EnumValueDescriptorProto * google::protobuf::descriptor_unittest::AddEnumValue (EnumDescriptorProto *enum_proto, const string &name, int number)
 
MethodDescriptorProto * google::protobuf::descriptor_unittest::AddMethod (ServiceDescriptorProto *service, const string &name, const string &input_type, const string &output_type)
 
void google::protobuf::descriptor_unittest::AddEmptyEnum (FileDescriptorProto *file, const string &name)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Name)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Package)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Dependencies)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindMessageTypeByName)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindEnumTypeByName)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindEnumValueByName)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindServiceByName)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindExtensionByName)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindExtensionByNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, BuildAgain)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, BuildAgainWithSyntax)
 
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Syntax)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, Name)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, ContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldsByIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FindFieldByName)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FindFieldByNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldName)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldFullName)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldJsonName)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldFile)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldType)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldLabel)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, IsMap)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldHasDefault)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldMessageType)
 
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldEnumType)
 
 google::protobuf::descriptor_unittest::TEST_F (OneofDescriptorTest, Normal)
 
 google::protobuf::descriptor_unittest::TEST_F (OneofDescriptorTest, FindByName)
 
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, LowercaseName)
 
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, CamelcaseName)
 
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, FindByLowercaseName)
 
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, FindByCamelcaseName)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, Name)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValuesByIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, FindValueByName)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, FindValueByNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueName)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueFullName)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueType)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, Name)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodsByIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, FindMethodByName)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodName)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodFullName)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodParent)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodInputType)
 
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodOutputType)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, MessageName)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, MessageContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, NestedMessagesByIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindFieldByNameDoesntFindNestedTypes)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindNestedTypeByName)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, EnumName)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, EnumContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, NestedEnumsByIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindEnumTypeByName)
 
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindEnumValueByName)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, ExtensionRanges)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, Extensions)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, IsExtensionNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, FindExtensionByName)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, FindAllExtensions)
 
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, DuplicateFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ReservedDescriptorTest, ReservedRanges)
 
 google::protobuf::descriptor_unittest::TEST_F (ReservedDescriptorTest, IsReservedNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ReservedDescriptorTest, ReservedNames)
 
 google::protobuf::descriptor_unittest::TEST_F (ReservedDescriptorTest, IsReservedName)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, TypeNames)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, StaticTypeNames)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, CppTypes)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, CppTypeNames)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, StaticCppTypeNames)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, MessageType)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, EnumType)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, DefaultValues)
 
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, FieldOptions)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, PlaceholderFile)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, PlaceholderTypes)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, CopyTo)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, CustomOptions)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, UnknownExtendee)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, CustomOption)
 
 google::protobuf::descriptor_unittest::TEST_P (AllowUnknownDependenciesTest, UndeclaredDependencyTriggersBuildOfDependency)
 
 google::protobuf::descriptor_unittest::INSTANTIATE_TEST_CASE_P (DatabaseSource, AllowUnknownDependenciesTest, testing::Values(NO_DATABASE, FALLBACK_DATABASE))
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionLocations)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionTypes)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, ComplexExtensionOptions)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionsFromOtherFile)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, MessageOptionThreeFieldsSet)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, MessageOptionRepeatedLeafFieldSet)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, MessageOptionRepeatedMsgFieldSet)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, AggregateOptions)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, UnusedImportWarning)
 
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionsWithRequiredEnums)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefined)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefinedInPackage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefinedInOtherFile)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PackageAlreadyDefined)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumValueAlreadyDefinedInParent)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumValueAlreadyDefinedInParentNonGlobal)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MissingName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidPackageName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MissingFileName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupeDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UnknownDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidPublicDependencyIndex)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ForeignUnimportedPackageNoCrash)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupeFile)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldInExtensionRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OverlappingExtensionRanges)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedFieldError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedExtensionRangeError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedExtensionRangeAdjacent)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedRangeOverlap)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedNameError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedNameRedundant)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedFieldsDebugString)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidDefaults)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NegativeFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, HugeFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ExtensionMissingExtendee)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonExtensionWithExtendee)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldOneofIndexTooLarge)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldOneofIndexNegative)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OneofFieldsConsecutiveDefinition)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldNumberConflict)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadMessageSetExtensionType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadMessageSetExtensionLabel)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldInMessageSet)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NegativeExtensionRangeNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, HugeExtensionRangeNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ExtensionRangeEndBeforeStart)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EmptyEnum)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedExtendee)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonMessageExtendee)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NotAnExtensionNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RequiredExtension)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedFieldType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedFieldTypeWithDefault)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedNestedFieldType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInUndeclaredDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInIndirectDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInPublicDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInTransitivePublicDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInPrivateDependencyOfPublicDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, SearchMostLocalFirst)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, SearchMostLocalFirst2)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PackageOriginallyDeclaredInTransitiveDependent)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeNotAType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RelativeFieldTypeNotAType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeMayBeItsName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumFieldTypeIsMessage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MessageFieldTypeIsEnum)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadEnumDefaultValue)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumDefaultValueIsInteger)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PrimitiveWithTypeName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonPrimitiveWithoutTypeName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OneofWithNoFields)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OneofLabelMismatch)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InputTypeNotDefined)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InputTypeNotAMessage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OutputTypeNotDefined)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OutputTypeNotAMessage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, IllegalPackedField)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OptionWrongType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OptionExtendsAtomicType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupOption)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidOptionName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RepeatedMessageOption)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ResolveUndefinedOption)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UnknownOption)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, CustomOptionConflictingFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueOutOfPositiveRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueOutOfNegativeRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueIsNotPositiveInt)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int64OptionValueOutOfRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int64OptionValueIsNotPositiveInt)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt32OptionValueOutOfRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt32OptionValueIsNotPositiveInt)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt64OptionValueIsNotPositiveInt)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FloatOptionValueIsNotNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DoubleOptionValueIsNotNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BoolOptionValueIsNotTrueOrFalse)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsNotIdentifier)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsNotEnumValueName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsSiblingEnumValueName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, StringOptionValueIsNotString)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DuplicateExtensionFieldNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AggregateValueNotFound)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AggregateValueParseError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AggregateValueUnknownFields)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NotLiteImportsLite)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, LiteExtendsNotLite)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NoLiteServices)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RollbackAfterError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ErrorsReportedToLogError)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DisallowEnumAlias)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AllowEnumAlias)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UnusedImportWarning)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryBase)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryExtensionRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryExtension)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryNestedType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryEnumTypes)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryExtraField)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryMessageName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryNoneRepeatedMapEntry)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryDifferentContainingType)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyLabel)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryValueName)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryValueLabel)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryValueNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyTypeFloat)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyTypeDouble)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyTypeBytes)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyTypeEnum)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryKeyTypeMessage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryConflictsWithField)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryConflictsWithMessage)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryConflictsWithEnum)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryConflictsWithOneof)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MapEntryUsesNoneZeroEnumDefaultValue)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Proto3RequiredFields)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3DefaultValue)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3ExtensionRange)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3MessageSetWireFormat)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3Enum)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3Group)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3EnumFromProto2)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3Extension)
 
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ValidateProto3JsonName)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindFileByName)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindDependencyBeforeDependent)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindDependentBeforeDependency)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindFileContainingSymbol)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindMessageTypeByName)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindExtensionByNumber)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindAllExtensions)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, ErrorWithoutErrorCollector)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, ErrorWithErrorCollector)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, UndeclaredDependencyOnUnbuiltType)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, RollbackAfterError)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, UnittestProto)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntRetryDbUnnecessarily)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntReloadFilesUncesessarily)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntReloadKnownBadFiles)
 
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntFallbackOnWrongType)
 
 google::protobuf::descriptor_unittest::TEST_F (SourceLocationTest, GetSourceLocation)
 
 google::protobuf::descriptor_unittest::TEST_F (SourceLocationTest, ExtensionSourceLocation)
 
 google::protobuf::descriptor_unittest::TEST_F (SourceLocationTest, GetSourceLocation_MissingSourceCodeInfo)
 
 google::protobuf::descriptor_unittest::TEST_F (SourceLocationTest, GetSourceLocation_BogusSourceCodeInfo)
 
 google::protobuf::descriptor_unittest::TEST_F (CopySourceCodeInfoToTest, CopyTo_DoesNotCopySourceCodeInfo)
 
 google::protobuf::descriptor_unittest::TEST_F (CopySourceCodeInfoToTest, CopySourceCodeInfoTo)
 

Variables

const char *const google::protobuf::descriptor_unittest::kSourceLocationTestInput
 
const char *const google::protobuf::descriptor_unittest::kCopySourceCodeInfoToTestInput