Home
last modified time | relevance | path

Searched refs:MessageWithEnum (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dencoding_test.py61 class MessageWithEnum(messages.Message): class
252 message = encoding.JsonToMessage(MessageWithEnum, message_json)
253 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_ONE, message.field_one)
254 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_TWO, message.field_two)
260 message = encoding.JsonToMessage(MessageWithEnum, json_with_typo)
268 message = encoding.JsonToMessage(MessageWithEnum, empty_json)
273 message = encoding.JsonToMessage(MessageWithEnum, json_with_typo)
274 self.assertEqual(MessageWithEnum.ThisEnum.VALUE_TWO, message.field_two)
387 encoding._GetTypeKey(MessageWithEnum.ThisEnum, ''))
400 encoding._GetTypeKey(MessageWithEnum.ThisEnum, ''))
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Ddescriptor_test.py239 class MessageWithEnum(messages.Message): class
253 expected.enum_types = [descriptor.describe_enum(MessageWithEnum.Mood),
254 descriptor.describe_enum(MessageWithEnum.Music)]
256 described = descriptor.describe_message(MessageWithEnum)