A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
type-id-test-suite.cc File Reference

TypeId test suite. More...

#include "ns3/double.h"
#include "ns3/integer.h"
#include "ns3/log.h"
#include "ns3/object.h"
#include "ns3/test.h"
#include "ns3/traced-value.h"
#include "ns3/type-id.h"
#include <ctime>
#include <iomanip>
#include <iostream>
+ Include dependency graph for type-id-test-suite.cc:

Go to the source code of this file.

Classes

class  CollisionTestCase
 Collision test. More...
 
class  DeprecatedAttribute
 Class used to test deprecated Attributes. More...
 
class  DeprecatedAttributeTestCase
 Check deprecated Attributes and TraceSources. More...
 
class  LookupTimeTestCase
 Performance test: measure average lookup time. More...
 
class  TypeIdPerformanceSuite
 TypeId performance test suites. More...
 
class  TypeIdTestSuite
 TypeId test suites. More...
 
class  UniqueTypeIdTestCase
 Test for uniqueness of all TypeIds. More...
 

Functions

const std::string suite ("type-id: ")
 

Variables

static TypeIdPerformanceSuite g_TypeIdPerformanceSuite
 Static variable for test initialization.
 
static TypeIdTestSuite g_TypeIdTestSuite
 Static variable for test initialization.
 

Detailed Description

TypeId test suite.

Definition in file type-id-test-suite.cc.

Function Documentation

◆ suite()

const std::string suite ( "type-id: " )
Returns
A const string used to build the test name.

Referenced by CollisionTestCase::DoRun(), DeprecatedAttributeTestCase::DoRun(), LookupTimeTestCase::DoRun(), UniqueTypeIdTestCase::DoRun(), LookupTimeTestCase::DoSetup(), and LookupTimeTestCase::Report().

+ Here is the caller graph for this function:

Variable Documentation

◆ g_TypeIdPerformanceSuite

TypeIdPerformanceSuite g_TypeIdPerformanceSuite
static

Static variable for test initialization.

Definition at line 470 of file type-id-test-suite.cc.

◆ g_TypeIdTestSuite

TypeIdTestSuite g_TypeIdTestSuite
static

Static variable for test initialization.

Definition at line 450 of file type-id-test-suite.cc.