Home
last modified time | relevance | path

Searched refs:golden_text (Results 1 – 2 of 2) 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/protobuf/python/google/protobuf/internal/
Dtext_format_test.py83 def CompareToGoldenText(self, text, golden_text): argument
84 self.assertEqual(text, golden_text)
485 golden_text = '\n'.join(self.ReadGolden(
488 r = text_format.Parse(golden_text, parsed_message)
767 golden_text = '\n'.join(self.ReadGolden(
770 text_format.Parse(golden_text, parsed_message)