Hi Marco,
it can do both, but I think you should only test single public function
calls and interactions (mouse click, wheel, DnD, etc.).
The method is simple. You create a tester object with the object that you
want to test. The you connect the tester to the ITK events that you want to
listen to. It connects itself to all the Qt signals of the object
automatically.
Then you call some functions of the object.
Any of these ITK events or Qt signals are received, the tester checks if
the state of the object has changed, if yes, wether the new state is
consistent etc.
Then you call tester->Clear(); and you can test other functions or
interactions.
Miklos
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users