webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Enumerations | Functions | Variables
google::protobuf::descriptor_unittest Namespace Reference

Classes

class  AbortingErrorCollector
 
class  AllowUnknownDependenciesTest
 
class  CopySourceCodeInfoToTest
 
class  DatabaseBackedPoolTest
 
class  DescriptorTest
 
class  EnumDescriptorTest
 
class  ExponentialErrorDatabase
 
class  ExtensionDescriptorTest
 
class  FileDescriptorTest
 
class  MiscTest
 
class  MockErrorCollector
 
class  NestedDescriptorTest
 
class  OneofDescriptorTest
 
class  ReservedDescriptorTest
 
class  ServiceDescriptorTest
 
class  SingletonSourceTree
 
class  SourceLocationTest
 
class  StylizedFieldNamesTest
 
class  ValidationErrorTest
 

Enumerations

enum  DescriptorPoolMode { NO_DATABASE, FALLBACK_DATABASE }
 

Functions

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

Variables

const char *const kSourceLocationTestInput
 
const char *const kCopySourceCodeInfoToTestInput
 

Enumeration Type Documentation

◆ DescriptorPoolMode

Enumerator
NO_DATABASE 
FALLBACK_DATABASE 

Function Documentation

◆ AddEmptyEnum()

void google::protobuf::descriptor_unittest::AddEmptyEnum ( FileDescriptorProto file,
const string name 
)

◆ AddEnum()

EnumDescriptorProto* google::protobuf::descriptor_unittest::AddEnum ( FileDescriptorProto file,
const string name 
)

◆ AddEnumValue()

EnumValueDescriptorProto* google::protobuf::descriptor_unittest::AddEnumValue ( EnumDescriptorProto enum_proto,
const string name,
int  number 
)

◆ AddExtension()

FieldDescriptorProto* google::protobuf::descriptor_unittest::AddExtension ( FileDescriptorProto file,
const string extendee,
const string name,
int  number,
FieldDescriptorProto::Label  label,
FieldDescriptorProto::Type  type 
)

◆ AddExtensionRange()

DescriptorProto::ExtensionRange* google::protobuf::descriptor_unittest::AddExtensionRange ( DescriptorProto parent,
int  start,
int  end 
)

◆ AddField()

FieldDescriptorProto* google::protobuf::descriptor_unittest::AddField ( DescriptorProto parent,
const string name,
int  number,
FieldDescriptorProto::Label  label,
FieldDescriptorProto::Type  type 
)

◆ AddMessage()

DescriptorProto* google::protobuf::descriptor_unittest::AddMessage ( FileDescriptorProto file,
const string name 
)

◆ AddMethod()

MethodDescriptorProto* google::protobuf::descriptor_unittest::AddMethod ( ServiceDescriptorProto service,
const string name,
const string input_type,
const string output_type 
)

◆ AddNestedEnum()

EnumDescriptorProto* google::protobuf::descriptor_unittest::AddNestedEnum ( DescriptorProto parent,
const string name 
)

◆ AddNestedExtension()

FieldDescriptorProto* google::protobuf::descriptor_unittest::AddNestedExtension ( DescriptorProto parent,
const string extendee,
const string name,
int  number,
FieldDescriptorProto::Label  label,
FieldDescriptorProto::Type  type 
)

◆ AddNestedMessage()

DescriptorProto* google::protobuf::descriptor_unittest::AddNestedMessage ( DescriptorProto parent,
const string name 
)

◆ AddReservedRange()

DescriptorProto::ReservedRange* google::protobuf::descriptor_unittest::AddReservedRange ( DescriptorProto parent,
int  start,
int  end 
)

◆ AddService()

ServiceDescriptorProto* google::protobuf::descriptor_unittest::AddService ( FileDescriptorProto file,
const string name 
)

◆ INSTANTIATE_TEST_CASE_P()

google::protobuf::descriptor_unittest::INSTANTIATE_TEST_CASE_P ( DatabaseSource  ,
AllowUnknownDependenciesTest  ,
testing::Values(NO_DATABASE, FALLBACK_DATABASE  
)

◆ TEST() [1/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
OptionLocations   
)

◆ TEST() [2/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
OptionTypes   
)

◆ TEST() [3/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
ComplexExtensionOptions   
)

◆ TEST() [4/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
OptionsFromOtherFile   
)

◆ TEST() [5/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
MessageOptionThreeFieldsSet   
)

◆ TEST() [6/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
MessageOptionRepeatedLeafFieldSet   
)

◆ TEST() [7/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
MessageOptionRepeatedMsgFieldSet   
)

◆ TEST() [8/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
AggregateOptions   
)

◆ TEST() [9/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
UnusedImportWarning   
)

◆ TEST() [10/10]

google::protobuf::descriptor_unittest::TEST ( CustomOptions  ,
OptionsWithRequiredEnums   
)

◆ TEST_F() [1/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
Name   
)

◆ TEST_F() [2/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
Package   
)

◆ TEST_F() [3/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
Dependencies   
)

◆ TEST_F() [4/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindMessageTypeByName   
)

◆ TEST_F() [5/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindEnumTypeByName   
)

◆ TEST_F() [6/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindEnumValueByName   
)

◆ TEST_F() [7/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindServiceByName   
)

◆ TEST_F() [8/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindExtensionByName   
)

◆ TEST_F() [9/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
FindExtensionByNumber   
)

◆ TEST_F() [10/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
BuildAgain   
)

◆ TEST_F() [11/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
BuildAgainWithSyntax   
)

◆ TEST_F() [12/247]

google::protobuf::descriptor_unittest::TEST_F ( FileDescriptorTest  ,
Syntax   
)

◆ TEST_F() [13/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
Name   
)

◆ TEST_F() [14/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
ContainingType   
)

◆ TEST_F() [15/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldsByIndex   
)

◆ TEST_F() [16/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FindFieldByName   
)

◆ TEST_F() [17/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FindFieldByNumber   
)

◆ TEST_F() [18/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldName   
)

◆ TEST_F() [19/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldFullName   
)

◆ TEST_F() [20/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldJsonName   
)

◆ TEST_F() [21/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldFile   
)

◆ TEST_F() [22/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldIndex   
)

◆ TEST_F() [23/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldNumber   
)

◆ TEST_F() [24/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldType   
)

◆ TEST_F() [25/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldLabel   
)

◆ TEST_F() [26/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
IsMap   
)

◆ TEST_F() [27/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldHasDefault   
)

◆ TEST_F() [28/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldContainingType   
)

◆ TEST_F() [29/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldMessageType   
)

◆ TEST_F() [30/247]

google::protobuf::descriptor_unittest::TEST_F ( DescriptorTest  ,
FieldEnumType   
)

◆ TEST_F() [31/247]

google::protobuf::descriptor_unittest::TEST_F ( OneofDescriptorTest  ,
Normal   
)

◆ TEST_F() [32/247]

google::protobuf::descriptor_unittest::TEST_F ( OneofDescriptorTest  ,
FindByName   
)

◆ TEST_F() [33/247]

google::protobuf::descriptor_unittest::TEST_F ( StylizedFieldNamesTest  ,
LowercaseName   
)

◆ TEST_F() [34/247]

google::protobuf::descriptor_unittest::TEST_F ( StylizedFieldNamesTest  ,
CamelcaseName   
)

◆ TEST_F() [35/247]

google::protobuf::descriptor_unittest::TEST_F ( StylizedFieldNamesTest  ,
FindByLowercaseName   
)

◆ TEST_F() [36/247]

google::protobuf::descriptor_unittest::TEST_F ( StylizedFieldNamesTest  ,
FindByCamelcaseName   
)

◆ TEST_F() [37/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
Name   
)

◆ TEST_F() [38/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ContainingType   
)

◆ TEST_F() [39/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValuesByIndex   
)

◆ TEST_F() [40/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
FindValueByName   
)

◆ TEST_F() [41/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
FindValueByNumber   
)

◆ TEST_F() [42/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValueName   
)

◆ TEST_F() [43/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValueFullName   
)

◆ TEST_F() [44/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValueIndex   
)

◆ TEST_F() [45/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValueNumber   
)

◆ TEST_F() [46/247]

google::protobuf::descriptor_unittest::TEST_F ( EnumDescriptorTest  ,
ValueType   
)

◆ TEST_F() [47/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
Name   
)

◆ TEST_F() [48/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodsByIndex   
)

◆ TEST_F() [49/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
FindMethodByName   
)

◆ TEST_F() [50/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodName   
)

◆ TEST_F() [51/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodFullName   
)

◆ TEST_F() [52/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodIndex   
)

◆ TEST_F() [53/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodParent   
)

◆ TEST_F() [54/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodInputType   
)

◆ TEST_F() [55/247]

google::protobuf::descriptor_unittest::TEST_F ( ServiceDescriptorTest  ,
MethodOutputType   
)

◆ TEST_F() [56/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
MessageName   
)

◆ TEST_F() [57/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
MessageContainingType   
)

◆ TEST_F() [58/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
NestedMessagesByIndex   
)

◆ TEST_F() [59/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
FindFieldByNameDoesntFindNestedTypes   
)

◆ TEST_F() [60/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
FindNestedTypeByName   
)

◆ TEST_F() [61/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
EnumName   
)

◆ TEST_F() [62/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
EnumContainingType   
)

◆ TEST_F() [63/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
NestedEnumsByIndex   
)

◆ TEST_F() [64/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
FindEnumTypeByName   
)

◆ TEST_F() [65/247]

google::protobuf::descriptor_unittest::TEST_F ( NestedDescriptorTest  ,
FindEnumValueByName   
)

◆ TEST_F() [66/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
ExtensionRanges   
)

◆ TEST_F() [67/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
Extensions   
)

◆ TEST_F() [68/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
IsExtensionNumber   
)

◆ TEST_F() [69/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
FindExtensionByName   
)

◆ TEST_F() [70/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
FindAllExtensions   
)

◆ TEST_F() [71/247]

google::protobuf::descriptor_unittest::TEST_F ( ExtensionDescriptorTest  ,
DuplicateFieldNumber   
)

◆ TEST_F() [72/247]

google::protobuf::descriptor_unittest::TEST_F ( ReservedDescriptorTest  ,
ReservedRanges   
)

◆ TEST_F() [73/247]

google::protobuf::descriptor_unittest::TEST_F ( ReservedDescriptorTest  ,
IsReservedNumber   
)

◆ TEST_F() [74/247]

google::protobuf::descriptor_unittest::TEST_F ( ReservedDescriptorTest  ,
ReservedNames   
)

◆ TEST_F() [75/247]

google::protobuf::descriptor_unittest::TEST_F ( ReservedDescriptorTest  ,
IsReservedName   
)

◆ TEST_F() [76/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
TypeNames   
)

◆ TEST_F() [77/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
StaticTypeNames   
)

◆ TEST_F() [78/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
CppTypes   
)

◆ TEST_F() [79/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
CppTypeNames   
)

◆ TEST_F() [80/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
StaticCppTypeNames   
)

◆ TEST_F() [81/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
MessageType   
)

◆ TEST_F() [82/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
EnumType   
)

◆ TEST_F() [83/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
DefaultValues   
)

◆ TEST_F() [84/247]

google::protobuf::descriptor_unittest::TEST_F ( MiscTest  ,
FieldOptions   
)

◆ TEST_F() [85/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AlreadyDefined   
)

◆ TEST_F() [86/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AlreadyDefinedInPackage   
)

◆ TEST_F() [87/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AlreadyDefinedInOtherFile   
)

◆ TEST_F() [88/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
PackageAlreadyDefined   
)

◆ TEST_F() [89/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumValueAlreadyDefinedInParent   
)

◆ TEST_F() [90/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumValueAlreadyDefinedInParentNonGlobal   
)

◆ TEST_F() [91/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MissingName   
)

◆ TEST_F() [92/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InvalidName   
)

◆ TEST_F() [93/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InvalidPackageName   
)

◆ TEST_F() [94/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MissingFileName   
)

◆ TEST_F() [95/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DupeDependency   
)

◆ TEST_F() [96/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UnknownDependency   
)

◆ TEST_F() [97/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InvalidPublicDependencyIndex   
)

◆ TEST_F() [98/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ForeignUnimportedPackageNoCrash   
)

◆ TEST_F() [99/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DupeFile   
)

◆ TEST_F() [100/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldInExtensionRange   
)

◆ TEST_F() [101/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OverlappingExtensionRanges   
)

◆ TEST_F() [102/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedFieldError   
)

◆ TEST_F() [103/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedExtensionRangeError   
)

◆ TEST_F() [104/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedExtensionRangeAdjacent   
)

◆ TEST_F() [105/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedRangeOverlap   
)

◆ TEST_F() [106/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedNameError   
)

◆ TEST_F() [107/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedNameRedundant   
)

◆ TEST_F() [108/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedFieldsDebugString   
)

◆ TEST_F() [109/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InvalidDefaults   
)

◆ TEST_F() [110/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NegativeFieldNumber   
)

◆ TEST_F() [111/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
HugeFieldNumber   
)

◆ TEST_F() [112/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ReservedFieldNumber   
)

◆ TEST_F() [113/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ExtensionMissingExtendee   
)

◆ TEST_F() [114/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NonExtensionWithExtendee   
)

◆ TEST_F() [115/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldOneofIndexTooLarge   
)

◆ TEST_F() [116/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldOneofIndexNegative   
)

◆ TEST_F() [117/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OneofFieldsConsecutiveDefinition   
)

◆ TEST_F() [118/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldNumberConflict   
)

◆ TEST_F() [119/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
BadMessageSetExtensionType   
)

◆ TEST_F() [120/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
BadMessageSetExtensionLabel   
)

◆ TEST_F() [121/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldInMessageSet   
)

◆ TEST_F() [122/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NegativeExtensionRangeNumber   
)

◆ TEST_F() [123/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
HugeExtensionRangeNumber   
)

◆ TEST_F() [124/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ExtensionRangeEndBeforeStart   
)

◆ TEST_F() [125/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EmptyEnum   
)

◆ TEST_F() [126/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UndefinedExtendee   
)

◆ TEST_F() [127/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NonMessageExtendee   
)

◆ TEST_F() [128/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NotAnExtensionNumber   
)

◆ TEST_F() [129/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
RequiredExtension   
)

◆ TEST_F() [130/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UndefinedFieldType   
)

◆ TEST_F() [131/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UndefinedFieldTypeWithDefault   
)

◆ TEST_F() [132/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UndefinedNestedFieldType   
)

◆ TEST_F() [133/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeDefinedInUndeclaredDependency   
)

◆ TEST_F() [134/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeDefinedInIndirectDependency   
)

◆ TEST_F() [135/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeDefinedInPublicDependency   
)

◆ TEST_F() [136/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeDefinedInTransitivePublicDependency   
)

◆ TEST_F() [137/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeDefinedInPrivateDependencyOfPublicDependency   
)

◆ TEST_F() [138/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
SearchMostLocalFirst   
)

◆ TEST_F() [139/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
SearchMostLocalFirst2   
)

◆ TEST_F() [140/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
PackageOriginallyDeclaredInTransitiveDependent   
)

◆ TEST_F() [141/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeNotAType   
)

◆ TEST_F() [142/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
RelativeFieldTypeNotAType   
)

◆ TEST_F() [143/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FieldTypeMayBeItsName   
)

◆ TEST_F() [144/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumFieldTypeIsMessage   
)

◆ TEST_F() [145/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MessageFieldTypeIsEnum   
)

◆ TEST_F() [146/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
BadEnumDefaultValue   
)

◆ TEST_F() [147/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumDefaultValueIsInteger   
)

◆ TEST_F() [148/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
PrimitiveWithTypeName   
)

◆ TEST_F() [149/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NonPrimitiveWithoutTypeName   
)

◆ TEST_F() [150/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OneofWithNoFields   
)

◆ TEST_F() [151/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OneofLabelMismatch   
)

◆ TEST_F() [152/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InputTypeNotDefined   
)

◆ TEST_F() [153/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InputTypeNotAMessage   
)

◆ TEST_F() [154/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OutputTypeNotDefined   
)

◆ TEST_F() [155/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OutputTypeNotAMessage   
)

◆ TEST_F() [156/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
IllegalPackedField   
)

◆ TEST_F() [157/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OptionWrongType   
)

◆ TEST_F() [158/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
OptionExtendsAtomicType   
)

◆ TEST_F() [159/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DupOption   
)

◆ TEST_F() [160/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
InvalidOptionName   
)

◆ TEST_F() [161/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
RepeatedMessageOption   
)

◆ TEST_F() [162/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ResolveUndefinedOption   
)

◆ TEST_F() [163/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UnknownOption   
)

◆ TEST_F() [164/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
CustomOptionConflictingFieldNumber   
)

◆ TEST_F() [165/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Int32OptionValueOutOfPositiveRange   
)

◆ TEST_F() [166/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Int32OptionValueOutOfNegativeRange   
)

◆ TEST_F() [167/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Int32OptionValueIsNotPositiveInt   
)

◆ TEST_F() [168/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Int64OptionValueOutOfRange   
)

◆ TEST_F() [169/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Int64OptionValueIsNotPositiveInt   
)

◆ TEST_F() [170/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UInt32OptionValueOutOfRange   
)

◆ TEST_F() [171/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UInt32OptionValueIsNotPositiveInt   
)

◆ TEST_F() [172/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UInt64OptionValueIsNotPositiveInt   
)

◆ TEST_F() [173/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
FloatOptionValueIsNotNumber   
)

◆ TEST_F() [174/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DoubleOptionValueIsNotNumber   
)

◆ TEST_F() [175/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
BoolOptionValueIsNotTrueOrFalse   
)

◆ TEST_F() [176/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumOptionValueIsNotIdentifier   
)

◆ TEST_F() [177/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumOptionValueIsNotEnumValueName   
)

◆ TEST_F() [178/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
EnumOptionValueIsSiblingEnumValueName   
)

◆ TEST_F() [179/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
StringOptionValueIsNotString   
)

◆ TEST_F() [180/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DuplicateExtensionFieldNumber   
)

◆ TEST_F() [181/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AggregateValueNotFound   
)

◆ TEST_F() [182/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AggregateValueParseError   
)

◆ TEST_F() [183/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AggregateValueUnknownFields   
)

◆ TEST_F() [184/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NotLiteImportsLite   
)

◆ TEST_F() [185/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
LiteExtendsNotLite   
)

◆ TEST_F() [186/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
NoLiteServices   
)

◆ TEST_F() [187/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
RollbackAfterError   
)

◆ TEST_F() [188/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ErrorsReportedToLogError   
)

◆ TEST_F() [189/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
DisallowEnumAlias   
)

◆ TEST_F() [190/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
AllowEnumAlias   
)

◆ TEST_F() [191/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
UnusedImportWarning   
)

◆ TEST_F() [192/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryBase   
)

◆ TEST_F() [193/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryExtensionRange   
)

◆ TEST_F() [194/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryExtension   
)

◆ TEST_F() [195/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryNestedType   
)

◆ TEST_F() [196/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryEnumTypes   
)

◆ TEST_F() [197/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryExtraField   
)

◆ TEST_F() [198/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryMessageName   
)

◆ TEST_F() [199/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryNoneRepeatedMapEntry   
)

◆ TEST_F() [200/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryDifferentContainingType   
)

◆ TEST_F() [201/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyName   
)

◆ TEST_F() [202/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyLabel   
)

◆ TEST_F() [203/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyNumber   
)

◆ TEST_F() [204/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryValueName   
)

◆ TEST_F() [205/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryValueLabel   
)

◆ TEST_F() [206/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryValueNumber   
)

◆ TEST_F() [207/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyTypeFloat   
)

◆ TEST_F() [208/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyTypeDouble   
)

◆ TEST_F() [209/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyTypeBytes   
)

◆ TEST_F() [210/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyTypeEnum   
)

◆ TEST_F() [211/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryKeyTypeMessage   
)

◆ TEST_F() [212/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryConflictsWithField   
)

◆ TEST_F() [213/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryConflictsWithMessage   
)

◆ TEST_F() [214/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryConflictsWithEnum   
)

◆ TEST_F() [215/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryConflictsWithOneof   
)

◆ TEST_F() [216/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
MapEntryUsesNoneZeroEnumDefaultValue   
)

◆ TEST_F() [217/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
Proto3RequiredFields   
)

◆ TEST_F() [218/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3DefaultValue   
)

◆ TEST_F() [219/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3ExtensionRange   
)

◆ TEST_F() [220/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3MessageSetWireFormat   
)

◆ TEST_F() [221/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3Enum   
)

◆ TEST_F() [222/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3Group   
)

◆ TEST_F() [223/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3EnumFromProto2   
)

◆ TEST_F() [224/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3Extension   
)

◆ TEST_F() [225/247]

google::protobuf::descriptor_unittest::TEST_F ( ValidationErrorTest  ,
ValidateProto3JsonName   
)

◆ TEST_F() [226/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindFileByName   
)

◆ TEST_F() [227/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindDependencyBeforeDependent   
)

◆ TEST_F() [228/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindDependentBeforeDependency   
)

◆ TEST_F() [229/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindFileContainingSymbol   
)

◆ TEST_F() [230/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindMessageTypeByName   
)

◆ TEST_F() [231/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindExtensionByNumber   
)

◆ TEST_F() [232/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
FindAllExtensions   
)

◆ TEST_F() [233/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
ErrorWithoutErrorCollector   
)

◆ TEST_F() [234/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
ErrorWithErrorCollector   
)

◆ TEST_F() [235/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
UndeclaredDependencyOnUnbuiltType   
)

◆ TEST_F() [236/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
RollbackAfterError   
)

◆ TEST_F() [237/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
UnittestProto   
)

◆ TEST_F() [238/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
DoesntRetryDbUnnecessarily   
)

◆ TEST_F() [239/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
DoesntReloadFilesUncesessarily   
)

◆ TEST_F() [240/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
DoesntReloadKnownBadFiles   
)

◆ TEST_F() [241/247]

google::protobuf::descriptor_unittest::TEST_F ( DatabaseBackedPoolTest  ,
DoesntFallbackOnWrongType   
)

◆ TEST_F() [242/247]

google::protobuf::descriptor_unittest::TEST_F ( SourceLocationTest  ,
GetSourceLocation   
)

◆ TEST_F() [243/247]

google::protobuf::descriptor_unittest::TEST_F ( SourceLocationTest  ,
ExtensionSourceLocation   
)

◆ TEST_F() [244/247]

google::protobuf::descriptor_unittest::TEST_F ( SourceLocationTest  ,
GetSourceLocation_MissingSourceCodeInfo   
)

◆ TEST_F() [245/247]

google::protobuf::descriptor_unittest::TEST_F ( SourceLocationTest  ,
GetSourceLocation_BogusSourceCodeInfo   
)

◆ TEST_F() [246/247]

google::protobuf::descriptor_unittest::TEST_F ( CopySourceCodeInfoToTest  ,
CopyTo_DoesNotCopySourceCodeInfo   
)

◆ TEST_F() [247/247]

google::protobuf::descriptor_unittest::TEST_F ( CopySourceCodeInfoToTest  ,
CopySourceCodeInfoTo   
)

◆ TEST_P() [1/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
PlaceholderFile   
)

◆ TEST_P() [2/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
PlaceholderTypes   
)

◆ TEST_P() [3/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
CopyTo   
)

◆ TEST_P() [4/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
CustomOptions   
)

◆ TEST_P() [5/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
UnknownExtendee   
)

◆ TEST_P() [6/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
CustomOption   
)

◆ TEST_P() [7/7]

google::protobuf::descriptor_unittest::TEST_P ( AllowUnknownDependenciesTest  ,
UndeclaredDependencyTriggersBuildOfDependency   
)

Variable Documentation

◆ kCopySourceCodeInfoToTestInput

const char* const google::protobuf::descriptor_unittest::kCopySourceCodeInfoToTestInput
Initial value:
=
"syntax = \"proto2\";\n"
"message Foo {}\n"

◆ kSourceLocationTestInput

const char* const google::protobuf::descriptor_unittest::kSourceLocationTestInput
Initial value:
=
"syntax = \"proto2\";\n"
"message A {\n"
" optional int32 a = 1;\n"
" message B {\n"
" required double b = 1;\n"
" }\n"
"}\n"
"enum Indecision {\n"
" YES = 1;\n"
" NO = 2;\n"
" MAYBE = 3;\n"
"}\n"
"service S {\n"
" rpc Method(A) returns (A.B);\n"
"\n"
"}\n"
"message MessageWithExtensions {\n"
" extensions 1000 to max;\n"
"}\n"
"extend MessageWithExtensions {\n"
" optional int32 int32_extension = 1001;\n"
"}\n"
"message C {\n"
" extend MessageWithExtensions {\n"
" optional C message_extension = 1002;\n"
" }\n"
"}\n"