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

Public Member Functions

 LteRrcConnectionEstablishmentTestCase (uint32_t nUes, uint32_t nBearers, uint32_t tc, uint32_t tConnIncrPerUe, uint32_t delayDiscStart, bool useIdealRrc, bool admitRrcConnectionRequest)
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 

Private Member Functions

void CheckConnected (Ptr< NetDevice > ueDevice, Ptr< NetDevice > enbDevice)
 
void Connect (Ptr< NetDevice > ueDevice, Ptr< NetDevice > enbDevice)
 
virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

Static Private Member Functions

static std::string BuildNameString (uint32_t nUes, uint32_t nBearers, uint32_t tc, uint32_t tConnIncrPerUe, uint32_t delayDiscStart, bool useIdealRrc, bool admitRrcConnectionRequest)
 

Private Attributes

bool m_admitRrcConnectionRequest
 
uint32_t m_delayConnEnd
 
uint32_t m_delayDiscEnd
 
uint32_t m_delayDiscStart
 
Ptr< LteHelperm_lteHelper
 
uint32_t m_nBearers
 
uint32_t m_nUes
 
uint32_t m_tConnBase
 
uint32_t m_tConnIncrPerUe
 
bool m_useIdealRrc
 

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...
 
- 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...
 
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 32 of file test-lte-rrc.cc.

Constructor & Destructor Documentation

ns3::LteRrcConnectionEstablishmentTestCase::LteRrcConnectionEstablishmentTestCase ( uint32_t  nUes,
uint32_t  nBearers,
uint32_t  tc,
uint32_t  tConnIncrPerUe,
uint32_t  delayDiscStart,
bool  useIdealRrc,
bool  admitRrcConnectionRequest 
)
Parameters
nUesnumber of UEs in the test
tcconnection time base value for all UEs in ms
tConnIncrPerUeadditional connection time increment for each UE index (0...nUes-1) in ms
delayDiscStartexpected duration to perform connection establishment in ms

Definition at line 94 of file test-lte-rrc.cc.

References ns3::TestCase::GetName(), m_delayConnEnd, m_nBearers, NS_ASSERT, and NS_LOG_LOGIC.

+ Here is the call graph for this function:

Member Function Documentation

std::string ns3::LteRrcConnectionEstablishmentTestCase::BuildNameString ( uint32_t  nUes,
uint32_t  nBearers,
uint32_t  tc,
uint32_t  tConnIncrPerUe,
uint32_t  delayDiscStart,
bool  useIdealRrc,
bool  admitRrcConnectionRequest 
)
staticprivate

Definition at line 67 of file test-lte-rrc.cc.

void ns3::LteRrcConnectionEstablishmentTestCase::CheckConnected ( Ptr< NetDevice ueDevice,
Ptr< NetDevice enbDevice 
)
private
void ns3::LteRrcConnectionEstablishmentTestCase::Connect ( Ptr< NetDevice ueDevice,
Ptr< NetDevice enbDevice 
)
private

Definition at line 241 of file test-lte-rrc.cc.

References m_lteHelper, m_nBearers, and ns3::EpsBearer::NGBR_VIDEO_TCP_DEFAULT.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

bool ns3::LteRrcConnectionEstablishmentTestCase::m_admitRrcConnectionRequest
private

Definition at line 61 of file test-lte-rrc.cc.

Referenced by CheckConnected(), and DoRun().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_delayConnEnd
private

Definition at line 57 of file test-lte-rrc.cc.

Referenced by DoRun(), and LteRrcConnectionEstablishmentTestCase().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_delayDiscEnd
private

Definition at line 59 of file test-lte-rrc.cc.

Referenced by DoRun().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_delayDiscStart
private

Definition at line 58 of file test-lte-rrc.cc.

Referenced by DoRun().

Ptr<LteHelper> ns3::LteRrcConnectionEstablishmentTestCase::m_lteHelper
private

Definition at line 62 of file test-lte-rrc.cc.

Referenced by Connect(), and DoRun().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_nBearers
private

Definition at line 54 of file test-lte-rrc.cc.

Referenced by CheckConnected(), Connect(), and LteRrcConnectionEstablishmentTestCase().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_nUes
private

Definition at line 53 of file test-lte-rrc.cc.

Referenced by DoRun().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_tConnBase
private

Definition at line 55 of file test-lte-rrc.cc.

Referenced by DoRun().

uint32_t ns3::LteRrcConnectionEstablishmentTestCase::m_tConnIncrPerUe
private

Definition at line 56 of file test-lte-rrc.cc.

Referenced by DoRun().

bool ns3::LteRrcConnectionEstablishmentTestCase::m_useIdealRrc
private

Definition at line 60 of file test-lte-rrc.cc.

Referenced by DoRun().


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