OsmAnd
Classes | Packages | Functions
jni/protobuf/google/protobuf/descriptor_unittest.cc File Reference
#include <vector>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor_database.h>
#include <google/protobuf/dynamic_message.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/unittest.pb.h>
#include <google/protobuf/unittest_custom_options.pb.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/testing/googletest.h>
#include <gtest/gtest.h>

Classes

class  google::protobuf::descriptor_unittest::FileDescriptorTest
class  google::protobuf::descriptor_unittest::DescriptorTest
class  google::protobuf::descriptor_unittest::StylizedFieldNamesTest
class  google::protobuf::descriptor_unittest::EnumDescriptorTest
class  google::protobuf::descriptor_unittest::ServiceDescriptorTest
class  google::protobuf::descriptor_unittest::NestedDescriptorTest
class  google::protobuf::descriptor_unittest::ExtensionDescriptorTest
class  google::protobuf::descriptor_unittest::MiscTest
class  google::protobuf::descriptor_unittest::AllowUnknownDependenciesTest
class  google::protobuf::descriptor_unittest::MockErrorCollector
class  google::protobuf::descriptor_unittest::ValidationErrorTest
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::ErrorDescriptorDatabase
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::CallCountingDatabase
class  google::protobuf::descriptor_unittest::DatabaseBackedPoolTest::FalsePositiveDatabase

Packages

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

Functions

