A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LteRrcConnectionEstablishmentTestCase Class Reference
+ Inheritance diagram for LteRrcConnectionEstablishmentTestCase:
+ Collaboration diagram for 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...
 
std::string GetName (void) const
 

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...
 
bool GetErrorStatus (void) const NS_DEPRECATED
 
TestCaseGetParent () 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)
 

Detailed Description

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

Constructor & Destructor Documentation

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 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 LteRrcConnectionEstablishmentTestCase::Connect ( Ptr< NetDevice ueDevice,
Ptr< NetDevice enbDevice 
)
private

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

References ns3::LteHelper::ActivateDataRadioBearer(), ns3::LteHelper::Attach(), m_lteHelper, and m_nBearers.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool LteRrcConnectionEstablishmentTestCase::m_admitRrcConnectionRequest
private

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

Referenced by CheckConnected(), and DoRun().

uint32_t LteRrcConnectionEstablishmentTestCase::m_delayConnEnd
private

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

Referenced by DoRun(), and LteRrcConnectionEstablishmentTestCase().

uint32_t LteRrcConnectionEstablishmentTestCase::m_delayDiscEnd
private

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

Referenced by DoRun().

uint32_t LteRrcConnectionEstablishmentTestCase::m_delayDiscStart
private

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

Referenced by DoRun().

Ptr<LteHelper> LteRrcConnectionEstablishmentTestCase::m_lteHelper
private

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

Referenced by Connect(), and DoRun().

uint32_t LteRrcConnectionEstablishmentTestCase::m_nBearers
private

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

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

uint32_t LteRrcConnectionEstablishmentTestCase::m_nUes
private

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

Referenced by DoRun().

uint32_t LteRrcConnectionEstablishmentTestCase::m_tConnBase
private

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

Referenced by DoRun().

uint32_t LteRrcConnectionEstablishmentTestCase::m_tConnIncrPerUe
private

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

Referenced by DoRun().

bool 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: