#include <lte-test-rlc-um-transmitter.h>
Inheritance diagram for LteRlcUmTransmitterTestCase:
Collaboration diagram for LteRlcUmTransmitterTestCase:Public Member Functions | |
| LteRlcUmTransmitterTestCase (std::string name) | |
| LteRlcUmTransmitterTestCase () | |
| virtual | ~LteRlcUmTransmitterTestCase () |
| void | CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg) |
Public Member Functions inherited from ns3::TestCase | |
| virtual | ~TestCase () |
| Destructor. More... | |
| std::string | GetName (void) const |
Protected Member Functions | |
| virtual void | DoRun (void) |
| Implementation to actually run this TestCase. More... | |
Protected Member Functions inherited from ns3::TestCase | |
| 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... | |
| bool | GetErrorStatus (void) const NS_DEPRECATED |
| TestCase * | GetParent () const |
| bool | IsStatusFailure (void) const |
| bool | IsStatusSuccess (void) const |
| void | SetDataDir (std::string directory) |
| void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
| Log the failure of this TestCase. More... | |
| bool | MustAssertOnFailure (void) const |
| bool | MustContinueOnFailure (void) const |
| std::string | CreateDataDirFilename (std::string filename) |
| std::string | CreateTempDirFilename (std::string filename) |
Protected Attributes | |
| Ptr< LteTestMac > | txMac |
| Ptr< LteTestPdcp > | txPdcp |
| Ptr< LteRlc > | txRlc |
Private Member Functions | |
| void | DoCheckDataReceived (std::string shouldReceived, std::string assertMsg) |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
| enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
| How long the test takes to execute. More... | |
Definition at line 45 of file lte-test-rlc-um-transmitter.h.
| LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase | ( | std::string | name | ) |
Definition at line 57 of file lte-test-rlc-um-transmitter.cc.
| LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase | ( | ) |
|
virtual |
Definition at line 63 of file lte-test-rlc-um-transmitter.cc.
| void LteRlcUmTransmitterTestCase::CheckDataReceived | ( | Time | time, |
| std::string | shouldReceived, | ||
| std::string | assertMsg | ||
| ) |
Definition at line 106 of file lte-test-rlc-um-transmitter.cc.
References DoCheckDataReceived().
Referenced by LteRlcUmTransmitterOneSduTestCase::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), and LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 112 of file lte-test-rlc-um-transmitter.cc.
References ns3::LteTestMac::GetDataReceived(), NS_TEST_ASSERT_MSG_EQ, and txMac.
Referenced by CheckDataReceived().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Reimplemented in LteRlcUmTransmitterReportBufferStatusTestCase, LteRlcUmTransmitterConcatenationTestCase, LteRlcUmTransmitterSegmentationTestCase, and LteRlcUmTransmitterOneSduTestCase.
Definition at line 68 of file lte-test-rlc-um-transmitter.cc.
References ns3::LteTestMac::GetLteMacSapProvider(), ns3::LteTestPdcp::GetLteRlcSapUser(), ns3::LteTestMac::SetLteMacSapUser(), ns3::LteTestPdcp::SetLteRlcSapProvider(), ns3::LteTestMac::SetRlcHeaderType(), ns3::LteRlc::SetRnti(), txMac, txPdcp, and txRlc.
Referenced by LteRlcUmTransmitterOneSduTestCase::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), and LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 59 of file lte-test-rlc-um-transmitter.h.
Referenced by DoCheckDataReceived(), DoRun(), LteRlcUmTransmitterOneSduTestCase::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), and LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
|
protected |
Definition at line 58 of file lte-test-rlc-um-transmitter.h.
Referenced by DoRun().