Public Member Functions | |
AttributeTestCase (std::string description) | |
virtual | ~AttributeTestCase () |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
bool | CheckGetCodePaths (Ptr< Object > p, std::string attributeName, std::string expectedString, T expectedValue) |
virtual void | DoRun (void) |
template<> | |
void | DoRun (void) |
template<> | |
void | DoRun (void) |
template<> | |
void | DoRun (void) |
template<> | |
void | DoRun (void) |
template<> | |
void | DoRun (void) |
Additional Inherited Members | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) |
Add an individual test case to this test suite. | |
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 255 of file attribute-test-suite.cc.
ns3::AttributeTestCase< T >::AttributeTestCase | ( | std::string | description | ) |
Definition at line 268 of file attribute-test-suite.cc.
|
virtual |
Definition at line 274 of file attribute-test-suite.cc.
|
private |
Definition at line 279 of file attribute-test-suite.cc.
References ns3::StringValue::Get(), and ns3::ObjectBase::GetAttributeFailSafe().
|
privatevirtual |
|
private |
Definition at line 307 of file attribute-test-suite.cc.
References NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, ns3::ObjectBase::SetAttributeFailSafe(), ns3::Config::SetDefault(), and ns3::Config::SetDefaultFailSafe().
|
private |
Definition at line 385 of file attribute-test-suite.cc.
References NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, and ns3::ObjectBase::SetAttributeFailSafe().
|
private |
Definition at line 495 of file attribute-test-suite.cc.
References NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, and ns3::ObjectBase::SetAttributeFailSafe().
|
private |
Definition at line 566 of file attribute-test-suite.cc.
References NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, and ns3::ObjectBase::SetAttributeFailSafe().
|
private |
Definition at line 592 of file attribute-test-suite.cc.
References NS_TEST_ASSERT_MSG_EQ, NS_TEST_ASSERT_MSG_NE, ns3::ObjectBase::SetAttributeFailSafe(), ns3::AttributeObjectTest::TEST_A, ns3::AttributeObjectTest::TEST_B, and ns3::AttributeObjectTest::TEST_C.