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  LazilyBuildDependenciesTest
 
class  MiscTest
 
class  MockErrorCollector
 
class  NestedDescriptorTest
 
class  OneofDescriptorTest
 
class  ReservedDescriptorTest
 
class  ReservedEnumDescriptorTest
 
class  ServiceDescriptorTest
 
class  SimpleErrorCollector
 
class  SingletonSourceTree
 
class  SourceLocationTest
 
class  StylizedFieldNamesTest
 
class  ValidationErrorTest
 

Enumerations

enum  DescriptorPoolMode { NO_DATABASE, FALLBACK_DATABASE }
 

Functions

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

Variables

const char *const kCopySourceCodeInfoToTestInput
 
const char *const kSourceLocationTestInput
 

Enumeration Type Documentation

◆ DescriptorPoolMode

Enumerator
NO_DATABASE 
FALLBACK_DATABASE 

Definition at line 2653 of file descriptor_unittest.cc.

Function Documentation

◆ AddEmptyEnum()

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

Definition at line 193 of file descriptor_unittest.cc.

◆ AddEnum()

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

Definition at line 88 of file descriptor_unittest.cc.

◆ AddEnumValue()

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

Definition at line 172 of file descriptor_unittest.cc.

◆ AddExtension()

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

Definition at line 120 of file descriptor_unittest.cc.

◆ AddExtensionRange()

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

Definition at line 148 of file descriptor_unittest.cc.

◆ AddField()

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

Definition at line 109 of file descriptor_unittest.cc.

◆ AddMessage()

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

Definition at line 74 of file descriptor_unittest.cc.

◆ AddMethod()

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

Definition at line 180 of file descriptor_unittest.cc.

◆ AddNestedEnum()

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

Definition at line 95 of file descriptor_unittest.cc.

◆ AddNestedExtension()

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

Definition at line 134 of file descriptor_unittest.cc.

◆ AddNestedMessage()

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

Definition at line 81 of file descriptor_unittest.cc.

◆ AddReservedRange() [1/2]

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

Definition at line 156 of file descriptor_unittest.cc.

◆ AddReservedRange() [2/2]

EnumDescriptorProto::EnumReservedRange* google::protobuf::descriptor_unittest::AddReservedRange ( EnumDescriptorProto parent,
int  start,
int  end 
)

Definition at line 164 of file descriptor_unittest.cc.

◆ AddService()

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

Definition at line 102 of file descriptor_unittest.cc.

◆ AddToDatabase()

static void google::protobuf::descriptor_unittest::AddToDatabase ( SimpleDescriptorDatabase database,
const char *  file_text 
)
static

Definition at line 6505 of file descriptor_unittest.cc.

◆ EmbedAggregateValue()

static std::string google::protobuf::descriptor_unittest::EmbedAggregateValue ( const char *  value)
static

Definition at line 5551 of file descriptor_unittest.cc.

◆ ExtractDebugString()

void google::protobuf::descriptor_unittest::ExtractDebugString ( const FileDescriptor file,
std::set< std::string > *  visited,
std::vector< std::pair< std::string, std::string >> *  debug_strings 
)

Definition at line 552 of file descriptor_unittest.cc.

◆ INSTANTIATE_TEST_SUITE_P()

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

◆ TEST() [1/11]

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

Definition at line 3421 of file descriptor_unittest.cc.

◆ TEST() [2/11]

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

Definition at line 3068 of file descriptor_unittest.cc.

◆ TEST() [3/11]

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

Definition at line 3535 of file descriptor_unittest.cc.

◆ TEST() [4/11]

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

Definition at line 3253 of file descriptor_unittest.cc.

◆ TEST() [5/11]

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

Definition at line 3333 of file descriptor_unittest.cc.

◆ TEST() [6/11]

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

Definition at line 3176 of file descriptor_unittest.cc.

◆ TEST() [7/11]

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

Definition at line 2977 of file descriptor_unittest.cc.

◆ TEST() [8/11]

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

Definition at line 3121 of file descriptor_unittest.cc.

◆ TEST() [9/11]

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

Definition at line 3486 of file descriptor_unittest.cc.

◆ TEST() [10/11]

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

Definition at line 3011 of file descriptor_unittest.cc.

◆ TEST() [11/11]

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

Definition at line 3460 of file descriptor_unittest.cc.

◆ TEST_F() [1/278]

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

Definition at line 7663 of file descriptor_unittest.cc.

◆ TEST_F() [2/278]

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

Definition at line 7653 of file descriptor_unittest.cc.

◆ TEST_F() [3/278]

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

Definition at line 6982 of file descriptor_unittest.cc.

◆ TEST_F() [4/278]

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

Definition at line 6874 of file descriptor_unittest.cc.

◆ TEST_F() [5/278]

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

Definition at line 6972 of file descriptor_unittest.cc.

◆ TEST_F() [6/278]

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

Definition at line 6829 of file descriptor_unittest.cc.

◆ TEST_F() [7/278]

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

Definition at line 6759 of file descriptor_unittest.cc.

◆ TEST_F() [8/278]

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

Definition at line 6744 of file descriptor_unittest.cc.

◆ TEST_F() [9/278]

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

Definition at line 6729 of file descriptor_unittest.cc.

◆ TEST_F() [10/278]

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

Definition at line 6655 of file descriptor_unittest.cc.

◆ TEST_F() [11/278]

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

Definition at line 6674 of file descriptor_unittest.cc.

◆ TEST_F() [12/278]

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

Definition at line 6715 of file descriptor_unittest.cc.

◆ TEST_F() [13/278]

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

Definition at line 6641 of file descriptor_unittest.cc.

◆ TEST_F() [14/278]

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

Definition at line 6693 of file descriptor_unittest.cc.

◆ TEST_F() [15/278]

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

Definition at line 6704 of file descriptor_unittest.cc.

◆ TEST_F() [16/278]

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

Definition at line 6788 of file descriptor_unittest.cc.

◆ TEST_F() [17/278]

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

Definition at line 6775 of file descriptor_unittest.cc.

◆ TEST_F() [18/278]

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

Definition at line 6802 of file descriptor_unittest.cc.

◆ TEST_F() [19/278]

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

Definition at line 812 of file descriptor_unittest.cc.

◆ TEST_F() [20/278]

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

Definition at line 1009 of file descriptor_unittest.cc.

◆ TEST_F() [21/278]

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

Definition at line 1028 of file descriptor_unittest.cc.

◆ TEST_F() [22/278]

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

Definition at line 945 of file descriptor_unittest.cc.

◆ TEST_F() [23/278]

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

Definition at line 867 of file descriptor_unittest.cc.

◆ TEST_F() [24/278]

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

Definition at line 1002 of file descriptor_unittest.cc.

◆ TEST_F() [25/278]

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

Definition at line 956 of file descriptor_unittest.cc.

◆ TEST_F() [26/278]

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

Definition at line 906 of file descriptor_unittest.cc.

◆ TEST_F() [27/278]

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

Definition at line 977 of file descriptor_unittest.cc.

◆ TEST_F() [28/278]

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

Definition at line 1020 of file descriptor_unittest.cc.

◆ TEST_F() [29/278]

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

Definition at line 860 of file descriptor_unittest.cc.

◆ TEST_F() [30/278]

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

Definition at line 963 of file descriptor_unittest.cc.

◆ TEST_F() [31/278]

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

Definition at line 817 of file descriptor_unittest.cc.

◆ TEST_F() [32/278]

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

Definition at line 970 of file descriptor_unittest.cc.

◆ TEST_F() [33/278]

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

Definition at line 825 of file descriptor_unittest.cc.

◆ TEST_F() [34/278]

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

Definition at line 845 of file descriptor_unittest.cc.

◆ TEST_F() [35/278]

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

Definition at line 996 of file descriptor_unittest.cc.

◆ TEST_F() [36/278]

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

Definition at line 802 of file descriptor_unittest.cc.

◆ TEST_F() [37/278]

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

Definition at line 899 of file descriptor_unittest.cc.

◆ TEST_F() [38/278]

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

Definition at line 878 of file descriptor_unittest.cc.

◆ TEST_F() [39/278]

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

Definition at line 892 of file descriptor_unittest.cc.

◆ TEST_F() [40/278]

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

Definition at line 1386 of file descriptor_unittest.cc.

◆ TEST_F() [41/278]

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

Definition at line 1397 of file descriptor_unittest.cc.

◆ TEST_F() [42/278]

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

Definition at line 1408 of file descriptor_unittest.cc.

◆ TEST_F() [43/278]

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

Definition at line 1376 of file descriptor_unittest.cc.

◆ TEST_F() [44/278]

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

Definition at line 1424 of file descriptor_unittest.cc.

◆ TEST_F() [45/278]

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

Definition at line 1431 of file descriptor_unittest.cc.

◆ TEST_F() [46/278]

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

Definition at line 1419 of file descriptor_unittest.cc.

◆ TEST_F() [47/278]

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

Definition at line 1436 of file descriptor_unittest.cc.

◆ TEST_F() [48/278]

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

Definition at line 1391 of file descriptor_unittest.cc.

◆ TEST_F() [49/278]

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

Definition at line 1441 of file descriptor_unittest.cc.

◆ TEST_F() [50/278]

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

Definition at line 2017 of file descriptor_unittest.cc.

◆ TEST_F() [51/278]

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

Definition at line 1897 of file descriptor_unittest.cc.

◆ TEST_F() [52/278]

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

Definition at line 1908 of file descriptor_unittest.cc.

◆ TEST_F() [53/278]

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

Definition at line 2006 of file descriptor_unittest.cc.

◆ TEST_F() [54/278]

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

Definition at line 1964 of file descriptor_unittest.cc.

◆ TEST_F() [55/278]

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

Definition at line 1977 of file descriptor_unittest.cc.

◆ TEST_F() [56/278]

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

Definition at line 1953 of file descriptor_unittest.cc.

◆ TEST_F() [57/278]

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

Definition at line 481 of file descriptor_unittest.cc.

◆ TEST_F() [58/278]

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

Definition at line 493 of file descriptor_unittest.cc.

◆ TEST_F() [59/278]

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

Definition at line 578 of file descriptor_unittest.cc.

◆ TEST_F() [60/278]

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

Definition at line 407 of file descriptor_unittest.cc.

◆ TEST_F() [61/278]

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

Definition at line 425 of file descriptor_unittest.cc.

◆ TEST_F() [62/278]

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

Definition at line 437 of file descriptor_unittest.cc.

◆ TEST_F() [63/278]

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

Definition at line 461 of file descriptor_unittest.cc.

◆ TEST_F() [64/278]

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

Definition at line 473 of file descriptor_unittest.cc.

◆ TEST_F() [65/278]

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

Definition at line 413 of file descriptor_unittest.cc.

◆ TEST_F() [66/278]

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

Definition at line 449 of file descriptor_unittest.cc.

◆ TEST_F() [67/278]

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

Definition at line 396 of file descriptor_unittest.cc.

◆ TEST_F() [68/278]

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

Definition at line 402 of file descriptor_unittest.cc.

◆ TEST_F() [69/278]

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

Definition at line 524 of file descriptor_unittest.cc.

◆ TEST_F() [70/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Dependency   
)

Definition at line 8001 of file descriptor_unittest.cc.

◆ TEST_F() [71/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Enum   
)

Definition at line 7778 of file descriptor_unittest.cc.

◆ TEST_F() [72/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Extension   
)

Definition at line 7876 of file descriptor_unittest.cc.

◆ TEST_F() [73/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
GeneratedFile   
)

Definition at line 7945 of file descriptor_unittest.cc.

◆ TEST_F() [74/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Message   
)

Definition at line 7738 of file descriptor_unittest.cc.

◆ TEST_F() [75/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Service   
)

Definition at line 7908 of file descriptor_unittest.cc.

◆ TEST_F() [76/278]

google::protobuf::descriptor_unittest::TEST_F ( LazilyBuildDependenciesTest  ,
Type   
)

Definition at line 7815 of file descriptor_unittest.cc.

◆ TEST_F() [77/278]

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

Definition at line 2400 of file descriptor_unittest.cc.

◆ TEST_F() [78/278]

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

Definition at line 2375 of file descriptor_unittest.cc.

◆ TEST_F() [79/278]

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

Definition at line 2492 of file descriptor_unittest.cc.

◆ TEST_F() [80/278]

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

Definition at line 2467 of file descriptor_unittest.cc.

◆ TEST_F() [81/278]

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

Definition at line 2615 of file descriptor_unittest.cc.

