wibble
1.1
|
Test object. More...
#include <tut.h>
Public Member Functions | |
test_object () | |
Default constructor. More... | |
template<int n> | |
void | test () |
Default do-nothing test. More... | |
Public Attributes | |
bool | called_method_was_a_dummy_test_ |
The flag is set to true by default (dummy) test. More... | |
Test object.
Contains data test run upon and default test method implementation. Inherited from Data to allow tests to
access test data as members.
|
inline |
Default constructor.
Default do-nothing test.
References tut::test_object< Data >::called_method_was_a_dummy_test_.
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.
Referenced by tut::test_object< Data >::test().