/external/protobuf/python/google/protobuf/internal/ |
generator_test.py | 47 from google.protobuf import unittest_pb2 namespace 58 proto_type = unittest_pb2.TestAllTypes 67 self.assertEqual(4, unittest_pb2.FOREIGN_FOO) 68 self.assertEqual(5, unittest_pb2.FOREIGN_BAR) 69 self.assertEqual(6, unittest_pb2.FOREIGN_BAZ) 71 proto = unittest_pb2.TestAllTypes() 73 self.assertEqual(1, unittest_pb2.TestAllTypes.FOO) 75 self.assertEqual(2, unittest_pb2.TestAllTypes.BAR) 77 self.assertEqual(3, unittest_pb2.TestAllTypes.BAZ) 80 message = unittest_pb2.TestExtremeDefaultValues( [all...] |
message_test.py | 48 from google.protobuf import unittest_pb2 namespace 56 golden_message = unittest_pb2.TestAllTypes() 63 golden_message = unittest_pb2.TestAllExtensions() 65 all_set = unittest_pb2.TestAllExtensions() 72 golden_message = unittest_pb2.TestPackedTypes() 74 all_set = unittest_pb2.TestPackedTypes() 81 golden_message = unittest_pb2.TestPackedExtensions() 83 all_set = unittest_pb2.TestPackedExtensions()
|
service_reflection_test.py | 38 from google.protobuf import unittest_pb2 namespace 59 class MyService(unittest_pb2.TestService): 70 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 77 service_descriptor = unittest_pb2.TestService.GetDescriptor() 79 unittest_pb2.BarRequest(), MyCallback) 84 class MyServiceImpl(unittest_pb2.TestService): 92 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 98 unittest_pb2.BarRequest(), MyCallback) 117 stub = unittest_pb2.TestService_Stub(channel) 122 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor() [all...] |
reflection_test.py | 48 from google.protobuf import unittest_pb2 namespace 114 proto = unittest_pb2.TestAllTypes( 125 proto = unittest_pb2.TestAllTypes( 138 proto = unittest_pb2.TestAllTypes( 140 unittest_pb2.TestAllTypes.NestedMessage( 141 bb=unittest_pb2.TestAllTypes.FOO), 142 unittest_pb2.TestAllTypes.NestedMessage( 143 bb=unittest_pb2.TestAllTypes.BAR)], 145 unittest_pb2.ForeignMessage(c=-43), 146 unittest_pb2.ForeignMessage(c=45324) [all...] |
descriptor_test.py | 39 from google.protobuf import unittest_pb2 namespace 158 unittest_pb2.TestEmptyMessage.DESCRIPTOR, 174 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, 191 unittest_pb2.TestForeignNested.DESCRIPTOR, 213 unittest_pb2._FOREIGNENUM, 232 unittest_pb2.TestDeprecatedFields.DESCRIPTOR, 246 unittest_pb2.TestEmptyMessageWithExtensions.DESCRIPTOR, 268 unittest_pb2.TestMultipleExtensionRanges.DESCRIPTOR, 328 unittest_pb2.TestService.DESCRIPTOR,
|
test_util.py | 42 from google.protobuf import unittest_pb2 namespace 49 message: A unittest_pb2.TestAllTypes instance. 83 message.optional_nested_enum = unittest_pb2.TestAllTypes.BAZ 84 message.optional_foreign_enum = unittest_pb2.FOREIGN_BAZ 115 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAR) 116 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAR) 144 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAZ) 145 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAZ) 171 message.default_nested_enum = unittest_pb2.TestAllTypes.FOO 172 message.default_foreign_enum = unittest_pb2.FOREIGN_FO [all...] |
text_format_test.py | 42 from google.protobuf import unittest_pb2 namespace 67 message = unittest_pb2.TestAllTypes() 74 message = unittest_pb2.TestAllExtensions() 97 message = unittest_pb2.TestAllTypes() 115 message = unittest_pb2.ForeignMessage() 127 parsed_message = unittest_pb2.TestAllTypes() 130 message = unittest_pb2.TestAllTypes() 137 parsed_message = unittest_pb2.TestAllExtensions() 140 message = unittest_pb2.TestAllExtensions() 145 message = unittest_pb2.TestAllTypes( [all...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
generator_test.py | 50 from google.protobuf import unittest_pb2 namespace 61 proto_type = unittest_pb2.TestAllTypes 70 self.assertEqual(4, unittest_pb2.FOREIGN_FOO) 71 self.assertEqual(5, unittest_pb2.FOREIGN_BAR) 72 self.assertEqual(6, unittest_pb2.FOREIGN_BAZ) 74 proto = unittest_pb2.TestAllTypes() 76 self.assertEqual(1, unittest_pb2.TestAllTypes.FOO) 78 self.assertEqual(2, unittest_pb2.TestAllTypes.BAR) 80 self.assertEqual(3, unittest_pb2.TestAllTypes.BAZ) 83 message = unittest_pb2.TestExtremeDefaultValues( [all...] |
reflection_test.py | 47 from google.protobuf import unittest_pb2 namespace 114 proto = unittest_pb2.TestAllTypes( 125 proto = unittest_pb2.TestAllTypes( 138 proto = unittest_pb2.TestAllTypes( 140 unittest_pb2.TestAllTypes.NestedMessage( 141 bb=unittest_pb2.TestAllTypes.FOO), 142 unittest_pb2.TestAllTypes.NestedMessage( 143 bb=unittest_pb2.TestAllTypes.BAR)], 145 unittest_pb2.ForeignMessage(c=-43), 146 unittest_pb2.ForeignMessage(c=45324) [all...] |
service_reflection_test.py | 38 from google.protobuf import unittest_pb2 namespace 59 class MyService(unittest_pb2.TestService): 70 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 77 service_descriptor = unittest_pb2.TestService.GetDescriptor() 79 unittest_pb2.BarRequest(), MyCallback) 84 class MyServiceImpl(unittest_pb2.TestService): 92 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 98 unittest_pb2.BarRequest(), MyCallback) 117 stub = unittest_pb2.TestService_Stub(channel) 122 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor() [all...] |
unknown_fields_test.py | 40 from google.protobuf import unittest_pb2 namespace 49 self.descriptor = unittest_pb2.TestAllTypes.DESCRIPTOR 50 self.all_fields = unittest_pb2.TestAllTypes() 53 self.empty_message = unittest_pb2.TestEmptyMessage() 63 decoder = unittest_pb2.TestAllTypes._decoders_by_tag[tag_bytes] 96 message = unittest_pb2.TestEmptyMessage() 101 message = unittest_pb2.TestAllTypes() 104 source = unittest_pb2.TestEmptyMessage() 110 destination = unittest_pb2.TestEmptyMessage() 126 message = unittest_pb2.TestEmptyMessageWithExtensions( [all...] |
text_format_test.py | 43 from google.protobuf import unittest_pb2 namespace 68 message = unittest_pb2.TestAllTypes() 75 message = unittest_pb2.TestAllExtensions() 98 message = unittest_pb2.TestAllTypes() 109 message = unittest_pb2.TestAllExtensions() 110 message.Extensions[unittest_pb2.optional_nested_enum_extension] = 100 111 message.Extensions[unittest_pb2.optional_foreign_enum_extension] = 101 112 message.Extensions[unittest_pb2.optional_import_enum_extension] = 102 120 message = unittest_pb2.TestAllTypes() 140 message = unittest_pb2.TestAllTypes( [all...] |
message_test.py | 53 from google.protobuf import unittest_pb2 namespace 75 golden_message = unittest_pb2.TestAllTypes() 84 golden_message = unittest_pb2.TestAllExtensions() 86 all_set = unittest_pb2.TestAllExtensions() 95 golden_message = unittest_pb2.TestPackedTypes() 97 all_set = unittest_pb2.TestPackedTypes() 106 golden_message = unittest_pb2.TestPackedExtensions() 108 all_set = unittest_pb2.TestPackedExtensions() 117 golden_message = unittest_pb2.TestAllTypes() 125 golden_message = unittest_pb2.TestRequired(a=1 [all...] |
test_util.py | 42 from google.protobuf import unittest_pb2 namespace 49 message: A unittest_pb2.TestAllTypes instance. 84 message.optional_nested_enum = unittest_pb2.TestAllTypes.BAZ 85 message.optional_foreign_enum = unittest_pb2.FOREIGN_BAZ 117 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAR) 118 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAR) 147 message.repeated_nested_enum.append(unittest_pb2.TestAllTypes.BAZ) 148 message.repeated_foreign_enum.append(unittest_pb2.FOREIGN_BAZ) 174 message.default_nested_enum = unittest_pb2.TestAllTypes.FOO 175 message.default_foreign_enum = unittest_pb2.FOREIGN_FO [all...] |
descriptor_test.py | 40 from google.protobuf import unittest_pb2 namespace 419 unittest_pb2.TestEmptyMessage.DESCRIPTOR, 435 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR, 452 unittest_pb2.TestForeignNested.DESCRIPTOR, 474 unittest_pb2._FOREIGNENUM, 493 unittest_pb2.TestDeprecatedFields.DESCRIPTOR, 507 unittest_pb2.TestEmptyMessageWithExtensions.DESCRIPTOR, 529 unittest_pb2.TestMultipleExtensionRanges.DESCRIPTOR, 591 unittest_pb2.TestService.DESCRIPTOR,
|