◆ TEST_F() [82/278]

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

Definition at line 2442 of file descriptor_unittest.cc.

◆ TEST_F() [83/278]

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

Definition at line 2425 of file descriptor_unittest.cc.

◆ TEST_F() [84/278]

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

Definition at line 2350 of file descriptor_unittest.cc.

◆ TEST_F() [85/278]

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

Definition at line 2325 of file descriptor_unittest.cc.

◆ TEST_F() [86/278]

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

Definition at line 1784 of file descriptor_unittest.cc.

◆ TEST_F() [87/278]

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

Definition at line 1772 of file descriptor_unittest.cc.

◆ TEST_F() [88/278]

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

Definition at line 1797 of file descriptor_unittest.cc.

◆ TEST_F() [89/278]

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

Definition at line 1810 of file descriptor_unittest.cc.

◆ TEST_F() [90/278]

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

Definition at line 1752 of file descriptor_unittest.cc.

◆ TEST_F() [91/278]

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

Definition at line 1759 of file descriptor_unittest.cc.

◆ TEST_F() [92/278]

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

Definition at line 1739 of file descriptor_unittest.cc.

◆ TEST_F() [93/278]

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

Definition at line 1727 of file descriptor_unittest.cc.

◆ TEST_F() [94/278]

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

Definition at line 1791 of file descriptor_unittest.cc.

◆ TEST_F() [95/278]

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

Definition at line 1746 of file descriptor_unittest.cc.

◆ TEST_F() [96/278]

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

Definition at line 1123 of file descriptor_unittest.cc.

◆ TEST_F() [97/278]

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

Definition at line 1111 of file descriptor_unittest.cc.

◆ TEST_F() [98/278]

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

Definition at line 2123 of file descriptor_unittest.cc.

◆ TEST_F() [99/278]

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

Definition at line 2101 of file descriptor_unittest.cc.

◆ TEST_F() [100/278]

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

Definition at line 2116 of file descriptor_unittest.cc.

◆ TEST_F() [101/278]

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

Definition at line 2088 of file descriptor_unittest.cc.

◆ TEST_F() [102/278]

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

Definition at line 2254 of file descriptor_unittest.cc.

◆ TEST_F() [103/278]

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

Definition at line 2214 of file descriptor_unittest.cc.

◆ TEST_F() [104/278]

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

Definition at line 2247 of file descriptor_unittest.cc.

◆ TEST_F() [105/278]

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

Definition at line 2187 of file descriptor_unittest.cc.

◆ TEST_F() [106/278]

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

Definition at line 1566 of file descriptor_unittest.cc.

◆ TEST_F() [107/278]

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

Definition at line 1582 of file descriptor_unittest.cc.

◆ TEST_F() [108/278]

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

Definition at line 1589 of file descriptor_unittest.cc.

◆ TEST_F() [109/278]

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

Definition at line 1599 of file descriptor_unittest.cc.

◆ TEST_F() [110/278]

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

Definition at line 1577 of file descriptor_unittest.cc.

◆ TEST_F() [111/278]

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

Definition at line 1604 of file descriptor_unittest.cc.

◆ TEST_F() [112/278]

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

Definition at line 1594 of file descriptor_unittest.cc.

◆ TEST_F() [113/278]

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

Definition at line 1560 of file descriptor_unittest.cc.

◆ TEST_F() [114/278]

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

Definition at line 1550 of file descriptor_unittest.cc.

◆ TEST_F() [115/278]

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

Definition at line 7196 of file descriptor_unittest.cc.

◆ TEST_F() [116/278]

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

Definition at line 7164 of file descriptor_unittest.cc.

◆ TEST_F() [117/278]

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

Definition at line 7604 of file descriptor_unittest.cc.

◆ TEST_F() [118/278]

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

Definition at line 7586 of file descriptor_unittest.cc.

◆ TEST_F() [119/278]

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

Definition at line 7216 of file descriptor_unittest.cc.

◆ TEST_F() [120/278]

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

Definition at line 1220 of file descriptor_unittest.cc.

◆ TEST_F() [121/278]

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

Definition at line 1269 of file descriptor_unittest.cc.

◆ TEST_F() [122/278]

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

Definition at line 1240 of file descriptor_unittest.cc.

◆ TEST_F() [123/278]

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

