Public Member Functions | |
LteHandoverDelayTestCase (bool useIdealRrc, Time handoverTime, Time delayThreshold, Time simulationDuration) | |
Private Member Functions | |
virtual void | DoRun (void) |
Implementation to actually run this test case. More... | |
void | EnbHandoverEndOkCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | EnbHandoverStartCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId) |
void | UeHandoverEndOkCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti) |
void | UeHandoverStartCallback (std::string context, uint64_t imsi, uint16_t cellid, uint16_t rnti, uint16_t targetCellId) |
Private Attributes | |
Time | m_delayThreshold |
Time | m_enbHandoverStart |
Time | m_handoverTime |
Time | m_simulationDuration |
Time | m_ueHandoverStart |
bool | m_useIdealRrc |
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) NS_DEPRECATED |
Add an individual test case to this test suite. More... | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual test case to this test suite. More... | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
Definition at line 56 of file test-lte-handover-delay.cc.
|
privatevirtual |
Implementation to actually run this test case.
Subclasses should override this method to conduct their tests.
eNodeB 0 UE eNodeB 1
x --------------------— x --------------------— x 500 m 500 m
Implements ns3::TestCase.
Definition at line 93 of file test-lte-handover-delay.cc.
References ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Object::GetObject(), ns3::Time::GetSeconds(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::MobilityHelper::Install(), ns3::MakeCallback(), NS_LOG_INFO, ns3::Simulator::Run(), ns3::Seconds(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), and ns3::Simulator::Stop().