(self)
| 450 | 'd7'), '--flag', '--variant-b-flag', 'run.js')) |
| 451 | |
| 452 | def testOneRunWithTestFlags(self): |
| 453 | test_input = dict(V8_JSON) |
| 454 | test_input['test_flags'] = ['2', 'test_name'] |
| 455 | self._WriteTestInput(test_input) |
| 456 | self._MockCommand(['.'], ['Richards: 1.234\nDeltaBlue: 10657567']) |
| 457 | self.assertEqual(0, self._CallMain()) |
| 458 | self._VerifyResults('test', 'score', [ |
| 459 | {'name': 'Richards', 'results': [1.234], 'stddev': ''}, |
| 460 | {'name': 'DeltaBlue', 'results': [10657567.0], 'stddev': ''}, |
| 461 | ]) |
| 462 | self._VerifyErrors([]) |
| 463 | self._VerifyMock(os.path.join( |
| 464 | 'out', 'x64.release', 'd7'), '--flag', 'run.js', '--', '2', 'test_name') |
| 465 | |
| 466 | def testTwoRuns_Units_SuiteName(self): |
| 467 | test_input = dict(V8_JSON) |
nothing calls this directly
no test coverage detected