A Discrete-Event Network Simulator
API
LteEpcE2eDataTestCase Class Reference
+ Inheritance diagram for LteEpcE2eDataTestCase:
+ Collaboration diagram for 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...
 
std::string GetName (void) const
 

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)
 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...
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

References NS_LOG_FUNCTION.

LteEpcE2eDataTestCase::~LteEpcE2eDataTestCase ( )
virtual

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

Member Function Documentation

void 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 109 of file test-lte-epc-e2e-data.cc.

References ns3::LteHelper::ActivateDedicatedEpsBearer(), ns3::EpcTft::Add(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::Ipv4AddressHelper::Assign(), ns3::LteHelper::Attach(), ns3::NetDeviceContainer::Begin(), ns3::NodeContainer::Create(), BearerTestData::dlClientApp, BearerTestData::dlServerApp, ns3::LteHelper::EnablePdcpTraces(), ns3::NetDeviceContainer::End(), ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::TestCase::GetName(), ns3::Object::GetObject(), ns3::LteHelper::GetPdcpStats(), GetPosition(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::PacketSinkHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::MobilityHelper::Install(), ns3::LteHelper::InstallEnbDevice(), ns3::LteHelper::InstallUeDevice(), BearerTestData::interPacketInterval, ns3::EpcTft::PacketFilter::localPortStart, m_enbTestData, NS_ABORT_IF, NS_LOG_FUNCTION, NS_TEST_ASSERT_MSG_EQ, BearerTestData::numPkts, BearerTestData::pktSize, ns3::EpcTft::PacketFilter::remotePortEnd, ns3::EpcTft::PacketFilter::remotePortStart, ns3::Config::Reset(), ns3::Seconds(), ns3::Config::Set(), ns3::ObjectBase::SetAttribute(), ns3::UdpEchoClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::Config::SetDefault(), ns3::Ipv4StaticRouting::SetDefaultRoute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::LteHelper::SetEpcHelper(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::ApplicationContainer::Start(), BearerTestData::ulClientApp, and BearerTestData::ulServerApp.

+ Here is the call graph for this function:

Member Data Documentation

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

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

Referenced by DoRun().


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