Lines Matching refs:test_output
91 def RemoveLocations(test_output):
95 test_output: the output of a Google Test program.
105 r'\1:#: ', test_output)
129 def RemoveTypeInfoDetails(test_output):
133 test_output: the output of a Google Test program.
140 return re.sub(r'unsigned int', 'unsigned', test_output)
143 def NormalizeToCurrentPlatform(test_output):
148 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output)
150 test_output = re.sub(r': Failure\n', r': error: ', test_output)
152 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output)
154 return test_output
171 def RemoveMatchingTests(test_output, pattern):
178 test_output: A string containing the test output.
183 Contents of test_output with tests whose names match pattern removed.
186 test_output = re.sub(
190 test_output)
191 return re.sub(r'.*%s.*\n' % pattern, '', test_output)
263 def RemoveUnsupportedTests(self, test_output):
265 test_output = RemoveMatchingTests(test_output, 'DeathTest')
267 test_output = RemoveMatchingTests(test_output, 'TypedTest')
268 test_output = RemoveMatchingTests(test_output, 'TypedDeathTest')
269 test_output = RemoveMatchingTests(test_output, 'TypeParamDeathTest')
271 test_output = RemoveMatchingTests(test_output,
273 test_output = RemoveMatchingTests(test_output,
275 test_output = RemoveMatchingTests(test_output,
278 test_output = RemoveStackTraces(test_output)
280 return test_output