#include <lte-test-phy-error-model.h>
Public Member Functions | |
LenaDlCtrlPhyErrorModelTestCase (uint16_t nEnb, uint16_t dist, double blerRef, uint16_t toleranceRxPackets, Time statsStartTime, uint32_t rngRun) | |
virtual | ~LenaDlCtrlPhyErrorModelTestCase () |
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_nEnb |
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) |
Definition at line 61 of file lte-test-phy-error-model.h.
ns3::LenaDlCtrlPhyErrorModelTestCase::LenaDlCtrlPhyErrorModelTestCase | ( | uint16_t | nEnb, |
uint16_t | dist, | ||
double | blerRef, | ||
uint16_t | toleranceRxPackets, | ||
Time | statsStartTime, | ||
uint32_t | rngRun | ||
) |
Definition at line 296 of file lte-test-phy-error-model.cc.
|
virtual |
Definition at line 309 of file lte-test-phy-error-model.cc.
|
staticprivate |
Definition at line 288 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 314 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_nEnb, 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 74 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 73 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 72 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 77 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 76 of file lte-test-phy-error-model.h.
Referenced by DoRun().
|
private |
Definition at line 75 of file lte-test-phy-error-model.h.
Referenced by DoRun().