Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/protorpclite/
Dmessages.py1137 self.__field.validate_element(value)
1142 self.__field.validate_element(value)
1152 self.__field.validate_element(value)
1311 def validate_element(self, value): member in Field
1349 def __validate(self, value, validate_element): argument
1364 return validate_element(value)
1381 result.append(validate_element(element))
1406 return self.__validate(value, self.validate_element)
1427 return self.validate_element(value)
1525 def validate_element(self, value): member in StringField
[all …]
Dmessages_test.py822 field.validate_element(value)
827 field.validate_element(value)
832 field.validate_element,
835 field.validate_element,
838 field.validate_element(value)
842 field.validate_element,
845 field.validate_element,
852 self.assertEquals(type(field.validate_element(12)), float)
853 self.assertEquals(type(field.validate_element(12.0)), float)
855 self.assertEquals(type(field.validate_element(12)), int)
[all …]