DescriptorProto * google::protobuf::descriptor_unittest::AddMessage (FileDescriptorProto *file, const string &name)
DescriptorProto * google::protobuf::descriptor_unittest::AddNestedMessage (DescriptorProto *parent, const string &name)
EnumDescriptorProto * google::protobuf::descriptor_unittest::AddEnum (FileDescriptorProto *file, const string &name)
EnumDescriptorProto * google::protobuf::descriptor_unittest::AddNestedEnum (DescriptorProto *parent, const string &name)
ServiceDescriptorProto * google::protobuf::descriptor_unittest::AddService (FileDescriptorProto *file, const string &name)
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddField (DescriptorProto *parent, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddExtension (FileDescriptorProto *file, const string &extendee, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
FieldDescriptorProto * google::protobuf::descriptor_unittest::AddNestedExtension (DescriptorProto *parent, const string &extendee, const string &name, int number, FieldDescriptorProto::Label label, FieldDescriptorProto::Type type)
DescriptorProto::ExtensionRange * google::protobuf::descriptor_unittest::AddExtensionRange (DescriptorProto *parent, int start, int end)
EnumValueDescriptorProto * google::protobuf::descriptor_unittest::AddEnumValue (EnumDescriptorProto *enum_proto, const string &name, int number)
MethodDescriptorProto * google::protobuf::descriptor_unittest::AddMethod (ServiceDescriptorProto *service, const string &name, const string &input_type, const string &output_type)
void google::protobuf::descriptor_unittest::AddEmptyEnum (FileDescriptorProto *file, const string &name)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Name)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Package)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, Dependencies)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindMessageTypeByName)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindEnumTypeByName)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindEnumValueByName)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindServiceByName)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindExtensionByName)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, FindExtensionByNumber)
 google::protobuf::descriptor_unittest::TEST_F (FileDescriptorTest, BuildAgain)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, Name)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, ContainingType)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldsByIndex)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FindFieldByName)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FindFieldByNumber)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldName)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldFullName)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldFile)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldIndex)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldNumber)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldType)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldLabel)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldHasDefault)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldContainingType)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldMessageType)
 google::protobuf::descriptor_unittest::TEST_F (DescriptorTest, FieldEnumType)
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, LowercaseName)
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, CamelcaseName)
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, FindByLowercaseName)
 google::protobuf::descriptor_unittest::TEST_F (StylizedFieldNamesTest, FindByCamelcaseName)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, Name)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ContainingType)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValuesByIndex)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, FindValueByName)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, FindValueByNumber)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueName)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueFullName)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueIndex)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueNumber)
 google::protobuf::descriptor_unittest::TEST_F (EnumDescriptorTest, ValueType)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, Name)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodsByIndex)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, FindMethodByName)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodName)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodFullName)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodIndex)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodParent)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodInputType)
 google::protobuf::descriptor_unittest::TEST_F (ServiceDescriptorTest, MethodOutputType)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, MessageName)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, MessageContainingType)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, NestedMessagesByIndex)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindFieldByNameDoesntFindNestedTypes)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindNestedTypeByName)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, EnumName)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, EnumContainingType)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, NestedEnumsByIndex)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindEnumTypeByName)
 google::protobuf::descriptor_unittest::TEST_F (NestedDescriptorTest, FindEnumValueByName)
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, ExtensionRanges)
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, Extensions)
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, IsExtensionNumber)
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, FindExtensionByName)
 google::protobuf::descriptor_unittest::TEST_F (ExtensionDescriptorTest, FindAllExtensions)
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, CppTypes)
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, DefaultValues)
 google::protobuf::descriptor_unittest::TEST_F (MiscTest, FieldOptions)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, PlaceholderFile)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, PlaceholderTypes)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, CopyTo)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, CustomOptions)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, UnknownExtendee)
 google::protobuf::descriptor_unittest::TEST_F (AllowUnknownDependenciesTest, CustomOption)
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionLocations)
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionTypes)
 google::protobuf::descriptor_unittest::TEST (CustomOptions, ComplexExtensionOptions)
 google::protobuf::descriptor_unittest::TEST (CustomOptions, OptionsFromOtherFile)
 google::protobuf::descriptor_unittest::TEST (CustomOptions, MessageOptionThreeFieldsSet)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefined)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefinedInPackage)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, AlreadyDefinedInOtherFile)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PackageAlreadyDefined)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumValueAlreadyDefinedInParent)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumValueAlreadyDefinedInParentNonGlobal)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MissingName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidPackageName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MissingFileName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupeDependency)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UnknownDependency)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ForeignUnimportedPackageNoCrash)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupeFile)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldInExtensionRange)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OverlappingExtensionRanges)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidDefaults)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NegativeFieldNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, HugeFieldNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ReservedFieldNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ExtensionMissingExtendee)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonExtensionWithExtendee)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldNumberConflict)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadMessageSetExtensionType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadMessageSetExtensionLabel)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldInMessageSet)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NegativeExtensionRangeNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, HugeExtensionRangeNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ExtensionRangeEndBeforeStart)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EmptyEnum)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedExtendee)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonMessageExtendee)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NotAnExtensionNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UndefinedFieldType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeDefinedInUndeclaredDependency)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, SearchMostLocalFirst)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, SearchMostLocalFirst2)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PackageOriginallyDeclaredInTransitiveDependent)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeNotAType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RelativeFieldTypeNotAType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FieldTypeMayBeItsName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumFieldTypeIsMessage)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, MessageFieldTypeIsEnum)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BadEnumDefaultValue)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, PrimitiveWithTypeName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NonPrimitiveWithoutTypeName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InputTypeNotDefined)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InputTypeNotAMessage)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OutputTypeNotDefined)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OutputTypeNotAMessage)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, IllegalPackedField)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OptionWrongType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, OptionExtendsAtomicType)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DupOption)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, InvalidOptionName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RepeatedOption)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, CustomOptionConflictingFieldNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueOutOfPositiveRange)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueOutOfNegativeRange)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int32OptionValueIsNotPositiveInt)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int64OptionValueOutOfRange)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, Int64OptionValueIsNotPositiveInt)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt32OptionValueOutOfRange)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt32OptionValueIsNotPositiveInt)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, UInt64OptionValueIsNotPositiveInt)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, FloatOptionValueIsNotNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, DoubleOptionValueIsNotNumber)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, BoolOptionValueIsNotTrueOrFalse)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsNotIdentifier)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsNotEnumValueName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, EnumOptionValueIsSiblingEnumValueName)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, StringOptionValueIsNotString)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, TryingToSetMessageValuedOption)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NotLiteImportsLite)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, LiteExtendsNotLite)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, NoLiteServices)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, RollbackAfterError)
 google::protobuf::descriptor_unittest::TEST_F (ValidationErrorTest, ErrorsReportedToLogError)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindFileByName)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindDependencyBeforeDependent)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindDependentBeforeDependency)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindFileContainingSymbol)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindMessageTypeByName)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindExtensionByNumber)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, FindAllExtensions)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, ErrorWithoutErrorCollector)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, ErrorWithErrorCollector)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, UnittestProto)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntRetryDbUnnecessarily)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntReloadFilesUncesessarily)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntReloadKnownBadFiles)
 google::protobuf::descriptor_unittest::TEST_F (DatabaseBackedPoolTest, DoesntFallbackOnWrongType)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines