A Discrete-Event Network Simulator
LteSoftFrAreaTestCase Class Reference

#include "lte-test-frequency-reuse.h"

+ Inheritance diagram for LteSoftFrAreaTestCase:
+ Collaboration diagram for LteSoftFrAreaTestCase:

Public Member Functions

 LteSoftFrAreaTestCase (std::string name, std::string schedulerType)
virtual ~LteSoftFrAreaTestCase ()
- Public Member Functions inherited from LteFrAreaTestCase
 LteFrAreaTestCase (std::string name, std::string schedulerType)
virtual ~LteFrAreaTestCase ()
void DlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
void SetDlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
void SetUlExpectedValues (double expectedPower, std::vector< bool > expectedDlRb)
void SimpleTeleportUe (uint32_t x, uint32_t y)
void TeleportUe (uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
void TeleportUe2 (Ptr< Node > ueNode, uint32_t x, uint32_t y, double expectedPower, std::vector< bool > expectedDlRb)
void UlDataRxStart (Ptr< const SpectrumValue > spectrumValue)
- 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...

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)
 Constructor. More...
void AddTestCase (TestCase *testCase, enum TestDuration duration)
 Add an individual child TestCase to this test suite. More...
TestCaseGetParent () const
 Get the parent of this TestCsse. More...
bool IsStatusFailure (void) const
 Check if any tests failed. More...
bool IsStatusSuccess (void) const
 Check if all tests passed. More...
void SetDataDir (std::string directory)
 Set the data directory where reference trace files can be found. More...
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
 Check if this run should assert on failure. More...
bool MustContinueOnFailure (void) const
 Check if this run should continue on failure. More...
std::string CreateDataDirFilename (std::string filename)
 Construct the full path to a file in the data directory. More...
std::string CreateTempDirFilename (std::string filename)
 Construct the full path to a file in a temporary directory. More...
- Protected Attributes inherited from LteFrAreaTestCase
uint8_t m_dlBandwidth
double m_expectedDlPower
std::vector< bool > m_expectedDlRb
double m_expectedUlPower
std::vector< bool > m_expectedUlRb
std::string m_schedulerType
Time m_teleportTime
Ptr< MobilityModelm_ueMobility
uint8_t m_ulBandwidth
bool m_usedWrongDlPower
bool m_usedWrongDlRbg
bool m_usedWrongUlPower
bool m_usedWrongUlRbg

Detailed Description

Definition at line 167 of file lte-test-frequency-reuse.h.

Constructor & Destructor Documentation

LteSoftFrAreaTestCase::LteSoftFrAreaTestCase ( std::string  name,
std::string  schedulerType 

Definition at line 777 of file lte-test-frequency-reuse.cc.

References NS_LOG_INFO.

LteSoftFrAreaTestCase::~LteSoftFrAreaTestCase ( )

Definition at line 783 of file lte-test-frequency-reuse.cc.

Member Function Documentation

void LteSoftFrAreaTestCase::DoRun ( void  )

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Reimplemented from LteFrAreaTestCase.

Definition at line 788 of file lte-test-frequency-reuse.cc.

References ns3::LteHelper::ActivateDataRadioBearer(), ns3::ListPositionAllocator::Add(), ns3::NetDeviceContainer::Add(), ns3::LteHelper::Attach(), ns3::NodeContainer::Create(), DlDataRxStartNofiticationArea(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::LteSpectrumPhy::GetChannel(), ns3::Object::GetObject(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), LteFrAreaTestCase::m_dlBandwidth, LteFrAreaTestCase::m_schedulerType, LteFrAreaTestCase::m_ueMobility, LteFrAreaTestCase::m_ulBandwidth, LteFrAreaTestCase::m_usedWrongDlRbg, LteFrAreaTestCase::m_usedWrongUlRbg, ns3::MakeBoundCallback(), ns3::MilliSeconds(), third::mobility, NS_LOG_DEBUG, NS_TEST_ASSERT_MSG_EQ, ns3::Config::Reset(), ns3::Seconds(), ns3::LteSimpleSpectrumPhy::SetCellId(), ns3::Config::SetDefault(), ns3::LteHelper::SetFfrAlgorithmAttribute(), ns3::LteHelper::SetFfrAlgorithmType(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteSimpleSpectrumPhy::SetRxSpectrumModel(), ns3::LteHelper::SetSchedulerType(), LteFrAreaTestCase::SetUlExpectedValues(), LteFrAreaTestCase::TeleportUe(), ns3::ObjectBase::TraceConnectWithoutContext(), and UlDataRxStartNofiticationArea().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: