Module Expr Str Assign NameStore Str TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return CompareNotEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd UnaryOpNot Call NameLoad NameLoad Call NameLoad BinOpMult NameLoad Num decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareLt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Expr Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad ListLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Str attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Unittest that directly tests the output of the pure-Python protocol
compiler.  See //google/protobuf/internal/reflection_test.py for a test which
further ensures that we can use Python protocol message objects as we expect.
 N/A __author__ robinson@google.com (Will Robinson) N/A N/A N/A unittest2 unittest N/A N/A N/A ImportError N/A N/A unittest google.protobuf.internal test_bad_identifiers_pb2 google.protobuf unittest_custom_options_pb2 google.protobuf unittest_import_pb2 google.protobuf unittest_import_public_pb2 google.protobuf unittest_mset_pb2 google.protobuf unittest_mset_wire_format_pb2 google.protobuf unittest_no_generic_services_pb2 google.protobuf unittest_pb2 google.protobuf service google.protobuf symbol_database N/A MAX_EXTENSION 536870912 GeneratorTest N/A N/A unittest TestCase N/A testNestedMessageDescriptor N/A N/A self N/A N/A N/A field_name optional_nested_message N/A proto_type N/A unittest_pb2 TestAllTypes N/A N/A N/A self assertEqual N/A N/A proto_type NestedMessage DESCRIPTOR N/A N/A N/A N/A proto_type DESCRIPTOR fields_by_name N/A field_name message_type N/A testEnums N/A N/A self N/A N/A N/A N/A N/A self assertEqual 4 N/A unittest_pb2 FOREIGN_FOO N/A N/A N/A self assertEqual 5 N/A unittest_pb2 FOREIGN_BAR N/A N/A N/A self assertEqual 6 N/A unittest_pb2 FOREIGN_BAZ N/A proto N/A N/A unittest_pb2 TestAllTypes N/A N/A N/A self assertEqual 1 N/A proto FOO N/A N/A N/A self assertEqual 1 N/A N/A unittest_pb2 TestAllTypes FOO N/A N/A N/A self assertEqual 2 N/A proto BAR N/A N/A N/A self assertEqual 2 N/A N/A unittest_pb2 TestAllTypes BAR N/A N/A N/A self assertEqual 3 N/A proto BAZ N/A N/A N/A self assertEqual 3 N/A N/A unittest_pb2 TestAllTypes BAZ N/A testExtremeDefaultValues N/A N/A self N/A N/A N/A message N/A N/A unittest_pb2 TestExtremeDefaultValues isnan N/A N/A val N/A N/A N/A N/A val val N/A isinf N/A N/A val N/A N/A N/A N/A N/A N/A isnan val N/A isnan N/A val 0 N/A N/A N/A N/A self assertTrue N/A isinf N/A message inf_double N/A N/A N/A self assertTrue N/A N/A message inf_double 0 N/A N/A N/A self assertTrue N/A isinf N/A message neg_inf_double N/A N/A N/A self assertTrue N/A N/A message neg_inf_double 0 N/A N/A N/A self assertTrue N/A isnan N/A message nan_double N/A N/A N/A self assertTrue N/A isinf N/A message inf_float N/A N/A N/A self assertTrue N/A N/A message inf_float 0 N/A N/A N/A self assertTrue N/A isinf N/A message neg_inf_float N/A N/A N/A self assertTrue N/A N/A message neg_inf_float 0 N/A N/A N/A self assertTrue N/A isnan N/A message nan_float N/A N/A N/A self assertEqual ? ? ?? ?? ??? ??/ ??- N/A message cpp_trigraph N/A testHasDefaultValues N/A N/A self N/A N/A N/A desc N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A expected_has_default_by_name N/A optional_int32 repeated_int32 optional_nested_message default_int32 False False False True N/A has_default_by_name N/A dict N/A N/A N/A f name N/A f has_default_value N/A f N/A desc fields N/A N/A f name expected_has_default_by_name N/A N/A N/A self assertEqual expected_has_default_by_name has_default_by_name N/A testContainingTypeBehaviorForExtensions N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A unittest_pb2 optional_int32_extension containing_type N/A N/A unittest_pb2 TestAllExtensions DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestRequired single containing_type N/A N/A unittest_pb2 TestAllExtensions DESCRIPTOR N/A testExtensionScope N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A unittest_pb2 optional_int32_extension extension_scope None N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestRequired single extension_scope N/A N/A unittest_pb2 TestRequired DESCRIPTOR N/A testIsExtension N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A unittest_pb2 optional_int32_extension is_extension N/A N/A N/A self assertTrue N/A N/A N/A unittest_pb2 TestRequired single is_extension N/A message_descriptor N/A N/A unittest_pb2 TestRequired DESCRIPTOR N/A non_extension_descriptor N/A N/A message_descriptor fields_by_name N/A a N/A N/A N/A self assertTrue N/A N/A non_extension_descriptor is_extension N/A testOptions N/A N/A self N/A N/A N/A proto N/A N/A unittest_mset_wire_format_pb2 TestMessageSet N/A N/A N/A self assertTrue N/A N/A N/A N/A proto DESCRIPTOR GetOptions message_set_wire_format N/A testMessageWithCustomOptions N/A N/A self N/A N/A N/A proto N/A N/A unittest_custom_options_pb2 TestMessageWithCustomOptions N/A enum_options N/A N/A N/A N/A N/A proto DESCRIPTOR enum_types_by_name N/A AnEnum GetOptions N/A N/A N/A self assertTrue N/A enum_options None N/A testNestedTypes N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A set N/A N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR nested_types N/A set N/A N/A N/A N/A unittest_pb2 TestAllTypes NestedMessage DESCRIPTOR N/A N/A N/A unittest_pb2 TestAllTypes OptionalGroup DESCRIPTOR N/A N/A N/A unittest_pb2 TestAllTypes RepeatedGroup DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestEmptyMessage DESCRIPTOR nested_types N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_pb2 TestAllTypes NestedMessage DESCRIPTOR nested_types N/A N/A testContainingType N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A unittest_pb2 TestEmptyMessage DESCRIPTOR containing_type None N/A N/A N/A self assertTrue N/A N/A N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR containing_type None N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_pb2 TestAllTypes NestedMessage DESCRIPTOR containing_type N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_pb2 TestAllTypes NestedMessage DESCRIPTOR containing_type N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_pb2 TestAllTypes RepeatedGroup DESCRIPTOR containing_type N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A testContainingTypeInEnumDescriptor N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A unittest_pb2 _FOREIGNENUM containing_type None N/A N/A N/A self assertEqual N/A N/A unittest_pb2 _TESTALLTYPES_NESTEDENUM containing_type N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A testPackage N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR file package protobuf_unittest N/A desc N/A N/A N/A unittest_pb2 TestAllTypes NestedMessage DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A desc file package protobuf_unittest N/A N/A N/A self assertEqual N/A N/A N/A N/A unittest_import_pb2 ImportMessage DESCRIPTOR file package protobuf_unittest_import N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 _FOREIGNENUM file package protobuf_unittest N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 _TESTALLTYPES_NESTEDENUM file package protobuf_unittest N/A N/A N/A self assertEqual N/A N/A N/A unittest_import_pb2 _IMPORTENUM file package protobuf_unittest_import N/A testExtensionRange N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR extension_ranges N/A N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestAllExtensions DESCRIPTOR extension_ranges N/A N/A 1 MAX_EXTENSION N/A N/A N/A self assertEqual N/A N/A N/A unittest_pb2 TestMultipleExtensionRanges DESCRIPTOR extension_ranges N/A N/A 42 43 N/A 4143 4244 N/A 65536 MAX_EXTENSION N/A testFileDescriptor N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A unittest_pb2 DESCRIPTOR name google/protobuf/unittest.proto N/A N/A N/A self assertEqual N/A N/A unittest_pb2 DESCRIPTOR package protobuf_unittest N/A N/A N/A self assertFalse N/A N/A N/A unittest_pb2 DESCRIPTOR serialized_pb None N/A N/A N/A self assertEqual N/A N/A unittest_pb2 DESCRIPTOR dependencies N/A N/A unittest_import_pb2 DESCRIPTOR N/A N/A N/A self assertEqual N/A N/A unittest_import_pb2 DESCRIPTOR dependencies N/A N/A unittest_import_public_pb2 DESCRIPTOR N/A testNoGenericServices N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A hasattr unittest_no_generic_services_pb2 TestMessage N/A N/A N/A self assertTrue N/A hasattr unittest_no_generic_services_pb2 FOO N/A N/A N/A self assertTrue N/A hasattr unittest_no_generic_services_pb2 test_extension N/A N/A hasattr unittest_no_generic_services_pb2 TestService N/A N/A N/A N/A self assertFalse N/A issubclass N/A unittest_no_generic_services_pb2 TestService N/A service Service N/A testMessageTypesByName N/A N/A self N/A N/A N/A file_type N/A unittest_pb2 DESCRIPTOR N/A N/A N/A self assertEqual N/A unittest_pb2 _TESTALLTYPES N/A N/A file_type message_types_by_name N/A N/A N/A unittest_pb2 _TESTALLTYPES name N/A N/A N/A self assertFalse N/A N/A N/A unittest_pb2 _TESTALLTYPES_NESTEDMESSAGE name N/A file_type message_types_by_name N/A testEnumTypesByName N/A N/A self N/A N/A N/A file_type N/A unittest_pb2 DESCRIPTOR N/A N/A N/A self assertEqual N/A unittest_pb2 _FOREIGNENUM N/A N/A file_type enum_types_by_name N/A N/A N/A unittest_pb2 _FOREIGNENUM name N/A testExtensionsByName N/A N/A self N/A N/A N/A file_type N/A unittest_pb2 DESCRIPTOR N/A N/A N/A self assertEqual N/A unittest_pb2 my_extension_string N/A N/A file_type extensions_by_name N/A N/A N/A unittest_pb2 my_extension_string name N/A testPublicImports N/A N/A self N/A N/A N/A all_type_proto N/A N/A unittest_pb2 TestAllTypes N/A N/A N/A self assertEqual 0 N/A N/A all_type_proto optional_public_import_message e N/A public_import_proto N/A N/A unittest_import_pb2 PublicImportMessage N/A N/A N/A self assertEqual 0 N/A public_import_proto e N/A N/A N/A self assertTrue N/A N/A unittest_import_public_pb2 PublicImportMessage N/A unittest_import_pb2 PublicImportMessage N/A testBadIdentifiers N/A N/A self N/A N/A N/A message N/A N/A test_bad_identifiers_pb2 TestBadIdentifiers N/A N/A N/A self assertEqual N/A N/A message Extensions N/A N/A test_bad_identifiers_pb2 message foo N/A N/A N/A self assertEqual N/A N/A message Extensions N/A N/A test_bad_identifiers_pb2 descriptor bar N/A N/A N/A self assertEqual N/A N/A message Extensions N/A N/A test_bad_identifiers_pb2 reflection baz N/A N/A N/A self assertEqual N/A N/A message Extensions N/A N/A test_bad_identifiers_pb2 service qux N/A testOneof N/A N/A self N/A N/A N/A desc N/A N/A unittest_pb2 TestAllTypes DESCRIPTOR N/A N/A N/A self assertEqual 1 N/A len N/A desc oneofs N/A N/A N/A self assertEqual oneof_field N/A N/A N/A desc oneofs N/A 0 name N/A N/A N/A self assertEqual 0 N/A N/A N/A desc oneofs N/A 0 index N/A N/A N/A self assertIs desc N/A N/A N/A desc oneofs N/A 0 containing_type N/A N/A N/A self assertIs N/A N/A desc oneofs N/A 0 N/A N/A desc oneofs_by_name N/A oneof_field N/A nested_names N/A set N/A oneof_uint32 oneof_nested_message oneof_string oneof_bytes N/A N/A N/A self assertEqual nested_names N/A set N/A N/A field name N/A field N/A N/A N/A desc oneofs N/A 0 fields N/A N/A field_name field_desc N/A list N/A N/A N/A desc fields_by_name items N/A N/A N/A field_name nested_names N/A N/A N/A N/A self assertIs N/A N/A desc oneofs N/A 0 N/A field_desc containing_oneof N/A N/A N/A N/A self assertIsNone N/A field_desc containing_oneof N/A N/A SymbolDatabaseRegistrationTest N/A N/A unittest TestCase N/A N/A Checks that messages, enums and files are correctly registered. testGetSymbol N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A unittest_pb2 TestAllTypes N/A N/A N/A N/A symbol_database Default GetSymbol protobuf_unittest.TestAllTypes N/A N/A N/A self assertEqual N/A N/A unittest_pb2 TestAllTypes NestedMessage N/A N/A N/A N/A symbol_database Default GetSymbol protobuf_unittest.TestAllTypes.NestedMessage N/A N/A N/A self assertRaises KeyError N/A N/A N/A N/A N/A N/A symbol_database Default GetSymbol protobuf_unittest.NestedMessage N/A N/A N/A self assertEqual N/A N/A unittest_pb2 TestAllTypes OptionalGroup N/A N/A N/A N/A symbol_database Default GetSymbol protobuf_unittest.TestAllTypes.OptionalGroup N/A N/A N/A self assertEqual N/A N/A unittest_pb2 TestAllTypes RepeatedGroup N/A N/A N/A N/A symbol_database Default GetSymbol protobuf_unittest.TestAllTypes.RepeatedGroup N/A testEnums N/A N/A self N/A N/A N/A N/A N/A self assertEqual protobuf_unittest.ForeignEnum N/A N/A N/A N/A N/A N/A symbol_database Default pool FindEnumTypeByName protobuf_unittest.ForeignEnum full_name N/A N/A N/A self assertEqual protobuf_unittest.TestAllTypes.NestedEnum N/A N/A N/A N/A N/A N/A symbol_database Default pool FindEnumTypeByName protobuf_unittest.TestAllTypes.NestedEnum full_name N/A testFindFileByName N/A N/A self N/A N/A N/A N/A N/A self assertEqual google/protobuf/unittest.proto N/A N/A N/A N/A N/A N/A symbol_database Default pool FindFileByName google/protobuf/unittest.proto name N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main