This system test program creates different test cases with a single eNB and several UEs, all having the same Radio Bearer specification. More...
#include <lte-test-phy-error-model.h>
Public Member Functions | |
LenaDataPhyErrorModelTestCase (uint16_t nUser, uint16_t dist, double blerRef, uint16_t toleranceRxPackets, Time statsStartTime, uint32_t rngRun) | |
virtual | ~LenaDataPhyErrorModelTestCase () |
Public Member Functions inherited from ns3::TestCase | |
virtual | ~TestCase () |
Destructor. More... | |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
Static Private Member Functions | |
static std::string | BuildNameString (uint16_t nUser, uint16_t dist, uint32_t rngRun) |
Private Attributes | |
double | m_blerRef |
uint16_t | m_dist |
uint16_t | m_nUser |
uint32_t | m_rngRun |
Time | m_statsStartTime |
Extra time in the beginning of simulation to allow RRC connection establishment + SRS. More... | |
uint16_t | m_toleranceRxPackets |
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) |
This system test program creates different test cases with a single eNB and several UEs, all having the same Radio Bearer specification.
In each test case, the UEs see the same SINR from the eNB; different test cases are implemented obtained by using different SINR values and different numbers of UEs. The test consists on ...
Definition at line 39 of file lte-test-phy-error-model.h.
ns3::LenaDataPhyErrorModelTestCase::LenaDataPhyErrorModelTestCase | ( | uint16_t | nUser, |
uint16_t | dist, | ||
double | blerRef, | ||
uint16_t | toleranceRxPackets, | ||
Time | statsStartTime, | ||
uint32_t | rngRun | ||
) |
Definition at line 143 of file lte-test-phy-error-model.cc.
|
virtual |
Definition at line 156 of file lte-test-phy-error-model.cc.
|
staticprivate |
Definition at line 136 of file lte-test-phy-error-model.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 161 of file lte-test-phy-error-model.cc.
References ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::EpsBearer::GBR_CONV_VOICE, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Time::GetMilliSeconds(), ns3::Object::GetObject(), ns3::BuildingsHelper::Install(), ns3::MobilityHelper::Install(), m_blerRef, m_dist, m_nUser, m_rngRun, m_statsStartTime, m_toleranceRxPackets, NS_LOG_INFO, NS_TEST_ASSERT_MSG_EQ_TOL, NS_UNUSED, ns3::LteAmc::PiroEW2010, ns3::FfMacScheduler::PUSCH_UL_CQI, ns3::Simulator::Run(), ns3::Config::SetDefault(), ns3::Config::SetGlobal(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityModel::SetPosition(), and ns3::Simulator::Stop().
|
private |
Definition at line 52 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 51 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 50 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 55 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Extra time in the beginning of simulation to allow RRC connection establishment + SRS.
Definition at line 54 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 53 of file lte-test-phy-error-model.h.
Referenced by DoRun().