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

Class callback

Common/Core/Testing/Python/TestCommand.py:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20from vtkmodules.test import Testing
21
22class callback:
23 def __init__(self):
24 self.reset()
25
26 def __call__(self, o, e, d = None):
27 self.caller = o
28 self.event = e
29 self.calldata = d
30
31 def reset(self):
32 self.caller = None
33 self.event = None
34 self.calldata = None
35
36
37class TestCommand(Testing.vtkTest):

Callers 9

testCommandWithArgsMethod · 0.70
testPriorityArgMethod · 0.70
testRemoveCommandMethod · 0.70
testGetCommandMethod · 0.70
testUseCallDataTypeMethod · 0.70
iterateSimplexFunction · 0.50

Calls

no outgoing calls

Tested by 8

testCommandWithArgsMethod · 0.56
testPriorityArgMethod · 0.56
testRemoveCommandMethod · 0.56
testGetCommandMethod · 0.56
testUseCallDataTypeMethod · 0.56