A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LteRlcUmTransmitterTestCase Class Reference

#include <lte-test-rlc-um-transmitter.h>

+ Inheritance diagram for ns3::LteRlcUmTransmitterTestCase:
+ Collaboration diagram for ns3::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 ()

Protected Member Functions

virtual void DoRun (void)
 Implementation to actually run this test case.
- 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)

Protected Attributes

Ptr< LteTestMactxMac
Ptr< LteTestPdcptxPdcp
Ptr< LteRlctxRlc

Private Member Functions

void DoCheckDataReceived (std::string shouldReceived, std::string assertMsg)

Detailed Description

Definition at line 42 of file lte-test-rlc-um-transmitter.h.

Constructor & Destructor Documentation

ns3::LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase ( std::string  name)

Definition at line 57 of file lte-test-rlc-um-transmitter.cc.

ns3::LteRlcUmTransmitterTestCase::LteRlcUmTransmitterTestCase ( )
ns3::LteRlcUmTransmitterTestCase::~LteRlcUmTransmitterTestCase ( )
virtual

Definition at line 63 of file lte-test-rlc-um-transmitter.cc.

Member Function Documentation

void ns3::LteRlcUmTransmitterTestCase::CheckDataReceived ( Time  time,
std::string  shouldReceived,
std::string  assertMsg 
)
void ns3::LteRlcUmTransmitterTestCase::DoCheckDataReceived ( std::string  shouldReceived,
std::string  assertMsg 
)
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:

void ns3::LteRlcUmTransmitterTestCase::DoRun ( void  )
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.

+ Here is the call graph for this function:

Member Data Documentation

Ptr<LteRlc> ns3::LteRlcUmTransmitterTestCase::txRlc
protected

Definition at line 55 of file lte-test-rlc-um-transmitter.h.

Referenced by DoRun().


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