Public Member Functions | |
PbbTestSuite () | |
![]() | |
TestSuite (std::string name, Type type=UNIT) | |
Constuct a new test suite. More... | |
TestSuite::Type | GetTestType (void) |
get the kind of test this test suite implements More... | |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | Type { ALL = 0, BVT = 1, UNIT, SYSTEM, EXAMPLE, PERFORMANCE } |
Type of test. More... | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
Add an individual child TestCase case to this TestCase. More... | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
Definition at line 102 of file packetbb-test-suite.cc.
PbbTestSuite::PbbTestSuite | ( | ) |
Definition at line 108 of file packetbb-test-suite.cc.
References ns3::PbbMessage::AddressBlockPushBack(), ns3::PbbAddressBlock::AddressPushBack(), ns3::TestCase::AddTestCase(), anonymous_namespace{rng-stream.cc}::m1, anonymous_namespace{rng-stream.cc}::m2, ns3::PbbPacket::MessagePushBack(), ns3::PbbAddressBlock::PrefixPushBack(), ns3::PbbMessage::SetHopCount(), ns3::PbbMessage::SetHopLimit(), ns3::PbbAddressTlv::SetIndexStart(), ns3::PbbAddressTlv::SetIndexStop(), ns3::PbbAddressTlv::SetMultivalue(), ns3::PbbMessage::SetOriginatorAddress(), ns3::PbbPacket::SetSequenceNumber(), ns3::PbbMessage::SetSequenceNumber(), ns3::PbbMessage::SetType(), ns3::PbbTlv::SetType(), ns3::PbbTlv::SetTypeExt(), ns3::PbbTlv::SetValue(), ns3::PbbPacket::TlvPushBack(), ns3::PbbMessage::TlvPushBack(), and ns3::PbbAddressBlock::TlvPushBack().