crash.software
Projects
Pull Requests
Issues
Builds
protobuf-decoder
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
protobuf-decoder
Files
🤬
Sign In
2c9bed22
ROOT
/
Lib
/
google
/
protobuf
/
internal
/
reflection_test.py
Search
History
3055 lines
|
ISO-8859-1
|
122 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
copy
gc
operator
six
struct
unittest
unittest
unittest_import_pb2
unittest_mset_pb2
unittest_pb2
descriptor_pb2
descriptor
message
reflection
text_format
api_implementation
more_extensions_pb2
more_messages_pb2
message_set_extensions_pb2
wire_format
test_util
testing_refleaks
decoder
BaseTestCase
_MiniDecoder
(object)
_bytes
_pos
__init__
(self,bytes)
ReadVarint
(self)
ReadInt32
ReadInt64
ReadUInt32
ReadUInt64
ReadSInt64
(self)
ReadSInt32
ReadFieldNumberAndWireType
(self)
ReadFloat
(self)
ReadDouble
(self)
EndOfStream
(self)
ReflectionTest
(BaseTestCase)
assertListsEqual
(self,values,others)
testScalarConstructor
(self)
testRepeatedScalarConstructor
(self)
testRepeatedCompositeConstructor
(self)
testMixedConstructor
(self)
testConstructorTypeError
(self)
testConstructorInvalidatesCachedByteSize
(self)
testSimpleHasBits
(self)
testHasBitsWithSinglyNestedScalar
(self)
testReferencesToNestedMessage
(self)
testDisconnectingNestedMessageBeforeSettingField
(self)
testGetDefaultMessageAfterDisconnectingDefaultMessage
(self)
testDisconnectingNestedMessageAfterSettingField
(self)
testDisconnectingNestedMessageBeforeGettingField
(self)
testDisconnectingNestedMessageAfterMerge
(self)
testDisconnectingLazyNestedMessage
(self)
testHasBitsWhenModifyingRepeatedFields
(self)
testHasBitsForManyLevelsOfNesting
(self)
testSingularListFields
(self)
testRepeatedListFields
(self)
testSingularListExtensions
(self)
testRepeatedListExtensions
(self)
testListFieldsAndExtensions
(self)
testDefaultValues
(self)
testHasFieldWithUnknownFieldName
(self)
testClearFieldWithUnknownFieldName
(self)
testClearRemovesChildren
(self)
testDisallowedAssignments
(self)
testSingleScalarTypeSafety
(self)
assertIntegerTypes
(self,integer_fn)
testIntegerTypes
(self)
testNonStandardIntegerTypes
(self)
testIllegalValuesForIntegers
(self)
assetIntegerBoundsChecking
(self,integer_fn)
testSingleScalarBoundsChecking
(self)
testNonStandardSingleScalarBoundsChecking
(self)
testRepeatedScalarTypeSafety
(self)
testSingleScalarGettersAndSetters
(self)
testSingleScalarClearField
(self)
testEnums
(self)
testEnum_Name
(self)
testEnum_Value
(self)
testEnum_KeysAndValues
(self)
testRepeatedScalars
(self)
testRepeatedScalarsRemove
(self)
testRepeatedComposites
(self)
testRepeatedCompositeRemove
(self)
testHandWrittenReflection
(self)
testDescriptorProtoSupport
(self)
testTopLevelExtensionsForOptionalScalar
(self)
testTopLevelExtensionsForRepeatedScalar
(self)
testTopLevelExtensionsForOptionalMessage
(self)
testTopLevelExtensionsForRepeatedMessage
(self)
testNestedExtensions
(self)
testRegisteredExtensions
(self)
testHasBitsForAncestorsOfExtendedMessage
(self)
testDisconnectionAfterClearingEmptyMessage
(self)
testExtensionFailureModes
(self)
testStaticParseFrom
(self)
testMergeFromSingularField
(self)
testMergeFromRepeatedField
(self)
testMergeFromOptionalGroup
(self)
testMergeFromRepeatedNestedMessage
(self)
testMergeFromAllFields
(self)
testMergeFromExtensionsSingular
(self)
testMergeFromExtensionsRepeated
(self)
testMergeFromExtensionsNestedMessage
(self)
testMergeFromBug
(self)
testCopyFromSingularField
(self)
testCopyFromRepeatedField
(self)
testCopyFromAllFields
(self)
testCopyFromSelf
(self)
testCopyFromBadType
(self)
testDeepCopy
(self)
testClear
(self)
testDisconnectingBeforeClear
(self)
testDisconnectingInOneof
(self)
testOneOf
(self)
assertInitialized
(self,proto)
assertNotInitialized
(self,proto)
testIsInitialized
(self)
testFileDescriptorErrors
(self)
testStringUTF8Encoding
(self)
testStringUTF8Serialization
(self)
testBytesInTextFormat
(self)
testEmptyNestedMessage
(self)
testSetInParent
(self)
testPackageInitializationImport
(self)
TestAllTypesEqualityTest
(BaseTestCase)
first_proto
second_proto
setUp
(self)
testNotHashable
(self)
testSelfEquality
(self)
testEmptyProtosEqual
(self)
FullProtosEqualityTest
(BaseTestCase)
first_proto
second_proto
setUp
(self)
testNotHashable
(self)
testNoneNotEqual
(self)
testNotEqualToOtherMessage
(self)
testAllFieldsFilledEquality
(self)
testNonRepeatedScalar
(self)
testNonRepeatedComposite
(self)
testRepeatedScalar
(self)
testRepeatedComposite
(self)
testNonRepeatedScalarHasBits
(self)
testNonRepeatedCompositeHasBits
(self)
ExtensionEqualityTest
(BaseTestCase)
testExtensionEquality
(self)
MutualRecursionEqualityTest
(BaseTestCase)
testEqualityWithMutualRecursion
(self)
ByteSizeTest
(BaseTestCase)
proto
extended_proto
packed_proto
packed_extended_proto
setUp
(self)
Size
(self)
testEmptyMessage
(self)
testSizedOnKwargs
(self)
testVarints
(self)
testStrings
(self)
testOtherNumerics
(self)
testComposites
(self)
testGroups
(self)
testRepeatedScalars
(self)
testRepeatedScalarsExtend
(self)
testRepeatedScalarsRemove
(self)
testRepeatedComposites
(self)
testRepeatedCompositesDelete
(self)
testRepeatedGroups
(self)
testExtensions
(self)
testCacheInvalidationForNonrepeatedScalar
(self)
testCacheInvalidationForRepeatedScalar
(self)
testCacheInvalidationForNonrepeatedMessage
(self)
testCacheInvalidationForRepeatedMessage
(self)
testPackedRepeatedScalars
(self)
testPackedExtensions
(self)
SerializationTest
(BaseTestCase)
testSerializeEmtpyMessage
(self)
testSerializeAllFields
(self)
testSerializeAllExtensions
(self)
testSerializeWithOptionalGroup
(self)
testSerializeNegativeValues
(self)
testParseTruncated
(self)
testCanonicalSerializationOrder
(self)
testCanonicalSerializationOrderSameAsCpp
(self)
testMergeFromStringWhenFieldsAlreadySet
(self)
testMessageSetWireFormat
(self)
testMessageSetWireFormatUnknownExtension
(self)
testUnknownFields
(self)
_CheckRaises
(self,exc_class,callable_obj,exception)
testSerializeUninitialized
(self)
testSerializeUninitializedSubMessage
(self)
testSerializeAllPackedFields
(self)
testSerializeAllPackedExtensions
(self)
testMergePackedFromStringWhenSomeFieldsAlreadySet
(self)
testPackedFieldsWireFormat
(self)
testParsePackedFromUnpacked
(self)
testParseUnpackedFromPacked
(self)
testFieldNumbers
(self)
testExtensionFieldNumbers
(self)
testInitKwargs
(self)
testInitArgsUnknownFieldName
(self)
testInitRequiredKwargs
(self)
testInitRequiredForeignKwargs
(self)
testInitRepeatedKwargs
(self)
OptionsTest
(BaseTestCase)
testMessageOptions
(self)
testPackedOptions
(self)
ClassAPITest
(BaseTestCase)
testMakeClassWithNestedDescriptor
(self)
_GetSerializedFileDescriptor
(self,name)
testParsingFlatClassWithExplicitClassDeclaration
(self)
testParsingFlatClass
(self)
testParsingNestedClass
(self)
All occurrences
Please wait...
Page is in error, reload to recover