ns3::PacketTest Class Reference

Inheritance diagram for ns3::PacketTest:
Inheritance graph
[legend]
Collaboration diagram for ns3::PacketTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PacketTest ()
virtual bool RunTests (void)

Private Member Functions

bool DoCheck (Ptr< const Packet > p, const char *file, int line, uint32_t n,...)

Detailed Description

Definition at line 776 of file packet.cc.


Constructor & Destructor Documentation

ns3::PacketTest::PacketTest (  ) 

Definition at line 786 of file packet.cc.


Member Function Documentation

bool ns3::PacketTest::DoCheck ( Ptr< const Packet p,
const char *  file,
int  line,
uint32_t  n,
  ... 
) [private]
bool ns3::PacketTest::RunTests ( void   )  [virtual]
Returns:
true if the test was successful, false otherwise.

Implements ns3::Test.

Definition at line 829 of file packet.cc.

References ns3::Packet::AddTag(), CHECK, E, and NS_TEST_ASSERT_EQUAL.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 14:09:59 2009 for NS-3 by  doxygen 1.6.3