(self)
| 482 | 'out', 'x64.release', 'd7'), '--flag', 'run.js') |
| 483 | |
| 484 | def testTwoRuns_SubRegexp(self): |
| 485 | test_input = dict(V8_JSON) |
| 486 | test_input['run_count'] = 2 |
| 487 | del test_input['results_regexp'] |
| 488 | test_input['tests'][0]['results_regexp'] = '^Richards: (.+)$' |
| 489 | test_input['tests'][1]['results_regexp'] = '^DeltaBlue: (.+)$' |
| 490 | self._WriteTestInput(test_input) |
| 491 | self._MockCommand(['.', '.'], |
| 492 | ['Richards: 100\nDeltaBlue: 200\n', |
| 493 | 'Richards: 50\nDeltaBlue: 300\n']) |
| 494 | self.assertEqual(0, self._CallMain()) |
| 495 | self._VerifyResults('test', 'score', [ |
| 496 | {'name': 'Richards', 'results': [50.0, 100.0], 'stddev': ''}, |
| 497 | {'name': 'DeltaBlue', 'results': [300.0, 200.0], 'stddev': ''}, |
| 498 | ]) |
| 499 | self._VerifyErrors([]) |
| 500 | self._VerifyMock(os.path.join( |
| 501 | 'out', 'x64.release', 'd7'), '--flag', 'run.js') |
| 502 | |
| 503 | def testPerfectConfidenceRuns(self): |
| 504 | self._WriteTestInput(V8_JSON) |
nothing calls this directly
no test coverage detected