Definition at line 1200 of file descriptor_unittest.cc.

◆ TEST_F() [124/278]

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

Definition at line 5565 of file descriptor_unittest.cc.

◆ TEST_F() [125/278]

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

Definition at line 5576 of file descriptor_unittest.cc.

◆ TEST_F() [126/278]

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

Definition at line 5585 of file descriptor_unittest.cc.

◆ TEST_F() [127/278]

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

Definition at line 5740 of file descriptor_unittest.cc.

◆ TEST_F() [128/278]

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

Definition at line 3668 of file descriptor_unittest.cc.

◆ TEST_F() [129/278]

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

Definition at line 3688 of file descriptor_unittest.cc.

◆ TEST_F() [130/278]

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

Definition at line 3677 of file descriptor_unittest.cc.

◆ TEST_F() [131/278]

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

Definition at line 4916 of file descriptor_unittest.cc.

◆ TEST_F() [132/278]

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

Definition at line 4388 of file descriptor_unittest.cc.

◆ TEST_F() [133/278]

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

Definition at line 4370 of file descriptor_unittest.cc.

◆ TEST_F() [134/278]

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

Definition at line 5416 of file descriptor_unittest.cc.

◆ TEST_F() [135/278]

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

Definition at line 5237 of file descriptor_unittest.cc.

◆ TEST_F() [136/278]

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

Definition at line 5726 of file descriptor_unittest.cc.

◆ TEST_F() [137/278]

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

Definition at line 5400 of file descriptor_unittest.cc.

◆ TEST_F() [138/278]

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

Definition at line 3770 of file descriptor_unittest.cc.

◆ TEST_F() [139/278]

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

Definition at line 3824 of file descriptor_unittest.cc.

◆ TEST_F() [140/278]

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

Definition at line 5529 of file descriptor_unittest.cc.

◆ TEST_F() [141/278]

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

Definition at line 5114 of file descriptor_unittest.cc.

◆ TEST_F() [142/278]

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

Definition at line 4458 of file descriptor_unittest.cc.

◆ TEST_F() [143/278]

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

Definition at line 4930 of file descriptor_unittest.cc.

◆ TEST_F() [144/278]

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

Definition at line 4890 of file descriptor_unittest.cc.

◆ TEST_F() [145/278]

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

Definition at line 4045 of file descriptor_unittest.cc.

◆ TEST_F() [146/278]

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

Definition at line 4059 of file descriptor_unittest.cc.

◆ TEST_F() [147/278]

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

Definition at line 3991 of file descriptor_unittest.cc.

◆ TEST_F() [148/278]

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

Definition at line 4031 of file descriptor_unittest.cc.

◆ TEST_F() [149/278]

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

Definition at line 5451 of file descriptor_unittest.cc.

◆ TEST_F() [150/278]

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

Definition at line 5432 of file descriptor_unittest.cc.

◆ TEST_F() [151/278]

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

Definition at line 5470 of file descriptor_unittest.cc.

◆ TEST_F() [152/278]

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

Definition at line 3979 of file descriptor_unittest.cc.

◆ TEST_F() [153/278]

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

Definition at line 4114 of file descriptor_unittest.cc.

◆ TEST_F() [154/278]

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

Definition at line 4086 of file descriptor_unittest.cc.

◆ TEST_F() [155/278]

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

Definition at line 4101 of file descriptor_unittest.cc.

◆ TEST_F() [156/278]

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

Definition at line 4003 of file descriptor_unittest.cc.

◆ TEST_F() [157/278]

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

Definition at line 4017 of file descriptor_unittest.cc.

◆ TEST_F() [158/278]

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

Definition at line 4073 of file descriptor_unittest.cc.

◆ TEST_F() [159/278]

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

Definition at line 3713 of file descriptor_unittest.cc.

◆ TEST_F() [160/278]

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

Definition at line 3726 of file descriptor_unittest.cc.

◆ TEST_F() [161/278]

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

Definition at line 6134 of file descriptor_unittest.cc.

◆ TEST_F() [162/278]

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

Definition at line 6106 of file descriptor_unittest.cc.

◆ TEST_F() [163/278]

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

Definition at line 5701 of file descriptor_unittest.cc.

◆ TEST_F() [164/278]

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

