tut::test_object< Data > Class Template Reference

#include <tut.h>

List of all members.

Public Member Functions

 test_object ()
template<int n>
void test ()

Public Attributes

bool called_method_was_a_dummy_test_


Detailed Description

template<class Data>
class tut::test_object< Data >

Test object. Contains data test run upon and default test method implementation. Inherited from Data to allow tests to access test data as members.

Definition at line 398 of file tut.h.


Constructor & Destructor Documentation

template<class Data>
tut::test_object< Data >::test_object (  )  [inline]

Default constructor

Definition at line 404 of file tut.h.


Member Function Documentation

template<class Data>
template<int n>
void tut::test_object< Data >::test (  )  [inline]

Default do-nothing test.

Definition at line 419 of file tut.h.

References tut::test_object< Data >::called_method_was_a_dummy_test_.


Member Data Documentation

template<class Data>
bool tut::test_object< Data >::called_method_was_a_dummy_test_

The flag is set to true by default (dummy) test. Used to detect usused test numbers and avoid unnecessary test object creation which may be time-consuming depending on operations described in Data::Data() and Data::~Data(). TODO: replace with throwing special exception from default test.

Definition at line 404 of file tut.h.

Referenced by tut::test_object< Data >::test().


The documentation for this class 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