Home
last modified time | relevance | path

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

/external/libchrome/base/android/jni_generator/
Djni_generator_tests.py73 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/
Djni_generator_tests.py204 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/
Dtext_format_test.py86 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)
Djson_format_test.py279 golden_text = ('{"messageSet": {'
287 self.assertEqual(json.loads(golden_text), json.loads(message_text))
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dtext_format_test.py84 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)
Djson_format_test.py279 golden_text = ('{"messageSet": {'
287 self.assertEqual(json.loads(golden_text), json.loads(message_text))