MCPcopy Create free account
hub / github.com/Kitware/VTK / test_pass

Function test_pass

Web/Python/vtkmodules/web/testing.py:261–270  ·  view source on GitHub ↗

Test scripts should call this function to indicate that the test passed. A note is recorded that the test succeeded, and is checked later on from the main thread so that CTest can be notified of this result.

(testName)

Source from the content-addressed store, hash-verified

259# Test scripts call this function to indicate passage of their test
260# =============================================================================
261def test_pass(testName):
262 """
263 Test scripts should call this function to indicate that the test passed. A
264 note is recorded that the test succeeded, and is checked later on from the
265 main thread so that CTest can be notified of this result.
266 """
267
268 global test_module_comm_queue
269 resultObj = {testName: "pass"}
270 test_module_comm_queue.put(resultObj)
271
272
273# =============================================================================

Callers 2

postprocessMethod · 0.85
launch_web_testFunction · 0.85

Calls 1

putMethod · 0.45

Tested by

no test coverage detected