Lte Distributed Ffr Area Test Case. More...
#include "lte-test-frequency-reuse.h"
Public Member Functions | |
LteDistributedFfrAreaTestCase (std::string name, std::string schedulerType) | |
Constructor. | |
~LteDistributedFfrAreaTestCase () override | |
Public Member Functions inherited from LteFrAreaTestCase | |
LteFrAreaTestCase (std::string name, std::string schedulerType) | |
Constructor. | |
~LteFrAreaTestCase () override | |
void | DlDataRxStart (Ptr< const SpectrumValue > spectrumValue) |
DL data receive start function. | |
void | SetDlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb) |
Set DL expected values function. | |
void | SetUlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb) |
Set UL expected values function. | |
void | SimpleTeleportUe (uint32_t x, uint32_t y) |
Simple teleport UE function. | |
void | TeleportUe (uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb) |
Teleport UE function. | |
void | TeleportUe2 (Ptr< Node > ueNode, uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb) |
Teleport UE 2 function. | |
void | UlDataRxStart (Ptr< const SpectrumValue > spectrumValue) |
UL data receive start function. | |
Public Member Functions inherited from ns3::TestCase | |
TestCase (const TestCase &)=delete | |
virtual | ~TestCase () |
Destructor. | |
std::string | GetName () const |
TestCase & | operator= (const TestCase &)=delete |
Private Member Functions | |
void | DoRun () override |
Implementation to actually run this TestCase. | |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
enum class | Duration { QUICK = 1 , EXTENSIVE = 2 , TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
Static Public Attributes inherited from ns3::TestCase | |
static constexpr auto | QUICK = Duration::QUICK |
Deprecated test duration simple enums. | |
static constexpr auto | EXTENSIVE = Duration::EXTENSIVE |
static constexpr auto | TAKES_FOREVER = Duration::TAKES_FOREVER |
Protected Member Functions inherited from LteFrAreaTestCase | |
void | DoRun () override |
Implementation to actually run this TestCase. | |
Protected Member Functions inherited from ns3::TestCase | |
TestCase (std::string name) | |
Constructor. | |
void | AddTestCase (TestCase *testCase, Duration duration=Duration::QUICK) |
Add an individual child TestCase to this test suite. | |
TestCase * | GetParent () const |
Get the parent of this TestCase. | |
bool | IsStatusFailure () const |
Check if any tests failed. | |
bool | IsStatusSuccess () const |
Check if all tests passed. | |
void | SetDataDir (std::string directory) |
Set the data directory where reference trace files can be found. | |
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. | |
bool | MustAssertOnFailure () const |
Check if this run should assert on failure. | |
bool | MustContinueOnFailure () const |
Check if this run should continue on failure. | |
std::string | CreateDataDirFilename (std::string filename) |
Construct the full path to a file in the data directory. | |
std::string | CreateTempDirFilename (std::string filename) |
Construct the full path to a file in a temporary directory. | |
Protected Attributes inherited from LteFrAreaTestCase | |
uint16_t | m_dlBandwidth |
the DL bandwidth | |
double | m_expectedDlPower |
the expected DL power | |
std::vector< bool > | m_expectedDlRb |
the expected DL per RB | |
double | m_expectedUlPower |
expected UL power | |
std::vector< bool > | m_expectedUlRb |
expected UL per RB | |
std::string | m_schedulerType |
the scheduler type | |
Time | m_teleportTime |
the teleport time | |
Ptr< MobilityModel > | m_ueMobility |
the UE mobility model | |
uint16_t | m_ulBandwidth |
the UL bandwidth | |
bool | m_usedWrongDlPower |
used wrong DL power? | |
bool | m_usedWrongDlRbg |
used wrong DL RBG? | |
bool | m_usedWrongUlPower |
used wrong UL power? | |
bool | m_usedWrongUlRbg |
used wrong UL RBG? | |
Lte Distributed Ffr Area Test Case.
Definition at line 377 of file lte-test-frequency-reuse.h.
LteDistributedFfrAreaTestCase::LteDistributedFfrAreaTestCase | ( | std::string | name, |
std::string | schedulerType ) |
Constructor.
name | the reference name |
schedulerType | the scheduler type |
Definition at line 1934 of file lte-test-frequency-reuse.cc.
References NS_LOG_INFO.
|
override |
Definition at line 1941 of file lte-test-frequency-reuse.cc.
|
overrideprivatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 1946 of file lte-test-frequency-reuse.cc.
References ns3::NetDeviceContainer::Add(), ns3::Ipv4AddressHelper::Assign(), ns3::Create(), ns3::NodeContainer::Create(), ns3::CreateObject(), ns3::LteRrcSap::PdschConfigDedicated::dB0, ns3::LteRrcSap::PdschConfigDedicated::dB3, ns3::Simulator::Destroy(), DlDataRxStartNotificationArea(), ns3::EpsBearer::GBR_CONV_VOICE, ns3::GbrQosInformation::gbrDl, ns3::GbrQosInformation::gbrUl, ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::LteSpectrumValueHelper::GetSpectrumModel(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::ApplicationHelper::Install(), ns3::PointToPointHelper::Install(), ns3::EpcTft::PacketFilter::localPortEnd, ns3::EpcTft::PacketFilter::localPortStart, LteFrAreaTestCase::m_dlBandwidth, LteFrAreaTestCase::m_schedulerType, LteFrAreaTestCase::m_ueMobility, LteFrAreaTestCase::m_ulBandwidth, LteFrAreaTestCase::m_usedWrongDlRbg, LteFrAreaTestCase::m_usedWrongUlRbg, ns3::MakeBoundCallback(), ns3::GbrQosInformation::mbrDl, ns3::GbrQosInformation::mbrUl, ns3::MilliSeconds(), NS_LOG_DEBUG, NS_LOG_LOGIC, NS_TEST_ASSERT_MSG_EQ, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::ApplicationHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), LteFrAreaTestCase::SetUlExpectedValues(), ns3::Simulator::Stop(), LteFrAreaTestCase::TeleportUe(), LteFrAreaTestCase::TeleportUe2(), and UlDataRxStartNotificationArea().