ns-3
ns3::TestSuite Class Reference

A suite of tests to run. More...

#include <test.h>

Inheritance diagram for ns3::TestSuite:
Collaboration diagram for ns3::TestSuite:

List of all members.

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

- Protected Member Functions inherited from ns3::TestCase
 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)

Detailed Description

A suite of tests to run.


Member Enumeration Documentation

Type of test.

Enumerator:
BVT 

This test suite implements a Build Verification Test

UNIT 

This test suite implements a Unit Test

SYSTEM 

This test suite implements a System Test

EXAMPLE 

This test suite implements an Example Test

PERFORMANCE 

This test suite implements a Performance Test


Constructor & Destructor Documentation

ns3::TestSuite::TestSuite ( std::string  name,
TestSuite::Type  type = UNIT 
)

Constuct a new test suite.

Parameters:
nameThe name of the test suite.
typeThe TestType of the test suite (defaults to UNIT test).

Member Function Documentation

TestSuite::Type ns3::TestSuite::GetTestType ( void  )

get the kind of test this test suite implements

Returns:
the Type of the suite.

The documentation for this class was generated from the following files: