MCPcopy Index your code
hub / github.com/nodejs/node / FakeExecutionProc

Class FakeExecutionProc

deps/v8/tools/testrunner/testproc/sequence_test.py:23–39  ·  view source on GitHub ↗

Simulates the pipeline sink consuming and running the tests. Test execution is simulated for each test by calling run().

Source from the content-addressed store, hash-verified

21
22
23class FakeExecutionProc(base.TestProc):
24 """Simulates the pipeline sink consuming and running the tests.
25
26 Test execution is simulated for each test by calling run().
27 """
28
29 def __init__(self):
30 super(FakeExecutionProc, self).__init__()
31 self.tests = []
32
33 def next_test(self, test):
34 self.tests.append(test)
35 return True
36
37 def run(self):
38 test = self.tests.pop()
39 self._send_result(test, test.n)
40
41
42class FakeResultObserver(base.TestProcObserver):

Callers 1

_testMethod · 0.85

Calls

no outgoing calls

Tested by 1

_testMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…