MCPcopy Create free account
hub / github.com/nodejs/node / ExpectationProc

Class ExpectationProc

deps/v8/tools/testrunner/testproc/expectation.py:7–19  ·  view source on GitHub ↗

Test processor passing tests and results through and forgiving timeouts.

Source from the content-addressed store, hash-verified

5from . import base
6
7class ExpectationProc(base.TestProcProducer):
8 """Test processor passing tests and results through and forgiving timeouts."""
9 def __init__(self):
10 super(ExpectationProc, self).__init__('no-timeout')
11
12 def _next_test(self, test):
13 subtest = test.create_subtest(self, 'no_timeout')
14 subtest.allow_timeouts()
15 subtest.allow_pass()
16 return self._send_test(subtest)
17
18 def _result_for(self, test, subtest, result):
19 self._send_result(test, result)

Callers 2

_do_executeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected