#include "ns3/test.h"
#include "ns3/simple-net-device.h"
#include "ns3/simple-channel.h"
#include "ns3/address.h"
#include "ns3/mac48-address.h"
#include "ns3/packet.h"
#include "ns3/callback.h"
#include "ns3/node.h"
#include "ns3/simulator.h"
#include "ns3/error-model.h"
#include "ns3/pointer.h"
#include "ns3/double.h"
#include "ns3/string.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/queue.h"
Go to the source code of this file.
Classes | |
class | BurstErrorModelSimple |
BurstErrorModel unit tests. More... | |
class | ErrorModelSimple |
ErrorModel unit tests. More... | |
class | ErrorModelTestSuite |
ErrorModel TestSuite. More... | |
Functions | |
static void | BuildSimpleTopology (Ptr< Node > a, Ptr< Node > b, Ptr< SimpleNetDevice > input, Ptr< SimpleNetDevice > output, Ptr< SimpleChannel > channel) |
static void | SendPacket (int num, Ptr< NetDevice > device, Address &addr) |
Variables | |
static ErrorModelTestSuite | errorModelTestSuite |
Static variable for test initialization. More... | |
|
static |
Definition at line 56 of file error-model-test-suite.cc.
References ns3::Node::AddDevice(), ns3::Mac48Address::Allocate(), third::channel, ns3::ObjectFactory::Create(), ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
Referenced by ErrorModelSimple::DoRun(), and BurstErrorModelSimple::DoRun().
Definition at line 46 of file error-model-test-suite.cc.
References ns3::NetDevice::Send().
Referenced by ErrorModelSimple::DoRun(), and BurstErrorModelSimple::DoRun().
|
static |
Static variable for test initialization.
Definition at line 298 of file error-model-test-suite.cc.