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

Class ProgressProc

deps/v8/tools/testrunner/testproc/progress.py:60–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60class ProgressProc(base.TestProcObserver):
61
62 def __init__(self, context, options, test_count):
63 super(ProgressProc, self).__init__()
64 self.procs = [
65 PROGRESS_INDICATORS[options.progress](context, options, test_count)
66 ]
67 if options.log_test_schedule:
68 self.procs.insert(
69 0,
70 TestScheduleIndicator(context, options, test_count))
71 if options.json_test_results:
72 self.procs.insert(
73 0,
74 JsonTestProgressIndicator(context, options, test_count))
75 sink = rdb_sink()
76 if sink:
77 self.procs.append(ResultDBIndicator(context, options, test_count, sink))
78 self._requirement = max(proc._requirement for proc in self.procs)
79
80 def _on_result_for(self, test, result):
81 for proc in self.procs:
82 proc.on_test_result(test, result)
83
84 def finished(self):
85 for proc in self.procs:
86 proc.finished()
87
88 def _on_heartbeat(self):
89 for proc in self.procs:
90 proc.on_heartbeat()
91
92 def _on_event(self, event):
93 for proc in self.procs:
94 proc.on_event(event)

Callers 2

_do_executeMethod · 0.90
_do_executeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…