Home | History | Annotate | Download | only in test

Lines Matching refs:test_output

88 def RemoveLocations(test_output):
92 test_output: the output of a Google Test program.
101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output)
125 def RemoveTypeInfoDetails(test_output):
129 test_output: the output of a Google Test program.
136 return re.sub(r'unsigned int', 'unsigned', test_output)
139 def NormalizeToCurrentPlatform(test_output):
144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
146 test_output = re.sub(r': Failure\n', r': error: ', test_output)
148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
150 return test_output
167 def RemoveMatchingTests(test_output, pattern):
174 test_output: A string containing the test output.
179 Contents of test_output with tests whose names match pattern removed.
182 test_output = re.sub(
186 test_output)
187 return re.sub(r'.*%s.*\n' % pattern, '', test_output)
259 def RemoveUnsupportedTests(self, test_output):
261 test_output = RemoveMatchingTests(test_output, 'DeathTest')
263 test_output = RemoveMatchingTests(test_output, 'TypedTest')
264 test_output = RemoveMatchingTests(test_output, 'TypedDeathTest')
265 test_output = RemoveMatchingTests(test_output, 'TypeParamDeathTest')
267 test_output = RemoveMatchingTests(test_output,
269 test_output = RemoveMatchingTests(test_output,
271 test_output = RemoveMatchingTests(test_output,
274 test_output = RemoveStackTraces(test_output)
276 return test_output