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

Public Member Functions

 EpcS1uDlTestCase (std::string name, std::vector< EnbDlTestData > v)
 
virtual ~EpcS1uDlTestCase ()
 
- 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< EnbDlTestDatam_enbDlTestData
 

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...
 
bool GetErrorStatus (void) const NS_DEPRECATED
 
TestCaseGetParent () const
 
bool IsStatusFailure (void) const
 
bool IsStatusSuccess (void) const
 
void SetDataDir (std::string directory)
 
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
 
bool MustContinueOnFailure (void) const
 
std::string CreateDataDirFilename (std::string filename)
 
std::string CreateTempDirFilename (std::string filename)
 

Detailed Description

Definition at line 75 of file epc-test-s1u-downlink.cc.

Constructor & Destructor Documentation

EpcS1uDlTestCase::EpcS1uDlTestCase ( std::string  name,
std::vector< EnbDlTestData v 
)

Definition at line 87 of file epc-test-s1u-downlink.cc.

EpcS1uDlTestCase::~EpcS1uDlTestCase ( )
virtual

Definition at line 93 of file epc-test-s1u-downlink.cc.

Member Function Documentation

void EpcS1uDlTestCase::DoRun ( void  )
privatevirtual

Implementation to actually run this TestCase.

Subclasses should override this method to conduct their tests.

Implements ns3::TestCase.

Definition at line 98 of file epc-test-s1u-downlink.cc.

References ns3::PointToPointEpcHelper::ActivateEpsBearer(), ns3::NodeContainer::Add(), ns3::PointToPointEpcHelper::AddEnb(), ns3::Ipv4StaticRouting::AddNetworkRouteTo(), ns3::PointToPointEpcHelper::AddUe(), ns3::Ipv4AddressHelper::Assign(), ns3::PointToPointEpcHelper::AssignUeIpv4Address(), ns3::NodeContainer::Create(), ns3::ApplicationContainer::Get(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Node::GetApplication(), ns3::NetDeviceContainer::GetN(), ns3::NodeContainer::GetN(), ns3::Object::GetObject(), ns3::PointToPointEpcHelper::GetPgwNode(), ns3::EpcEnbApplication::GetS1SapProvider(), ns3::EpcTestRrc::GetS1SapUser(), ns3::Ipv4StaticRoutingHelper::GetStaticRouting(), ns3::EpcEnbS1SapProvider::InitialUeMessage(), ns3::PacketSinkHelper::Install(), ns3::CsmaHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), m_enbDlTestData, NS_ASSERT_MSG, NS_TEST_ASSERT_MSG_EQ, port, ns3::ObjectBase::SetAttribute(), ns3::UdpEchoClientHelper::SetAttribute(), ns3::Ipv4AddressHelper::SetBase(), ns3::Config::SetDefault(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::EpcTestRrc::SetS1SapProvider(), ns3::EpcEnbApplication::SetS1SapUser(), ns3::ApplicationContainer::Start(), and ns3::ApplicationContainer::Stop().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<EnbDlTestData> EpcS1uDlTestCase::m_enbDlTestData
private

Definition at line 83 of file epc-test-s1u-downlink.cc.

Referenced by DoRun().


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