Searched refs:golden_text (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/android/jni_generator/ |
D | jni_generator_tests.py | 73 def assertTextEquals(self, golden_text, generated_text): argument 74 if not self.compareText(golden_text, generated_text): 77 def compareText(self, golden_text, generated_text): argument 83 stripped_golden = FilterText(golden_text) 112 golden_text = self._ReadGoldenFile(golden_file) 114 if golden_text != generated_text: 118 self.assertTextEquals(golden_text, generated_text)
|
/external/cronet/base/android/jni_generator/ |
D | jni_generator_tests.py | 204 def AssertTextEquals(self, golden_text, generated_text): argument 205 if not self.CompareText(golden_text, generated_text): 208 def CompareText(self, golden_text, generated_text): argument 216 stripped_golden = FilterText(golden_text) 247 golden_text = self._ReadGoldenFile(golden_file) 249 if golden_text != generated_text: 255 if golden_text is None: 258 self.AssertTextEquals(golden_text, generated_text)
|
/external/protobuf/python/google/protobuf/internal/ |
D | text_format_test.py | 86 def CompareToGoldenText(self, text, golden_text): argument 87 self.assertEqual(text, golden_text) 353 golden_text = golden_unicode 355 self.CompareToGoldenText(text, golden_text) 1025 golden_text = '\n'.join(self.ReadGolden( 1028 r = text_format.Parse(golden_text, parsed_message) 1455 golden_text = '\n'.join(self.ReadGolden( 1458 text_format.Parse(golden_text, parsed_message)
|
D | json_format_test.py | 279 golden_text = ('{"messageSet": {' 287 self.assertEqual(json.loads(golden_text), json.loads(message_text))
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | text_format_test.py | 84 def CompareToGoldenText(self, text, golden_text): argument 85 self.assertEqual(text, golden_text) 351 golden_text = golden_unicode 353 self.CompareToGoldenText(text, golden_text) 1019 golden_text = '\n'.join(self.ReadGolden( 1022 r = text_format.Parse(golden_text, parsed_message) 1449 golden_text = '\n'.join(self.ReadGolden( 1452 text_format.Parse(golden_text, parsed_message)
|
D | json_format_test.py | 279 golden_text = ('{"messageSet": {' 287 self.assertEqual(json.loads(golden_text), json.loads(message_text))
|