#include <lte-test-downlink-power-control.h>
Public Member Functions | |
LteDownlinkPowerControlTestCase (bool changePower, uint8_t pa, std::string name) | |
virtual | ~LteDownlinkPowerControlTestCase () |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
Private Attributes | |
bool | m_changePdschConfigDedicated |
double | m_expectedPowerDiff |
LteRrcSap::PdschConfigDedicated | m_pdschConfigDedicated |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
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) |
Definition at line 62 of file lte-test-downlink-power-control.h.
LteDownlinkPowerControlTestCase::LteDownlinkPowerControlTestCase | ( | bool | changePower, |
uint8_t | pa, | ||
std::string | name | ||
) |
Definition at line 380 of file lte-test-downlink-power-control.cc.
References m_changePdschConfigDedicated, m_expectedPowerDiff, m_pdschConfigDedicated, NS_LOG_INFO, and ns3::LteRrcSap::PdschConfigDedicated::pa.
|
virtual |
Definition at line 389 of file lte-test-downlink-power-control.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Simulation Topology
Implements ns3::TestCase.
Definition at line 394 of file lte-test-downlink-power-control.cc.
References ns3::LteHelper::ActivateDataRadioBearer(), ns3::LteHelper::Attach(), ns3::LteFfrSimple::ChangePdschConfigDedicated(), ns3::NodeContainer::Create(), ns3::NetDeviceContainer::Get(), ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::PointerValue::GetObject(), ns3::Object::GetObject(), ns3::LteTestSinrChunkProcessor::GetSinr(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), m_changePdschConfigDedicated, m_expectedPowerDiff, m_pdschConfigDedicated, NS_LOG_DEBUG, NS_TEST_ASSERT_MSG_EQ_TOL, ns3::Config::Reset(), ns3::Seconds(), ns3::Config::SetDefault(), ns3::LteHelper::SetFfrAlgorithmType(), ns3::MobilityHelper::SetMobilityModel(), ns3::LteFfrSimple::SetPdschConfigDedicated(), and ns3::LteHelper::SetSchedulerType().
|
private |
Definition at line 71 of file lte-test-downlink-power-control.h.
Referenced by DoRun(), and LteDownlinkPowerControlTestCase().
|
private |
Definition at line 73 of file lte-test-downlink-power-control.h.
Referenced by DoRun(), and LteDownlinkPowerControlTestCase().
|
private |
Definition at line 72 of file lte-test-downlink-power-control.h.
Referenced by DoRun(), and LteDownlinkPowerControlTestCase().