Two Level Aggregation Test. More...
Public Member Functions | |
TwoLevelAggregationTest () | |
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 | |
ObjectFactory | m_factory |
factory More... | |
Ptr< MacLow > | m_low |
MacLow. More... | |
Ptr< WifiRemoteStationManager > | m_manager |
remote station manager More... | |
Ptr< MpduAggregator > | m_mpduAggregator |
A-MPDU aggregator. More... | |
Ptr< MsduAggregator > | m_msduAggregator |
A-MSDU aggregator. More... | |
Ptr< YansWifiPhy > | m_phy |
Phy. More... | |
Ptr< QosTxop > | m_txop |
QosTxop. 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... | |
TestCase * | GetParent () 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... | |
Two Level Aggregation Test.
Definition at line 260 of file wifi-aggregation-test.cc.
TwoLevelAggregationTest::TwoLevelAggregationTest | ( | ) |
Definition at line 276 of file wifi-aggregation-test.cc.
|
privatevirtual |
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 282 of file wifi-aggregation-test.cc.
References ns3::AC_BE, ns3::QosTxop::CompleteConfig(), ns3::WifiPhy::ConfigureStandard(), ns3::Packet::Copy(), ns3::ObjectFactory::Create(), ns3::Object::Dispose(), ns3::MacLow::GetDataTxVector(), ns3::WifiMacQueueItem::GetHeader(), ns3::WifiMacQueueItem::GetPacket(), ns3::Packet::GetSize(), ns3::WifiMacQueueItem::GetTimeStamp(), ns3::Txop::GetWifiMacQueue(), ns3::MacLow::m_currentHdr, ns3::MacLow::m_currentPacket, ns3::MacLow::m_currentTxVector, m_factory, m_low, m_manager, m_mpduAggregator, m_msduAggregator, m_phy, m_txop, NS_TEST_EXPECT_MSG_EQ, ns3::MacLow::PerformMsduAggregation(), ns3::ObjectFactory::Set(), ns3::QosTxop::SetAccessCategory(), ns3::WifiMacHeader::SetAddr1(), ns3::Txop::SetMacLow(), ns3::MpduAggregator::SetMaxAmpduSize(), ns3::MsduAggregator::SetMaxAmsduSize(), ns3::QosTxop::SetMpduAggregator(), ns3::QosTxop::SetMsduAggregator(), ns3::MacLow::SetPhy(), ns3::ObjectFactory::SetTypeId(), ns3::WifiRemoteStationManager::SetupPhy(), ns3::MacLow::SetWifiRemoteStationManager(), ns3::QosTxop::SetWifiRemoteStationManager(), ns3::WIFI_MAC_QOSDATA, and ns3::WIFI_PHY_STANDARD_80211n_5GHZ.
|
private |
|
private |
remote station manager
Definition at line 270 of file wifi-aggregation-test.cc.
Referenced by DoRun().
|
private |
|
private |
|
private |