Classes | Namespaces | Macros | Enumerations | Functions
protobuf/src/google/protobuf/descriptor_unittest.cc File Reference
#include <limits>
#include <memory>
#include <vector>
#include <google/protobuf/any.pb.h>
#include <google/protobuf/compiler/importer.h>
#include <google/protobuf/compiler/parser.h>
#include <google/protobuf/unittest.pb.h>
#include <google/protobuf/unittest_custom_options.pb.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/stringprintf.h>
#include <google/protobuf/unittest_lazy_dependencies.pb.h>
#include <google/protobuf/unittest_proto3_arena.pb.h>
#include <google/protobuf/io/tokenizer.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/stubs/strutil.h>
#include <gmock/gmock.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/descriptor_unittest.cc:

Go to the source code of this file.

Classes

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

Namespaces

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

Macros

#define STATIC_STR(str)   std::string((str), sizeof(str) - 1)
 

Enumerations

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

Functions

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

Macro Definition Documentation

◆ STATIC_STR

#define STATIC_STR (   str)    std::string((str), sizeof(str) - 1)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:10