A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
header-serialization-test.h File Reference

Contains the implementation of the HeaderSerializationTestCase base class. More...

#include "ns3/buffer.h"
#include "ns3/test.h"
+ Include dependency graph for header-serialization-test.h:

Go to the source code of this file.

Classes

class  ns3::HeaderSerializationTestCase
 Subclass of TestCase class adding the ability to test the serialization and deserialization of a Header object. More...
 

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Detailed Description

Contains the implementation of the HeaderSerializationTestCase base class.

It is used to generate tests that verify whether a header, when encoded, then decoded, then re-encoded, matches the original encoded header byte-for-byte.

Definition in file header-serialization-test.h.