![]() |
Public API Reference |
#include <utiltest.h>
Inheritance diagram for csUtilDebugHelper:
Public Methods | |
virtual int | GetSupportedTests () const |
Return a bit field indicating what types of functions this specific unit test implementation supports. More... | |
virtual csPtr< iString > | UnitTest () |
Perform a unit test. More... | |
virtual csPtr< iString > | StateTest () |
Perform a state test. More... | |
virtual csTicks | Benchmark (int) |
Perform a benchmark. More... | |
virtual csPtr< iString > | Dump () |
Do a text dump of the current state of this object. More... | |
virtual void | Dump (iGraphics3D *) |
Do a graphical dump of the current state of this object. More... | |
virtual bool | DebugCommand (const char *) |
Perform a debug command as defined by the module itself. More... |
Definition at line 28 of file utiltest.h.
|
Perform a benchmark. This function will return a number indicating how long the benchmark lasted in milliseconds. Implements iDebugHelper. Definition at line 44 of file utiltest.h. References csTicks. |
|
Perform a debug command as defined by the module itself. Returns 'false' if the command was not recognized. Implements iDebugHelper. Definition at line 55 of file utiltest.h. |
|
Do a graphical dump of the current state of this object.
Implements iDebugHelper. Definition at line 52 of file utiltest.h. |
|
Do a text dump of the current state of this object. Returns NULL if not supported or else a string which you should DecRef() after use. Implements iDebugHelper. Definition at line 48 of file utiltest.h. |
|
Return a bit field indicating what types of functions this specific unit test implementation supports. This will return a combination of the CS_DBGHELP_... flags: Implements iDebugHelper. Definition at line 35 of file utiltest.h. References CS_DBGHELP_UNITTEST. |
|
Perform a state test. This function will test if the current state of the object is ok. It will return NULL if it is ok. Otherwise an iString is returned containing some information about the errors. DecRef() this returned string after using it. Implements iDebugHelper. Definition at line 40 of file utiltest.h. |
|
Perform a unit test. This function will try to test as much as possible of the given module. This function returns NULL if the test succeeded. Otherwise an iString is returned containing some information about the errors. DecRef() this returned string after using it. Implements iDebugHelper. |