Classes | |
struct | BearerData |
struct | UeData |
Public Member Functions | |
LteX2HandoverTestCase (uint32_t nUes, uint32_t nDedicatedBearers, std::list< HandoverEvent > handoverEventList, std::string handoverEventListName, bool useUdp, std::string schedulerType, bool admitHo, bool useIdealRrc) | |
Private Member Functions | |
void | CheckConnected (Ptr< NetDevice > ueDevice, Ptr< NetDevice > enbDevice) |
void | CheckStatsAWhileAfterHandover (uint32_t ueIndex) |
virtual void | DoRun (void) |
Implementation to actually run this test case. More... | |
void | SaveStatsAfterHandover (uint32_t ueIndex) |
Private Attributes | |
bool | m_admitHo |
bool | m_epc |
Ptr< EpcHelper > | m_epcHelper |
std::list< HandoverEvent > | m_handoverEventList |
std::string | m_handoverEventListName |
Ptr< LteHelper > | m_lteHelper |
const Time | m_maxHoDuration |
uint32_t | m_nDedicatedBearers |
uint32_t | m_nUes |
std::string | m_schedulerType |
const Time | m_statsDuration |
std::vector< UeData > | m_ueDataVector |
bool | m_useIdealRrc |
bool | m_useUdp |
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 43 of file test-lte-x2-handover.cc.
ns3::LteX2HandoverTestCase::LteX2HandoverTestCase | ( | uint32_t | nUes, |
uint32_t | nDedicatedBearers, | ||
std::list< HandoverEvent > | handoverEventList, | ||
std::string | handoverEventListName, | ||
bool | useUdp, | ||
std::string | schedulerType, | ||
bool | admitHo, | ||
bool | useIdealRrc | ||
) |
nUes | number of UEs in the test |
nDedicatedBearers | number of bearers to be activated per UE |
handoverEventList | |
handoverEventListName | |
useUdp | true if UDP is to be used, false if TCP is to be used |
Definition at line 123 of file test-lte-x2-handover.cc.
|
privatevirtual |
Implementation to actually run this test case.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 140 of file test-lte-x2-handover.cc.
References ns3::ApplicationContainer::Add(), ns3::Ipv4AddressHelper::Assign(), ns3::NetDeviceContainer::Begin(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::NetDeviceContainer::End(), ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::NetDeviceContainer::GetN(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::UniformRandomVariable::GetValue(), ns3::PacketSinkHelper::Install(), ns3::BulkSendHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::UdpClientHelper::Install(), ns3::MobilityHelper::Install(), ns3::EpcTft::PacketFilter::localPortEnd, ns3::EpcTft::PacketFilter::localPortStart, ns3::MilliSeconds(), NS_LOG_FUNCTION, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::BulkSendHelper::SetAttribute(), ns3::ObjectBase::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::RandomVariableStream::SetStream(), ns3::ApplicationContainer::Start(), and ns3::Simulator::Stop().