(self)
| 678 | self._VerifyMock(os.path.join('out', 'Release', 'd7'), '--flag', 'run.js') |
| 679 | |
| 680 | def testRegexpNoMatch(self): |
| 681 | self._WriteTestInput(V8_JSON) |
| 682 | self._MockCommand(['.'], ['x\nRichaards: 1.234\nDeltaBlue: 10657567\ny\n']) |
| 683 | self.assertEqual(1, self._CallMain()) |
| 684 | self._VerifyResults('test', 'score', [ |
| 685 | {'name': 'DeltaBlue', 'results': [10657567.0], 'stddev': ''}, |
| 686 | ]) |
| 687 | self._VerifyErrors( |
| 688 | ['Regexp "^Richards: (.+)$" did not match for test test/Richards.']) |
| 689 | self._VerifyMock( |
| 690 | os.path.join('out', 'x64.release', 'd7'), '--flag', 'run.js') |
| 691 | |
| 692 | def testFilterInvalidRegexp(self): |
| 693 | self._WriteTestInput(V8_JSON) |
nothing calls this directly
no test coverage detected