Definition at line 4233 of file descriptor_unittest.cc.

◆ TEST_F() [165/278]

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

Definition at line 4443 of file descriptor_unittest.cc.

◆ TEST_F() [166/278]

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

Definition at line 3841 of file descriptor_unittest.cc.

◆ TEST_F() [167/278]

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

Definition at line 4407 of file descriptor_unittest.cc.

◆ TEST_F() [168/278]

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

Definition at line 4357 of file descriptor_unittest.cc.

◆ TEST_F() [169/278]

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

Definition at line 4279 of file descriptor_unittest.cc.

◆ TEST_F() [170/278]

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

Definition at line 4263 of file descriptor_unittest.cc.

◆ TEST_F() [171/278]

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

Definition at line 4599 of file descriptor_unittest.cc.

◆ TEST_F() [172/278]

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

Definition at line 4710 of file descriptor_unittest.cc.

◆ TEST_F() [173/278]

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

Definition at line 4634 of file descriptor_unittest.cc.

◆ TEST_F() [174/278]

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

Definition at line 4669 of file descriptor_unittest.cc.

◆ TEST_F() [175/278]

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

Definition at line 4583 of file descriptor_unittest.cc.

◆ TEST_F() [176/278]

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

Definition at line 4878 of file descriptor_unittest.cc.

◆ TEST_F() [177/278]

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

Definition at line 4850 of file descriptor_unittest.cc.

◆ TEST_F() [178/278]

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

Definition at line 5384 of file descriptor_unittest.cc.

◆ TEST_F() [179/278]

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

Definition at line 3798 of file descriptor_unittest.cc.

◆ TEST_F() [180/278]

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

Definition at line 4431 of file descriptor_unittest.cc.

◆ TEST_F() [181/278]

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

Definition at line 4199 of file descriptor_unittest.cc.

◆ TEST_F() [182/278]

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

Definition at line 5048 of file descriptor_unittest.cc.

◆ TEST_F() [183/278]

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

Definition at line 5006 of file descriptor_unittest.cc.

◆ TEST_F() [184/278]

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

Definition at line 4993 of file descriptor_unittest.cc.

◆ TEST_F() [185/278]

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

Definition at line 5286 of file descriptor_unittest.cc.

◆ TEST_F() [186/278]

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

Definition at line 5269 of file descriptor_unittest.cc.

◆ TEST_F() [187/278]

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

Definition at line 5252 of file descriptor_unittest.cc.

◆ TEST_F() [188/278]

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

Definition at line 5320 of file descriptor_unittest.cc.

◆ TEST_F() [189/278]

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

Definition at line 5302 of file descriptor_unittest.cc.

◆ TEST_F() [190/278]

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

Definition at line 4139 of file descriptor_unittest.cc.

◆ TEST_F() [191/278]

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

Definition at line 3748 of file descriptor_unittest.cc.

◆ TEST_F() [192/278]

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

Definition at line 5134 of file descriptor_unittest.cc.

◆ TEST_F() [193/278]

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

Definition at line 3756 of file descriptor_unittest.cc.

◆ TEST_F() [194/278]

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

Definition at line 3789 of file descriptor_unittest.cc.

◆ TEST_F() [195/278]

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

Definition at line 5509 of file descriptor_unittest.cc.

◆ TEST_F() [196/278]

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

Definition at line 5608 of file descriptor_unittest.cc.

◆ TEST_F() [197/278]

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

Definition at line 5834 of file descriptor_unittest.cc.

◆ TEST_F() [198/278]

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

Definition at line 6089 of file descriptor_unittest.cc.

◆ TEST_F() [199/278]

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

Definition at line 6053 of file descriptor_unittest.cc.

◆ TEST_F() [200/278]

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

Definition at line 6073 of file descriptor_unittest.cc.

◆ TEST_F() [201/278]

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

Definition at line 6203 of file descriptor_unittest.cc.

◆ TEST_F() [202/278]

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

Definition at line 5917 of file descriptor_unittest.cc.

◆ TEST_F() [203/278]

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

Definition at line 5873 of file descriptor_unittest.cc.

◆ TEST_F() [204/278]

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

Definition at line 5851 of file descriptor_unittest.cc.

◆ TEST_F() [205/278]

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

Definition at line 5840 of file descriptor_unittest.cc.

