Definition at line 117 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.assertInitialized | ( | self, | |
proto | |||
) |
Definition at line 1751 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.assertIntegerTypes | ( | self, | |
integer_fn | |||
) |
Verifies setting of scalar integers. Args: integer_fn: A function to wrap the integers that will be assigned.
Definition at line 634 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.assertListsEqual | ( | self, | |
values, | |||
others | |||
) |
Definition at line 119 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.assertNotInitialized | ( | self, | |
proto, | |||
error_size = None |
|||
) |
Definition at line 1757 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.assetIntegerBoundsChecking | ( | self, | |
integer_fn | |||
) |
Verifies bounds checking for scalar integer fields. Args: integer_fn: A function to wrap the integers that will be assigned.
Definition at line 682 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testBytesInTextFormat | ( | self | ) |
Definition at line 1940 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testClear | ( | self | ) |
Definition at line 1675 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testClearFieldWithUnknownFieldName | ( | self | ) |
Definition at line 583 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testClearRemovesChildren | ( | self | ) |
Definition at line 587 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testConstructorInvalidatesCachedByteSize | ( | self | ) |
Definition at line 241 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testConstructorTypeError | ( | self | ) |
Definition at line 221 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testCopyFromAllFields | ( | self | ) |
Definition at line 1616 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testCopyFromBadType | ( | self | ) |
Definition at line 1642 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testCopyFromRepeatedField | ( | self | ) |
Definition at line 1603 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testCopyFromSelf | ( | self | ) |
Definition at line 1631 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testCopyFromSingularField | ( | self | ) |
Definition at line 1590 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDeepCopy | ( | self | ) |
Definition at line 1651 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDefaultValues | ( | self | ) |
Definition at line 538 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDescriptorProtoSupport | ( | self | ) |
Definition at line 1140 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisallowedAssignments | ( | self | ) |
Definition at line 598 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingBeforeClear | ( | self | ) |
Definition at line 1698 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingInOneof | ( | self | ) |
Definition at line 1725 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingLazyNestedMessage | ( | self | ) |
Definition at line 414 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingNestedMessageAfterMerge | ( | self | ) |
Definition at line 401 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingNestedMessageAfterSettingField | ( | self | ) |
Definition at line 382 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingNestedMessageBeforeGettingField | ( | self | ) |
Definition at line 395 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectingNestedMessageBeforeSettingField | ( | self | ) |
Definition at line 360 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testDisconnectionAfterClearingEmptyMessage | ( | self | ) |
Definition at line 1405 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testEmptyNestedMessage | ( | self | ) |
Definition at line 1945 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testEnum_KeysAndValues | ( | self | ) |
Definition at line 864 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testEnum_Name | ( | self | ) |
Definition at line 774 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testEnum_Value | ( | self | ) |
Definition at line 802 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testEnums | ( | self | ) |
Definition at line 765 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testExtensionContainsError | ( | self | ) |
Definition at line 1226 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testExtensionFailureModes | ( | self | ) |
Definition at line 1415 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testExtensionIter | ( | self | ) |
Definition at line 1202 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testFileDescriptorErrors | ( | self | ) |
Definition at line 1827 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testGetDefaultMessageAfterDisconnectingDefaultMessage | ( | self | ) |
Definition at line 369 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHandWrittenReflection | ( | self | ) |
Definition at line 1110 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHasBitsForAncestorsOfExtendedMessage | ( | self | ) |
Definition at line 1356 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHasBitsForManyLevelsOfNesting | ( | self | ) |
Definition at line 442 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHasBitsWhenModifyingRepeatedFields | ( | self | ) |
Definition at line 427 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHasBitsWithSinglyNestedScalar | ( | self | ) |
Definition at line 271 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testHasFieldWithUnknownFieldName | ( | self | ) |
Definition at line 579 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testIllegalValuesForIntegers | ( | self | ) |
Definition at line 671 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testIntegerTypes | ( | self | ) |
Definition at line 665 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testIsInitialized | ( | self | ) |
Definition at line 1766 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testListFieldsAndExtensions | ( | self | ) |
Definition at line 526 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromAllFields | ( | self | ) |
Definition at line 1513 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromBug | ( | self | ) |
Definition at line 1577 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromExtensionsNestedMessage | ( | self | ) |
Definition at line 1554 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromExtensionsRepeated | ( | self | ) |
Definition at line 1537 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromExtensionsSingular | ( | self | ) |
Definition at line 1528 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromOptionalGroup | ( | self | ) |
Definition at line 1483 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromRepeatedField | ( | self | ) |
Definition at line 1469 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromRepeatedNestedMessage | ( | self | ) |
Definition at line 1491 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMergeFromSingularField | ( | self | ) |
Definition at line 1456 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testMixedConstructor | ( | self | ) |
Definition at line 186 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testNestedExtensions | ( | self | ) |
Definition at line 1318 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testNonStandardIntegerTypes | ( | self | ) |
Definition at line 668 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testNonStandardSingleScalarBoundsChecking | ( | self | ) |
Definition at line 718 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testOneOf | ( | self | ) |
Definition at line 1739 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testPackageInitializationImport | ( | self | ) |
Test that we can import nested messages from their __init__.py. Such setup is not trivial since at the time of processing of __init__.py one can't refer to its submodules by name in code, so expressions like google.protobuf.internal.import_test_package.inner_pb2 don't work. They do work in imports, so we have assign an alias at import and then use that alias in generated code.
Definition at line 1978 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testReferencesToNestedMessage | ( | self | ) |
Definition at line 352 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRegisteredExtensions | ( | self | ) |
Definition at line 1338 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedCompositeConstructor | ( | self | ) |
Definition at line 152 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedCompositeRemove | ( | self | ) |
Definition at line 1081 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedComposites | ( | self | ) |
Definition at line 998 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedListExtensions | ( | self | ) |
Definition at line 510 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedListFields | ( | self | ) |
Definition at line 480 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedScalarConstructor | ( | self | ) |
Definition at line 137 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedScalars | ( | self | ) |
Definition at line 879 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedScalarsRemove | ( | self | ) |
Definition at line 969 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testRepeatedScalarTypeSafety | ( | self | ) |
Definition at line 721 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testScalarConstructor | ( | self | ) |
Definition at line 124 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSetInParent | ( | self | ) |
Definition at line 1972 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSimpleHasBits | ( | self | ) |
Definition at line 256 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingleScalarBoundsChecking | ( | self | ) |
Definition at line 715 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingleScalarClearField | ( | self | ) |
Definition at line 754 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingleScalarGettersAndSetters | ( | self | ) |
Definition at line 742 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingleScalarTypeSafety | ( | self | ) |
Definition at line 619 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingularListExtensions | ( | self | ) |
Definition at line 499 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testSingularListFields | ( | self | ) |
Definition at line 458 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testStaticParseFrom | ( | self | ) |
Definition at line 1446 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testStringUTF8Encoding | ( | self | ) |
Definition at line 1858 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testStringUTF8Serialization | ( | self | ) |
Definition at line 1886 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testTopLevelExtensionsForOptionalMessage | ( | self | ) |
Definition at line 1272 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testTopLevelExtensionsForOptionalScalar | ( | self | ) |
Definition at line 1234 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testTopLevelExtensionsForRepeatedMessage | ( | self | ) |
Definition at line 1301 of file reflection_test.py.
def google.protobuf.internal.reflection_test.ReflectionTest.testTopLevelExtensionsForRepeatedScalar | ( | self | ) |
Definition at line 1255 of file reflection_test.py.