tut::callback Struct Reference

#include <tut.h>

Inheritance diagram for tut::callback:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~callback ()
virtual void run_started ()
virtual void test_completed (const test_result &)
virtual void run_completed ()

Detailed Description

Test runner callback interface. Can be implemented by caller to update tests results in real-time. User can implement any of callback methods, and leave unused in default implementation.

Definition at line 174 of file tut.h.


Constructor & Destructor Documentation

virtual tut::callback::~callback (  )  [inline, virtual]

Virtual destructor is a must for subclassed types.

Definition at line 179 of file tut.h.


Member Function Documentation

virtual void tut::callback::run_completed (  )  [inline, virtual]

Called when all tests in run completed.

Reimplemented in tut::reporter.

Definition at line 195 of file tut.h.

Referenced by tut::restartable_wrapper::invoke_callback_(), tut::test_runner::run_test(), and tut::test_runner::run_tests().

virtual void tut::callback::run_started (  )  [inline, virtual]

Called when new test run started.

Reimplemented in tut::reporter.

Definition at line 184 of file tut.h.

Referenced by tut::restartable_wrapper::invoke_callback_(), tut::test_runner::run_test(), and tut::test_runner::run_tests().

virtual void tut::callback::test_completed ( const test_result  )  [inline, virtual]

Called when a test finished.

Parameters:
tr Test results.

Reimplemented in tut::reporter.

Definition at line 190 of file tut.h.

Referenced by tut::restartable_wrapper::invoke_callback_(), tut::test_runner::run_test(), and tut::test_runner::run_tests().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7