Definition at line 900 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.assertInitialized | ( | self, | |
proto | |||
) |
Definition at line 1948 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.assertListsEqual | ( | self, | |
values, | |||
others | |||
) |
Definition at line 936 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.assertNotInitialized | ( | self, | |
proto, | |||
error_size = None |
|||
) |
Definition at line 1954 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testClear | ( | self | ) |
Definition at line 1911 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testClearRemovesChildren | ( | self | ) |
Definition at line 1163 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testCopyFromBadType | ( | self | ) |
Definition at line 1902 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testDefaultValues | ( | self | ) |
Definition at line 1118 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testDescriptorProtoSupport | ( | self | ) |
Definition at line 1513 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testDisconnectingInOneof | ( | self | ) |
Definition at line 1934 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testDisconnectionAfterClearingEmptyMessage | ( | self | ) |
Definition at line 1804 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testExtensionContainsError | ( | self | ) |
Definition at line 1625 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testExtensionDelete | ( | self | ) |
Definition at line 1575 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testExtensionFailureModes | ( | self | ) |
Definition at line 1814 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testExtensionIter | ( | self | ) |
Definition at line 1601 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testFileDescriptorErrors | ( | self | ) |
Definition at line 2025 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHandWrittenReflection | ( | self | ) |
Definition at line 1477 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHasBitsForAncestorsOfExtendedMessage | ( | self | ) |
Definition at line 1755 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHasBitsForManyLevelsOfNesting | ( | self | ) |
Definition at line 1052 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHasBitsWhenModifyingRepeatedFields | ( | self | ) |
Definition at line 1037 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHasBitsWithSinglyNestedScalar | ( | self | ) |
Definition at line 956 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testHasFieldWithUnknownFieldName | ( | self | ) |
Definition at line 1159 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testIsInitialized | ( | self | ) |
Definition at line 1963 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testListFieldsAndExtensions | ( | self | ) |
Definition at line 1106 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testMergeFromExtensionsNestedMessage | ( | self | ) |
Definition at line 1879 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testMergeFromExtensionsRepeated | ( | self | ) |
Definition at line 1862 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testMergeFromExtensionsSingular | ( | self | ) |
Definition at line 1853 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testMergeFromOptionalGroup | ( | self | ) |
Definition at line 1845 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testNestedExtensions | ( | self | ) |
Definition at line 1717 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.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 2116 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRegisteredExtensions | ( | self | ) |
Definition at line 1737 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedCompositeConstructor | ( | self | ) |
Definition at line 902 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedCompositeRemove | ( | self | ) |
Definition at line 1419 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedCompositeReverse_Empty | ( | self | ) |
Definition at line 1448 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedCompositeReverse_NonEmpty | ( | self | ) |
Definition at line 1459 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedComposites | ( | self | ) |
Definition at line 1336 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedListExtensions | ( | self | ) |
Definition at line 1084 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedScalars | ( | self | ) |
Definition at line 1185 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedScalarsRemove | ( | self | ) |
Definition at line 1275 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedScalarsReverse_Empty | ( | self | ) |
Definition at line 1304 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testRepeatedScalarsReverse_NonEmpty | ( | self | ) |
Definition at line 1315 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testSetInParent | ( | self | ) |
Definition at line 2110 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testSimpleHasBits | ( | self | ) |
Definition at line 941 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testSingleScalarClearField | ( | self | ) |
Definition at line 1174 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testSingularListExtensions | ( | self | ) |
Definition at line 1068 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testStringUTF8Serialization | ( | self | ) |
Definition at line 2056 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testTopLevelExtensionsForOptionalMessage | ( | self | ) |
Definition at line 1671 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testTopLevelExtensionsForOptionalScalar | ( | self | ) |
Definition at line 1633 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testTopLevelExtensionsForRepeatedMessage | ( | self | ) |
Definition at line 1700 of file protobuf/python/google/protobuf/internal/reflection_test.py.
def google.protobuf.internal.reflection_test.Proto2ReflectionTest.testTopLevelExtensionsForRepeatedScalar | ( | self | ) |
Definition at line 1654 of file protobuf/python/google/protobuf/internal/reflection_test.py.