#include <lte-test-rlc-um-transmitter.h>
Public Member Functions | |
LteRlcUmTransmitterTestCase (std::string name) | |
LteRlcUmTransmitterTestCase () | |
virtual | ~LteRlcUmTransmitterTestCase () |
void | CheckDataReceived (Time time, std::string shouldReceived, std::string assertMsg) |
![]() | |
virtual | ~TestCase () |
Protected Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this test case. | |
![]() | |
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) |
Protected Attributes | |
Ptr< LteTestMac > | txMac |
Ptr< LteTestPdcp > | txPdcp |
Ptr< LteRlc > | txRlc |
Private Member Functions | |
void | DoCheckDataReceived (std::string shouldReceived, std::string assertMsg) |
Definition at line 42 of file lte-test-rlc-um-transmitter.h.
ns3::LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase | ( | std::string | name | ) |
Definition at line 57 of file lte-test-rlc-um-transmitter.cc.
ns3::LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase | ( | ) |
|
virtual |
Definition at line 63 of file lte-test-rlc-um-transmitter.cc.
void ns3::LteRlcUmTransmitterTestCase::CheckDataReceived | ( | Time | time, |
std::string | shouldReceived, | ||
std::string | assertMsg | ||
) |
Definition at line 106 of file lte-test-rlc-um-transmitter.cc.
References DoCheckDataReceived(), and ns3::Simulator::Schedule().
Referenced by ns3::LteRlcUmTransmitterOneSduTestCase::DoRun(), ns3::LteRlcUmTransmitterSegmentationTestCase::DoRun(), ns3::LteRlcUmTransmitterConcatenationTestCase::DoRun(), and ns3::LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
|
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().
|
protectedvirtual |
Implementation to actually run this test case.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 68 of file lte-test-rlc-um-transmitter.cc.
References ns3::Packet::EnablePrinting(), ns3::LteTestMac::GetLteMacSapProvider(), ns3::LteTestPdcp::GetLteRlcSapUser(), ns3::LteTestMac::SetLteMacSapUser(), ns3::LteTestPdcp::SetLteRlcSapProvider(), ns3::LteTestMac::SetRlcHeaderType(), ns3::LteRlc::SetRnti(), txMac, txPdcp, txRlc, and ns3::LteTestMac::UM_RLC_HEADER.
|
protected |
Definition at line 56 of file lte-test-rlc-um-transmitter.h.
Referenced by DoCheckDataReceived(), DoRun(), ns3::LteRlcUmTransmitterOneSduTestCase::DoRun(), ns3::LteRlcUmTransmitterSegmentationTestCase::DoRun(), ns3::LteRlcUmTransmitterConcatenationTestCase::DoRun(), and ns3::LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
|
protected |
Definition at line 54 of file lte-test-rlc-um-transmitter.h.
Referenced by DoRun(), ns3::LteRlcUmTransmitterOneSduTestCase::DoRun(), ns3::LteRlcUmTransmitterSegmentationTestCase::DoRun(), ns3::LteRlcUmTransmitterConcatenationTestCase::DoRun(), and ns3::LteRlcUmTransmitterReportBufferStatusTestCase::DoRun().
Definition at line 55 of file lte-test-rlc-um-transmitter.h.
Referenced by DoRun().