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

Public Member Functions

 SwitchFlowTableTestCase ()
virtual ~SwitchFlowTableTestCase ()
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Private Member Functions

virtual void DoRun (void)

Private Attributes

sw_chain * m_chain

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 33 of file openflow-switch-test-suite.cc.

Constructor & Destructor Documentation

SwitchFlowTableTestCase::SwitchFlowTableTestCase ( )
inline

Definition at line 36 of file openflow-switch-test-suite.cc.

virtual SwitchFlowTableTestCase::~SwitchFlowTableTestCase ( )
inlinevirtual

Definition at line 41 of file openflow-switch-test-suite.cc.

Member Function Documentation

void SwitchFlowTableTestCase::DoRun ( void  )
privatevirtual

Definition at line 53 of file openflow-switch-test-suite.cc.

References ns3::Mac48Address::CopyTo(), ns3::Ipv4Address::Get(), NS_TEST_ASSERT_MSG_EQ, and NS_TEST_ASSERT_MSG_NE.

+ Here is the call graph for this function:

Member Data Documentation

sw_chain* SwitchFlowTableTestCase::m_chain
private

Definition at line 49 of file openflow-switch-test-suite.cc.


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