#include <lte-test-downlink-power-control.h>
Inheritance diagram for LteDownlinkPowerControlTestCase:
Collaboration diagram for LteDownlinkPowerControlTestCase:Public Member Functions | |
| LteDownlinkPowerControlTestCase (bool changePower, uint8_t pa, std::string name) | |
| virtual | ~LteDownlinkPowerControlTestCase () |
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... | |
Private Attributes | |
| bool | m_changePdschConfigDedicated |
| double | m_expectedPowerDiff |
| LteRrcSap::PdschConfigDedicated | m_pdschConfigDedicated |
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, enum TestDuration duration) |
| Add an individual child TestCase to this test suite. More... | |
| 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 382 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 391 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 396 of file lte-test-downlink-power-control.cc.
References ns3::LteHelper::ActivateDataRadioBearer(), ns3::LteChunkProcessor::AddCallback(), ns3::LteHelper::Attach(), ns3::LteFfrSimple::ChangePdschConfigDedicated(), ns3::NodeContainer::Create(), ns3::NetDeviceContainer::Get(), ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::PointerValue::GetObject(), ns3::Object::GetObject(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), m_changePdschConfigDedicated, m_expectedPowerDiff, m_pdschConfigDedicated, ns3::MakeCallback(), 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().
Here is the call graph for this function:
|
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().