Test case wrapper class. More...
|const char *||get_description () const|
|bool||is_empty () const|
|const char *||description|
|Textual description of the test case. More...|
|Primitive test case handler This is called only if the case setup succeeded. More...|
|Handler called before the execution of the case handler. More...|
|Handler called after the execution of the case handler. More...|
|Handler called whenever a faillure occur; at any stage of the case execution (including setup and teardown). More...|
Test case wrapper class.
This class contains the description of the test case and all handlers for setting up, running the test case, tearing down and handling failures.
By default you only need to provide a description and a test case handler. You may override the setup, teardown and failure handlers, but you do not have to. If you do not override these handler, the specified default handlers will be called.
These constructors are overloaded to allow you a comfortable declaration of all your callbacks. The order is always:
ignore_handlerfor all callbacks), the harness will abort the test unconditionally.