ns-3
|
A suite of tests to run. More...
#include <test.h>
Public Types | |
enum | Type { ALL = 0, BVT = 1, UNIT, SYSTEM, EXAMPLE, PERFORMANCE } |
Type of test. More... |
Public Member Functions | |
TestSuite (std::string name, Type type=UNIT) | |
Constuct a new test suite. | |
TestSuite::Type | GetTestType (void) |
get the kind of test this test suite implements |
Additional Inherited Members | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
void | SetDataDir (std::string directory) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
A suite of tests to run.
enum ns3::TestSuite::Type |
ns3::TestSuite::TestSuite | ( | std::string | name, |
TestSuite::Type | type = UNIT |
||
) |
Constuct a new test suite.
name | The name of the test suite. |
type | The TestType of the test suite (defaults to UNIT test). |
TestSuite::Type ns3::TestSuite::GetTestType | ( | void | ) |
get the kind of test this test suite implements