Lines Matching refs:output
105 def RemoveStackTraceDetails(output): argument
110 'Stack trace: (omitted)\n\n', output)
113 def RemoveStackTraces(output): argument
117 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output)
120 def RemoveTime(output): argument
123 return re.sub(r'\(\d+ ms', '(? ms', output)
126 def RemoveTestCounts(output): argument
129 output = re.sub(r'\d+ tests, listed below',
130 '? tests, listed below', output)
131 output = re.sub(r'\d+ FAILED TESTS',
132 '? FAILED TESTS', output)
133 output = re.sub(r'\d+ tests from \d+ test cases',
134 '? tests from ? test cases', output)
135 output = re.sub(r'\d+ tests from ([a-zA-Z_])',
136 r'? tests from \1', output)
137 return re.sub(r'\d+ tests\.', '? tests.', output)
163 def NormalizeOutput(output): argument
166 output = ToUnixLineEnding(output)
167 output = RemoveLocations(output)
168 output = RemoveStackTraceDetails(output)
169 output = RemoveTime(output)
170 return output
198 return p.output
253 output = GetOutputOfAllCommands()
266 self.assert_(golden == output)
268 normalized_actual = RemoveTestCounts(output)
288 output = GetOutputOfAllCommands() variable
290 golden_file.write(output)