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

Public Member Functions

 BasicCallbackTestCase ()
virtual ~BasicCallbackTestCase ()
void Target1 (void)
int Target2 (void)
void Target3 (double a)
int Target4 (double a, int b)
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Private Member Functions

virtual void DoRun (void)
virtual void DoSetup (void)

Private Attributes

bool m_test1
bool m_test2
bool m_test3
bool m_test4

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 28 of file callback-test-suite.cc.

Constructor & Destructor Documentation

ns3::BasicCallbackTestCase::BasicCallbackTestCase ( )

Definition at line 72 of file callback-test-suite.cc.

virtual ns3::BasicCallbackTestCase::~BasicCallbackTestCase ( )
inlinevirtual

Definition at line 32 of file callback-test-suite.cc.

Member Function Documentation

void ns3::BasicCallbackTestCase::DoRun ( void  )
privatevirtual
void ns3::BasicCallbackTestCase::DoSetup ( void  )
privatevirtual
void ns3::BasicCallbackTestCase::Target1 ( void  )
inline

Definition at line 34 of file callback-test-suite.cc.

References m_test1.

Referenced by DoRun().

+ Here is the caller graph for this function:

int ns3::BasicCallbackTestCase::Target2 ( void  )
inline

Definition at line 35 of file callback-test-suite.cc.

References m_test2.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::BasicCallbackTestCase::Target3 ( double  a)
inline

Definition at line 36 of file callback-test-suite.cc.

References m_test3.

Referenced by DoRun().

+ Here is the caller graph for this function:

int ns3::BasicCallbackTestCase::Target4 ( double  a,
int  b 
)
inline

Definition at line 37 of file callback-test-suite.cc.

References m_test4.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

bool ns3::BasicCallbackTestCase::m_test1
private

Definition at line 43 of file callback-test-suite.cc.

Referenced by DoRun(), DoSetup(), and Target1().

bool ns3::BasicCallbackTestCase::m_test2
private

Definition at line 44 of file callback-test-suite.cc.

Referenced by DoRun(), DoSetup(), and Target2().

bool ns3::BasicCallbackTestCase::m_test3
private

Definition at line 45 of file callback-test-suite.cc.

Referenced by DoRun(), DoSetup(), and Target3().

bool ns3::BasicCallbackTestCase::m_test4
private

Definition at line 46 of file callback-test-suite.cc.

Referenced by DoRun(), DoSetup(), and Target4().


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