#include <UnitTest.h>
◆ UnitTest()
UnitTest::UnitTest |
( |
std::string |
n, |
|
|
TestSuite * |
s |
|
) |
| |
|
inline |
- Parameters
-
n | name of this unit test (probably the name of the tested class) |
◆ ~UnitTest()
UnitTest::~UnitTest |
( |
void |
| ) |
|
◆ addTestCategory()
◆ addTestResult()
void UnitTest::addTestResult |
( |
bool |
r | ) |
|
|
protected |
◆ cleanup()
void UnitTest::cleanup |
( |
void |
| ) |
|
|
virtual |
cleanup the unit test - called after run
Reimplemented in EdgeIteratorTest, MatchingTest, WKSConstructionHeuristicTest, BFSAPHeuristicTest, BitStringTest, DFSAPHeuristicTest, GraphTest, BmpWinFileTest, BmpFileTest, JpegSampleValueTest, SelectorTest, AudioSampleValueTest, AuFileTest, BmpOS2FileTest, BmpPaletteSampleValueTest, BmpRGBSampleValueTest, JpegFileTest, WavFileTest, and WavPCMSampleValueTest.
◆ run()
void UnitTest::run |
( |
void |
| ) |
|
|
virtual |
◆ setup()
void UnitTest::setup |
( |
void |
| ) |
|
|
virtual |
setup the unit test - called before run
UnitTest::setup will (together with UnitTest::cleanup) save and restore the object stored in Globs so they should be called from the corresponding functions in the derived object if the derived unit test manipulates the Globs object.
Reimplemented in EdgeIteratorTest, MatchingTest, WKSConstructionHeuristicTest, BFSAPHeuristicTest, BitStringTest, DFSAPHeuristicTest, SampleValueAdjacencyListTest, GraphTest, BmpWinFileTest, BmpFileTest, JpegSampleValueTest, SelectorTest, AudioSampleValueTest, AuFileTest, BmpOS2FileTest, BmpPaletteSampleValueTest, BmpRGBSampleValueTest, JpegFileTest, WavFileTest, and WavPCMSampleValueTest.
◆ strip_test()
char* UnitTest::strip_test |
( |
char * |
s | ) |
|
|
inlineprotected |
◆ GlobsBackup
◆ TestCategories
The documentation for this class was generated from the following files: