Searched refs:MessageWithEnum (Results 1 – 2 of 2) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 87 class MessageWithEnum(messages.Message): class 296 message = encoding.JsonToMessage(MessageWithEnum, message_json) 297 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_ONE, message.field_one) 298 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_TWO, message.field_two) 304 message = encoding.JsonToMessage(MessageWithEnum, json_with_typo) 312 message = encoding.JsonToMessage(MessageWithEnum, empty_json) 317 message = encoding.JsonToMessage(MessageWithEnum, json_with_typo) 318 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_TWO, message.field_two) 442 encoding._GetTypeKey(MessageWithEnum.ThisEnum, '')) 455 encoding._GetTypeKey(MessageWithEnum.ThisEnum, '')) [all …]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor_test.py | 248 class MessageWithEnum(messages.Message): class 263 expected.enum_types = [descriptor.describe_enum(MessageWithEnum.Mood), 264 descriptor.describe_enum(MessageWithEnum.Music)] 266 described = descriptor.describe_message(MessageWithEnum)
|