Lines Matching defs:self

72   def __init__(self, bytes):  argument
76 def ReadVarint(self): argument
85 def ReadSInt64(self): argument
90 def ReadFieldNumberAndWireType(self): argument
93 def ReadFloat(self): argument
98 def ReadDouble(self): argument
103 def EndOfStream(self): argument
109 def assertListsEqual(self, values, others): argument
114 def testScalarConstructor(self): argument
125 def testRepeatedScalarConstructor(self): argument
138 def testRepeatedCompositeConstructor(self): argument
172 def testMixedConstructor(self): argument
205 def testConstructorTypeError(self): argument
225 def testConstructorInvalidatesCachedByteSize(self): argument
240 def testSimpleHasBits(self): argument
255 def testHasBitsWithSinglyNestedScalar(self): argument
336 def testReferencesToNestedMessage(self): argument
344 def testDisconnectingNestedMessageBeforeSettingField(self): argument
353 def testGetDefaultMessageAfterDisconnectingDefaultMessage(self): argument
366 def testDisconnectingNestedMessageAfterSettingField(self): argument
379 def testDisconnectingNestedMessageBeforeGettingField(self): argument
385 def testDisconnectingNestedMessageAfterMerge(self): argument
398 def testDisconnectingLazyNestedMessage(self): argument
411 def testHasBitsWhenModifyingRepeatedFields(self): argument
426 def testHasBitsForManyLevelsOfNesting(self): argument
442 def testSingularListFields(self): argument
464 def testRepeatedListFields(self): argument
483 def testSingularListExtensions(self): argument
494 def testRepeatedListExtensions(self): argument
510 def testListFieldsAndExtensions(self): argument
522 def testDefaultValues(self): argument
563 def testHasFieldWithUnknownFieldName(self): argument
567 def testClearFieldWithUnknownFieldName(self): argument
571 def testClearRemovesChildren(self): argument
582 def testDisallowedAssignments(self): argument
603 def testSingleScalarTypeSafety(self): argument
610 def testIntegerTypes(self): argument
634 def testSingleScalarBoundsChecking(self): argument
653 def testRepeatedScalarTypeSafety(self): argument
668 def testSingleScalarGettersAndSetters(self): argument
680 def testSingleScalarClearField(self): argument
691 def testEnums(self): argument
700 def testEnum_Name(self): argument
728 def testEnum_Value(self): argument
756 def testEnum_KeysAndValues(self): argument
771 def testRepeatedScalars(self): argument
861 def testRepeatedScalarsRemove(self): argument
890 def testRepeatedComposites(self): argument
962 def testRepeatedCompositeRemove(self): argument
991 def testHandWrittenReflection(self): argument
1021 def testDescriptorProtoSupport(self): argument
1083 def testTopLevelExtensionsForOptionalScalar(self): argument
1100 def testTopLevelExtensionsForRepeatedScalar(self): argument
1114 def testTopLevelExtensionsForOptionalMessage(self): argument
1139 def testTopLevelExtensionsForRepeatedMessage(self): argument
1156 def testNestedExtensions(self): argument
1172 def testRegisteredExtensions(self): argument
1184 def testHasBitsForAncestorsOfExtendedMessage(self): argument
1233 def testDisconnectionAfterClearingEmptyMessage(self): argument
1243 def testExtensionFailureModes(self): argument
1271 def testStaticParseFrom(self): argument
1281 def testMergeFromSingularField(self): argument
1294 def testMergeFromRepeatedField(self): argument
1308 def testMergeFromOptionalGroup(self): argument
1316 def testMergeFromRepeatedNestedMessage(self): argument
1338 def testMergeFromAllFields(self): argument
1353 def testMergeFromExtensionsSingular(self): argument
1362 def testMergeFromExtensionsRepeated(self): argument
1379 def testMergeFromExtensionsNestedMessage(self): argument
1402 def testMergeFromBug(self): argument
1415 def testCopyFromSingularField(self): argument
1428 def testCopyFromRepeatedField(self): argument
1441 def testCopyFromAllFields(self): argument
1456 def testCopyFromSelf(self): argument
1467 def testCopyFromBadType(self): argument
1476 def testDeepCopy(self): argument
1489 def testClear(self): argument
1512 def testDisconnectingBeforeClear(self): argument
1539 def testOneOf(self): argument
1551 def assertInitialized(self, proto): argument
1557 def assertNotInitialized(self, proto): argument
1563 def testIsInitialized(self): argument
1624 def testFileDescriptorErrors(self): argument
1655 def testStringUTF8Encoding(self): argument
1684 def testStringUTF8Serialization(self): argument
1739 def testBytesInTextFormat(self): argument
1744 def testEmptyNestedMessage(self): argument
1771 def testSetInParent(self): argument
1784 def setUp(self): argument
1788 def testNotHashable(self): argument
1791 def testSelfEquality(self): argument
1794 def testEmptyProtosEqual(self): argument
1802 def setUp(self): argument
1808 def testNotHashable(self): argument
1811 def testNoneNotEqual(self): argument
1815 def testNotEqualToOtherMessage(self): argument
1820 def testAllFieldsFilledEquality(self): argument
1823 def testNonRepeatedScalar(self): argument
1831 def testNonRepeatedComposite(self): argument
1847 def testRepeatedScalar(self): argument
1854 def testRepeatedComposite(self): argument
1866 def testNonRepeatedScalarHasBits(self): argument
1873 def testNonRepeatedCompositeHasBits(self): argument
1886 def testExtensionEquality(self): argument
1919 def testEqualityWithMutualRecursion(self): argument
1931 def setUp(self): argument
1937 def Size(self): argument
1940 def testEmptyMessage(self): argument
1943 def testSizedOnKwargs(self): argument
1951 def testVarints(self): argument
1966 def testStrings(self): argument
1979 def testOtherNumerics(self): argument
2005 def testComposites(self): argument
2013 def testGroups(self): argument
2020 def testRepeatedScalars(self): argument
2026 def testRepeatedScalarsExtend(self): argument
2031 def testRepeatedScalarsRemove(self): argument
2039 def testRepeatedComposites(self): argument
2047 def testRepeatedCompositesDelete(self): argument
2074 def testRepeatedGroups(self): argument
2083 def testExtensions(self): argument
2091 def testCacheInvalidationForNonrepeatedScalar(self): argument
2109 def testCacheInvalidationForRepeatedScalar(self): argument
2132 def testCacheInvalidationForNonrepeatedMessage(self): argument
2161 def testCacheInvalidationForRepeatedMessage(self): argument
2186 def testPackedRepeatedScalars(self): argument
2205 def testPackedExtensions(self): argument
2227 def testSerializeEmtpyMessage(self): argument
2237 def testSerializeAllFields(self): argument
2248 def testSerializeAllExtensions(self): argument
2258 def testSerializeWithOptionalGroup(self): argument
2268 def testSerializeNegativeValues(self): argument
2283 def testParseTruncated(self): argument
2313 def testCanonicalSerializationOrder(self): argument
2338 def testCanonicalSerializationOrderSameAsCpp(self): argument
2345 def testMergeFromStringWhenFieldsAlreadySet(self): argument
2368 def testMessageSetWireFormat(self): argument
2413 def testMessageSetWireFormatUnknownExtension(self): argument
2454 def testUnknownFields(self): argument
2481 def _CheckRaises(self, exc_class, callable_obj, exception): argument
2492 def testSerializeUninitialized(self): argument
2543 def testSerializeUninitializedSubMessage(self): argument
2576 def testSerializeAllPackedFields(self): argument
2586 def testSerializeAllPackedExtensions(self): argument
2595 def testMergePackedFromStringWhenSomeFieldsAlreadySet(self): argument
2613 def testPackedFieldsWireFormat(self): argument
2637 def testParsePackedFromUnpacked(self): argument
2649 def testParseUnpackedFromPacked(self): argument
2661 def testFieldNumbers(self): argument
2677 def testExtensionFieldNumbers(self): argument
2703 def testInitKwargs(self): argument
2734 def testInitArgsUnknownFieldName(self): argument
2741 def testInitRequiredKwargs(self): argument
2752 def testInitRequiredForeignKwargs(self): argument
2768 def testInitRepeatedKwargs(self): argument
2778 def testMessageOptions(self): argument
2786 def testPackedOptions(self): argument
2805 def testMakeClassWithNestedDescriptor(self): argument
2827 def _GetSerializedFileDescriptor(self, name): argument
2883 def testParsingFlatClassWithExplicitClassDeclaration(self): argument
2901 def testParsingFlatClass(self): argument
2916 def testParsingNestedClass(self): argument