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>
Inheritance diagram for LenaDataPhyErrorModelTestCase:
Collaboration diagram for LenaDataPhyErrorModelTestCase: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... | |
| std::string | GetName (void) const |
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... | |
| bool | GetErrorStatus (void) const NS_DEPRECATED |
| TestCase * | GetParent () 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) |
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.
| 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::LteHelper::ActivateDataRadioBearer(), ns3::LteHelper::AssignStreams(), ns3::LteHelper::Attach(), ns3::NodeContainer::Create(), ns3::LteHelper::EnableRlcTraces(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::RadioBearerStatsCalculator::GetDlRxPackets(), ns3::RadioBearerStatsCalculator::GetDlTxPackets(), ns3::Time::GetMilliSeconds(), ns3::Object::GetObject(), ns3::LteUeNetDevice::GetPhy(), ns3::LteEnbNetDevice::GetPhy(), ns3::LteHelper::GetRlcStats(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), m_blerRef, m_dist, m_nUser, m_rngRun, m_statsStartTime, m_toleranceRxPackets, NS_LOG_INFO, NS_TEST_ASSERT_MSG_EQ_TOL, NS_UNUSED, ns3::Seconds(), ns3::ObjectBase::SetAttribute(), ns3::Config::SetDefault(), ns3::Config::SetGlobal(), ns3::MobilityHelper::SetMobilityModel(), ns3::LteHelper::SetPathlossModelAttribute(), ns3::MobilityModel::SetPosition(), ns3::LteHelper::SetSchedulerAttribute(), and ns3::LteHelper::SetSchedulerType().
Here is the call graph for this function:
|
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().