◆ TEST_F() [206/278]

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

Definition at line 5885 of file descriptor_unittest.cc.

◆ TEST_F() [207/278]

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

Definition at line 5937 of file descriptor_unittest.cc.

◆ TEST_F() [208/278]

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

Definition at line 5927 of file descriptor_unittest.cc.

◆ TEST_F() [209/278]

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

Definition at line 5947 of file descriptor_unittest.cc.

◆ TEST_F() [210/278]

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

Definition at line 6007 of file descriptor_unittest.cc.

◆ TEST_F() [211/278]

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

Definition at line 5997 of file descriptor_unittest.cc.

◆ TEST_F() [212/278]

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

Definition at line 6017 of file descriptor_unittest.cc.

◆ TEST_F() [213/278]

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

Definition at line 5987 of file descriptor_unittest.cc.

◆ TEST_F() [214/278]

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

Definition at line 6042 of file descriptor_unittest.cc.

◆ TEST_F() [215/278]

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

Definition at line 5899 of file descriptor_unittest.cc.

◆ TEST_F() [216/278]

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

Definition at line 5862 of file descriptor_unittest.cc.

◆ TEST_F() [217/278]

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

Definition at line 5909 of file descriptor_unittest.cc.

◆ TEST_F() [218/278]

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

Definition at line 6227 of file descriptor_unittest.cc.

◆ TEST_F() [219/278]

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

Definition at line 5967 of file descriptor_unittest.cc.

◆ TEST_F() [220/278]

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

Definition at line 5957 of file descriptor_unittest.cc.

◆ TEST_F() [221/278]

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

Definition at line 5977 of file descriptor_unittest.cc.

◆ TEST_F() [222/278]

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

Definition at line 4903 of file descriptor_unittest.cc.

◆ TEST_F() [223/278]

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

Definition at line 3764 of file descriptor_unittest.cc.

◆ TEST_F() [224/278]

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

Definition at line 3740 of file descriptor_unittest.cc.

◆ TEST_F() [225/278]

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

Definition at line 4420 of file descriptor_unittest.cc.

◆ TEST_F() [226/278]

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

Definition at line 4187 of file descriptor_unittest.cc.

◆ TEST_F() [227/278]

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

Definition at line 5628 of file descriptor_unittest.cc.

◆ TEST_F() [228/278]

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

Definition at line 4246 of file descriptor_unittest.cc.

◆ TEST_F() [229/278]

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

Definition at line 4491 of file descriptor_unittest.cc.

◆ TEST_F() [230/278]

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

Definition at line 4956 of file descriptor_unittest.cc.

◆ TEST_F() [231/278]

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

Definition at line 4504 of file descriptor_unittest.cc.

◆ TEST_F() [232/278]

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

Definition at line 5594 of file descriptor_unittest.cc.

◆ TEST_F() [233/278]

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

Definition at line 4296 of file descriptor_unittest.cc.

◆ TEST_F() [234/278]

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

Definition at line 4979 of file descriptor_unittest.cc.

◆ TEST_F() [235/278]

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

Definition at line 4968 of file descriptor_unittest.cc.

◆ TEST_F() [236/278]

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

Definition at line 5095 of file descriptor_unittest.cc.

◆ TEST_F() [237/278]

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

Definition at line 5078 of file descriptor_unittest.cc.

◆ TEST_F() [238/278]

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

Definition at line 5033 of file descriptor_unittest.cc.

◆ TEST_F() [239/278]

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

Definition at line 5020 of file descriptor_unittest.cc.

◆ TEST_F() [240/278]

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

Definition at line 3863 of file descriptor_unittest.cc.

◆ TEST_F() [241/278]

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

Definition at line 3701 of file descriptor_unittest.cc.

◆ TEST_F() [242/278]

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

Definition at line 4809 of file descriptor_unittest.cc.

◆ TEST_F() [243/278]

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

Definition at line 4944 of file descriptor_unittest.cc.

◆ TEST_F() [244/278]

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

Definition at line 6256 of file descriptor_unittest.cc.

◆ TEST_F() [245/278]

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

Definition at line 4863 of file descriptor_unittest.cc.

◆ TEST_F() [246/278]

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

Definition at line 5153 of file descriptor_unittest.cc.

