A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::LteEpcE2eDataTestCase Class Reference
+ Inheritance diagram for ns3::LteEpcE2eDataTestCase:
+ Collaboration diagram for ns3::LteEpcE2eDataTestCase:

Public Member Functions

 LteEpcE2eDataTestCase (std::string name, std::vector< EnbTestData > v)
 
virtual ~LteEpcE2eDataTestCase ()
 
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()
 Destructor. More...
 

Private Member Functions

virtual void DoRun (void)
 Implementation to actually run this TestCase. More...
 

Private Attributes

std::vector< EnbTestDatam_enbTestData
 

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 child TestCase case to this TestCase. More...
 
void AddTestCase (TestCase *testCase, enum TestDuration duration)
 Add an individual child TestCase 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)
 

Detailed Description

Definition at line 88 of file test-lte-epc-e2e-data.cc.

Constructor & Destructor Documentation

ns3::LteEpcE2eDataTestCase::LteEpcE2eDataTestCase ( std::string  name,
std::vector< EnbTestData v 
)

Definition at line 100 of file test-lte-epc-e2e-data.cc.

References NS_LOG_FUNCTION.

ns3::LteEpcE2eDataTestCase::~LteEpcE2eDataTestCase ( )
virtual

Definition at line 107 of file test-lte-epc-e2e-data.cc.

Member Function Documentation

void ns3::LteEpcE2eDataTestCase::DoRun ( void  )
privatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Definition at line 112 of file test-lte-epc-e2e-data.cc.

References ns3::Ipv4AddressHelper::Assign(), ns3::NetDeviceContainer::Begin(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::BearerTestData::dlClientApp, ns3::BearerTestData::dlServerApp, ns3::NetDeviceContainer::End(), ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::TestCase::GetName(), ns3::Object::GetObject(), GetPosition(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::MobilityHelper::Install(), ns3::BearerTestData::interPacketInterval, ns3::EpcTft::PacketFilter::localPortStart, m_enbTestData, ns3::EpsBearer::NGBR_VOICE_VIDEO_GAMING, NS_ABORT_IF, NS_LOG_FUNCTION, NS_TEST_ASSERT_MSG_EQ, ns3::BearerTestData::numPkts, ns3::BearerTestData::pktSize, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), ns3::Simulator::Run(), ns3::Config::Set(), ns3::UdpEchoClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), ns3::BearerTestData::ulClientApp, ns3::BearerTestData::ulServerApp, ns3::Vector3D::x, and ns3::Vector3D::y.

+ Here is the call graph for this function:

Member Data Documentation

std::vector<EnbTestData> ns3::LteEpcE2eDataTestCase::m_enbTestData
private

Definition at line 96 of file test-lte-epc-e2e-data.cc.

Referenced by DoRun().


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