A Discrete-Event Network Simulator
API
RrcHeaderTestCase Class Referenceabstract

This class provides common functions to be inherited by the children TestCases. More...

+ Inheritance diagram for RrcHeaderTestCase:
+ Collaboration diagram for RrcHeaderTestCase:

Public Member Functions

 RrcHeaderTestCase (std::string s)
 Constructor. More...
 
void AssertEqualRadioResourceConfigDedicated (LteRrcSap::RadioResourceConfigDedicated rrcd1, LteRrcSap::RadioResourceConfigDedicated rrcd2)
 Assert equal radio resource config dedicated. More...
 
LteRrcSap::RadioResourceConfigDedicated CreateRadioResourceConfigDedicated ()
 Create radio resource config dedicated. More...
 
virtual void DoRun (void)=0
 Implementation to actually run this TestCase. More...
 
- Public Member Functions inherited from ns3::TestCase
 TestCase (const TestCase &)=delete
 
virtual ~TestCase ()
 Destructor. More...
 
std::string GetName (void) const
 
TestCaseoperator= (const TestCase &)=delete
 

Protected Attributes

Ptr< Packetpacket
 the packet More...
 

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, TestDuration duration=QUICK)
 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

This class provides common functions to be inherited by the children TestCases.

Definition at line 116 of file test-asn1-encoding.cc.

Constructor & Destructor Documentation

◆ RrcHeaderTestCase()

RrcHeaderTestCase::RrcHeaderTestCase ( std::string  s)

Constructor.

Parameters
sthe reference name

Definition at line 141 of file test-asn1-encoding.cc.

Member Function Documentation

◆ AssertEqualRadioResourceConfigDedicated()

void RrcHeaderTestCase::AssertEqualRadioResourceConfigDedicated ( LteRrcSap::RadioResourceConfigDedicated  rrcd1,
LteRrcSap::RadioResourceConfigDedicated  rrcd2 
)

◆ CreateRadioResourceConfigDedicated()

LteRrcSap::RadioResourceConfigDedicated RrcHeaderTestCase::CreateRadioResourceConfigDedicated ( )

Create radio resource config dedicated.

Returns
LteRrcSap::RadioResourceConfigDedicated

Definition at line 146 of file test-asn1-encoding.cc.

References ns3::LteRrcSap::PhysicalConfigDedicated::antennaInfo, ns3::LteRrcSap::LogicalChannelConfig::bucketSizeDurationMs, ns3::LteRrcSap::RlcConfig::choice, ns3::LteRrcSap::DrbToAddMod::drbIdentity, ns3::LteRrcSap::RadioResourceConfigDedicated::drbToAddModList, ns3::LteRrcSap::RadioResourceConfigDedicated::drbToReleaseList, ns3::LteRrcSap::DrbToAddMod::epsBearerIdentity, ns3::LteRrcSap::PhysicalConfigDedicated::haveAntennaInfoDedicated, ns3::LteRrcSap::PhysicalConfigDedicated::havePdschConfigDedicated, ns3::LteRrcSap::RadioResourceConfigDedicated::havePhysicalConfigDedicated, ns3::LteRrcSap::PhysicalConfigDedicated::haveSoundingRsUlConfigDedicated, ns3::LteRrcSap::SrbToAddMod::logicalChannelConfig, ns3::LteRrcSap::DrbToAddMod::logicalChannelConfig, ns3::LteRrcSap::LogicalChannelConfig::logicalChannelGroup, ns3::LteRrcSap::DrbToAddMod::logicalChannelIdentity, ns3::LteRrcSap::PdschConfigDedicated::pa, ns3::LteRrcSap::PhysicalConfigDedicated::pdschConfigDedicated, ns3::LteRrcSap::RadioResourceConfigDedicated::physicalConfigDedicated, ns3::LteRrcSap::LogicalChannelConfig::prioritizedBitRateKbps, ns3::LteRrcSap::LogicalChannelConfig::priority, ns3::LteRrcSap::DrbToAddMod::rlcConfig, ns3::LteRrcSap::PhysicalConfigDedicated::soundingRsUlConfigDedicated, ns3::LteRrcSap::SrbToAddMod::srbIdentity, ns3::LteRrcSap::RadioResourceConfigDedicated::srbToAddModList, ns3::LteRrcSap::SoundingRsUlConfigDedicated::srsBandwidth, ns3::LteRrcSap::SoundingRsUlConfigDedicated::srsConfigIndex, ns3::LteRrcSap::AntennaInfoDedicated::transmissionMode, and ns3::LteRrcSap::SoundingRsUlConfigDedicated::type.

Referenced by RrcConnectionSetupTestCase::DoRun(), RrcConnectionReconfigurationTestCase::DoRun(), HandoverPreparationInfoTestCase::DoRun(), and RrcConnectionReestablishmentTestCase::DoRun().

+ Here is the caller graph for this function:

◆ DoRun()

Member Data Documentation

◆ packet


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