Home
last modified time | relevance | path

Searched refs:lookup_by_name (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dservice_test.py69 self.service_url, protocol=self.protocols.lookup_by_name('altproto'))
79 self.service_url, protocol=new_protocols.lookup_by_name('altproto'))
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dremote_test.py865 self.assertEquals('json', self.protocols.lookup_by_name('JsOn').name)
866 self.assertEquals('json2', self.protocols.lookup_by_name('Json2').name)
890 protobuf_protocol = protocols.lookup_by_name('protobuf')
893 protojson_protocol = protocols.lookup_by_name('protojson')
901 protobuf_protocol = protocols.lookup_by_name('protobuf')
904 protojson_protocol = protocols.lookup_by_name('protojson')
Dtransport.py167 protocol = protocols.lookup_by_name(protocol)
Dmessages.py372 def lookup_by_name(cls, name): member in _EnumClass
432 return cls.lookup_by_name(index)
Dremote.py1177 def lookup_by_name(self, name): member in Protocols
Dmessages_test.py106 self.assertEquals(Color.RED, Color.lookup_by_name('RED'))
107 self.assertRaises(KeyError, Color.lookup_by_name, 20)
108 self.assertRaises(KeyError, Color.lookup_by_name, Color.RED)