Public Member Functions | |
LteEnbAntennaTestCase (double orientationDegrees, double beamwidthDegrees, double x, double y, double antennaGainDb) | |
LteEnbAntennaTestCase () | |
virtual | ~LteEnbAntennaTestCase () |
![]() | |
virtual | ~TestCase () |
Destructor. More... | |
std::string | GetName (void) const |
Static Public Member Functions | |
static std::string | BuildNameString (double orientationDegrees, double beamwidthDegrees, double x, double y) |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this TestCase. More... | |
Private Attributes | |
double | m_antennaGainDb |
double | m_beamwidthDegrees |
double | m_orientationDegrees |
double | m_x |
double | m_y |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
Constructor. More... | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual child TestCase to this test suite. More... | |
TestCase * | GetParent () 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... | |
Definition at line 48 of file test-lte-antenna.cc.
LteEnbAntennaTestCase::LteEnbAntennaTestCase | ( | double | orientationDegrees, |
double | beamwidthDegrees, | ||
double | x, | ||
double | y, | ||
double | antennaGainDb | ||
) |
Definition at line 80 of file test-lte-antenna.cc.
References NS_LOG_FUNCTION.
LteEnbAntennaTestCase::LteEnbAntennaTestCase | ( | ) |
|
virtual |
Definition at line 91 of file test-lte-antenna.cc.
|
static |
Definition at line 69 of file test-lte-antenna.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 96 of file test-lte-antenna.cc.
References ns3::LteHelper::ActivateDataRadioBearer(), ns3::ListPositionAllocator::Add(), ns3::LteHelper::Attach(), ns3::Config::Connect(), ns3::NodeContainer::Create(), ns3::NetDeviceContainer::Get(), ns3::LtePhy::GetDownlinkSpectrumPhy(), ns3::Object::GetObject(), ns3::LteGlobalPathlossDatabase::GetPathloss(), ns3::LtePhy::GetUplinkSpectrumPhy(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), m_antennaGainDb, m_beamwidthDegrees, m_orientationDegrees, m_x, m_y, ns3::MakeCallback(), third::mobility, NS_TEST_ASSERT_MSG_EQ_TOL, ns3::Config::Reset(), ns3::Seconds(), ns3::ObjectBase::SetAttribute(), ns3::Config::SetDefault(), ns3::LteHelper::SetEnbAntennaModelAttribute(), ns3::LteHelper::SetEnbAntennaModelType(), ns3::MobilityHelper::SetMobilityModel(), ns3::LteHelper::SetPathlossModelAttribute(), ns3::MobilityHelper::SetPositionAllocator(), ns3::LteHelper::SetSchedulerAttribute(), and ns3::LteHelper::SetSchedulerType().
|
private |
Definition at line 63 of file test-lte-antenna.cc.
Referenced by DoRun().
|
private |
Definition at line 60 of file test-lte-antenna.cc.
Referenced by DoRun().
|
private |
Definition at line 59 of file test-lte-antenna.cc.
Referenced by DoRun().
|
private |
Definition at line 61 of file test-lte-antenna.cc.
Referenced by DoRun().
|
private |
Definition at line 62 of file test-lte-antenna.cc.
Referenced by DoRun().