◆ TEST_F() [247/278]

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

Definition at line 4520 of file descriptor_unittest.cc.

◆ TEST_F() [248/278]

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

Definition at line 3905 of file descriptor_unittest.cc.

◆ TEST_F() [249/278]

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

Definition at line 3892 of file descriptor_unittest.cc.

◆ TEST_F() [250/278]

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

Definition at line 3879 of file descriptor_unittest.cc.

◆ TEST_F() [251/278]

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

Definition at line 4212 of file descriptor_unittest.cc.

◆ TEST_F() [252/278]

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

Definition at line 3959 of file descriptor_unittest.cc.

◆ TEST_F() [253/278]

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

Definition at line 3928 of file descriptor_unittest.cc.

◆ TEST_F() [254/278]

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

Definition at line 3947 of file descriptor_unittest.cc.

◆ TEST_F() [255/278]

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

Definition at line 3915 of file descriptor_unittest.cc.

◆ TEST_F() [256/278]

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

Definition at line 5176 of file descriptor_unittest.cc.

◆ TEST_F() [257/278]

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

Definition at line 5652 of file descriptor_unittest.cc.

◆ TEST_F() [258/278]

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

Definition at line 4757 of file descriptor_unittest.cc.

◆ TEST_F() [259/278]

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

Definition at line 4791 of file descriptor_unittest.cc.

◆ TEST_F() [260/278]

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

Definition at line 5492 of file descriptor_unittest.cc.

◆ TEST_F() [261/278]

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

Definition at line 5352 of file descriptor_unittest.cc.

◆ TEST_F() [262/278]

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

Definition at line 5336 of file descriptor_unittest.cc.

◆ TEST_F() [263/278]

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

Definition at line 5368 of file descriptor_unittest.cc.

◆ TEST_F() [264/278]

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

Definition at line 4479 of file descriptor_unittest.cc.

◆ TEST_F() [265/278]

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

Definition at line 4542 of file descriptor_unittest.cc.

◆ TEST_F() [266/278]

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

Definition at line 4553 of file descriptor_unittest.cc.

◆ TEST_F() [267/278]

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

Definition at line 4569 of file descriptor_unittest.cc.

◆ TEST_F() [268/278]

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

Definition at line 3780 of file descriptor_unittest.cc.

◆ TEST_F() [269/278]

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

Definition at line 5221 of file descriptor_unittest.cc.

◆ TEST_F() [270/278]

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

Definition at line 5751 of file descriptor_unittest.cc.

◆ TEST_F() [271/278]

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

Definition at line 6292 of file descriptor_unittest.cc.

◆ TEST_F() [272/278]

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

Definition at line 6358 of file descriptor_unittest.cc.

◆ TEST_F() [273/278]

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

Definition at line 6409 of file descriptor_unittest.cc.

◆ TEST_F() [274/278]

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

Definition at line 6435 of file descriptor_unittest.cc.

◆ TEST_F() [275/278]

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

Definition at line 6319 of file descriptor_unittest.cc.

◆ TEST_F() [276/278]

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

Definition at line 6392 of file descriptor_unittest.cc.

◆ TEST_F() [277/278]

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

Definition at line 6476 of file descriptor_unittest.cc.

◆ TEST_F() [278/278]

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

Definition at line 6346 of file descriptor_unittest.cc.

◆ TEST_P() [1/7]

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

Definition at line 2792 of file descriptor_unittest.cc.

◆ TEST_P() [2/7]

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

Definition at line 2848 of file descriptor_unittest.cc.

◆ TEST_P() [3/7]

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

Definition at line 2815 of file descriptor_unittest.cc.

◆ TEST_P() [4/7]

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

Definition at line 2747 of file descriptor_unittest.cc.

◆ TEST_P() [5/7]

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

Definition at line 2768 of file descriptor_unittest.cc.

◆ TEST_P() [6/7]

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

Definition at line 2901 of file descriptor_unittest.cc.

◆ TEST_P() [7/7]

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

Definition at line 2824 of file descriptor_unittest.cc.

Variable Documentation

◆ kCopySourceCodeInfoToTestInput

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

Definition at line 7631 of file descriptor_unittest.cc.

◆ kSourceLocationTestInput

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

Definition at line 7047 of file descriptor_unittest.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09