A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::PtrTestCase Class Reference
+ Inheritance diagram for ns3::PtrTestCase:
+ Collaboration diagram for ns3::PtrTestCase:

Public Member Functions

 PtrTestCase ()
void DestroyNotify (void)
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Private Member Functions

Ptr< NoCountCallTest (Ptr< NoCount > p)
Ptr< NoCount > const CallTestConst (Ptr< NoCount > const p)
virtual void DoRun (void)

Private Attributes

uint32_t m_nDestroyed

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.
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)

Detailed Description

Definition at line 50 of file ptr-test-suite.cc.

Constructor & Destructor Documentation

ns3::PtrTestCase::PtrTestCase ( void  )

Definition at line 99 of file ptr-test-suite.cc.

Member Function Documentation

Ptr< NoCount > ns3::PtrTestCase::CallTest ( Ptr< NoCount p)
private

Definition at line 109 of file ptr-test-suite.cc.

Referenced by DoRun().

+ Here is the caller graph for this function:

Ptr< NoCount > const ns3::PtrTestCase::CallTestConst ( Ptr< NoCount > const  p)
private

Definition at line 115 of file ptr-test-suite.cc.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::PtrTestCase::DestroyNotify ( void  )

Definition at line 104 of file ptr-test-suite.cc.

References m_nDestroyed.

Referenced by ns3::NoCount::~NoCount().

+ Here is the caller graph for this function:

void ns3::PtrTestCase::DoRun ( void  )
privatevirtual

Definition at line 122 of file ptr-test-suite.cc.

References CallTest(), CallTestConst(), ns3::GetPointer(), m_nDestroyed, ns3::NoCount::Nothing(), NS_TEST_EXPECT_MSG_EQ, and ns3::PeekPointer().

+ Here is the call graph for this function:

Member Data Documentation

uint32_t ns3::PtrTestCase::m_nDestroyed
private

Definition at line 59 of file ptr-test-suite.cc.

Referenced by DestroyNotify(), and DoRun().


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