A Discrete-Event Network Simulator
API
ns3::tests Namespace Reference

Namespace for test files, TestCases and TestSuites. More...

Classes

class  AggregateObjectTestCase
 Test we can aggregate Objects. More...
 
class  AlternateFindTestCase
 Test the Object Name Service can find Objects using a second type. More...
 
class  AlternateTestObject
 Alternate test object for the Name service. More...
 
class  BaseConfigObject
 Base config object. More...
 
class  BasicAddTestCase
 Test the Object Name Service can do its most basic job. More...
 
class  BasicFindTestCase
 Test the Object Name Service can find Objects. More...
 
class  BasicRenameTestCase
 Test the Object Name Service can rename objects. More...
 
class  BuildProfileTestCase
 Build profile test. More...
 
class  BuildProfileTestSuite
 Build profile test suite. More...
 
class  CommandLineBooleanTestCase
 Test boolean Command Line processing. More...
 
class  CommandLineIntTestCase
 Test int Command Line processing. More...
 
class  CommandLineInvalidTestCase
 Test ignoring invalid arguments. More...
 
class  CommandLineNonOptionTestCase
 Test non-option arguments. More...
 
class  CommandLineOrderTestCase
 Test order of argument parsing. More...
 
class  CommandLineStringTestCase
 Test string Command Line processing. More...
 
class  CommandLineTestCaseBase
 A test base class that drives Command Line parsing. More...
 
class  CommandLineTestSuite
 The Test Suite that glues all of the Test Cases together. More...
 
class  CommandLineUnsignedIntTestCase
 Test unsigned int Command Line processing. More...
 
class  ConfigTestObject
 An object with some attributes that we can play with using config. More...
 
class  ConfigTestSuite
 The Test Suite that glues all of the Test Cases together. More...
 
class  CreateObjectTestCase
 Test we can make Objects using CreateObject. More...
 
class  DefaultHashTestCase
 Test default hash on fixed string. More...
 
class  DerivedConfigObject
 Derived config object. More...
 
class  DerivedConfigTestObject
 Derived test objects. More...
 
class  EventGarbageCollectorTestCase
 Event garbage collector test. More...
 
class  EventGarbageCollectorTestSuite
 Event garbage collector test suite. More...
 
class  FindPathTestCase
 Test the Object Name Service can look up an object and return its fully qualified path name. More...
 
class  Fnv1aTestCase
 FNV hash on fixed string. More...
 
class  FullyQualifiedAddTestCase
 Test the Object Name Service can correctly use a fully qualified path to add associations. More...
 
class  FullyQualifiedFindTestCase
 Test the Object Name Service can find Objects using a fully qualified path name. More...
 
class  FullyQualifiedRenameTestCase
 Test the Object Name Service can rename objects using a fully qualified path name. More...
 
class  GlobalValueTestCase
 Test for the ability to get at a GlobalValue. More...
 
class  GlobalValueTestSuite
 The Test Suite that glues all of the Test Cases together. More...
 
class  Hash32FunctionPtrTestCase
 Test 32-bit function pointer. More...
 
class  Hash64FunctionPtrTestCase
 Test 64-bit function pointer. More...
 
class  HashTestCase
 Base class for hash tests. More...
 
class  HashTestSuite
 Hash functions test suite. More...
 
class  IncrementalTestCase
 Test incremental hashing. More...
 
class  ManyUniformRandomVariablesOneGetValueCallTestCase
 Test case for many uniform distribution random variable stream generators. More...
 
class  ManyUniformRandomVariablesOneGetValueCallTestSuite
 Test suite for many uniform distribution random variable stream generators. More...
 
class  Murmur3TestCase
 Test Murmur3 hash on fixed string. More...
 
class  NamesTestSuite
 Names Test Suite. More...
 
class  NoCount
 No Count class. More...
 
class  ObjectFactoryTestCase
 Test an Object factory can create Objects. More...
 
class  ObjectTestSuite
 The Test Suite that glues the Test Cases together. More...
 
class  ObjectVectorConfigTestCase
 Test for the ability to deal configure with vectors of objects. More...
 
class  ObjectVectorTraceConfigTestCase
 Test for the ability to trace configure with vectors of objects. More...
 
class  OneUniformRandomVariableManyGetValueCallsTestCase
 Test case for one uniform distribution random variable stream generator. More...
 
class  OneUniformRandomVariableManyGetValueCallsTestSuite
 Test suite for one uniform distribution random variable stream generator. More...
 
class  PtrTestBase
 Pointer base test class. More...
 
class  PtrTestCase
 Test case for pointer. More...
 
class  PtrTestSuite
 Test suite for pointer. More...
 
class  RelativeAddTestCase
 Test the Object Name Service can correctly use a relative path to add associations. More...
 
class  RelativeFindTestCase
 Test the Object Name Service can find Objects using a relative path name. More...
 
class  RelativeRenameTestCase
 Test the Object Name Service can rename objects using a relative path name. More...
 
class  RootNamespaceConfigTestCase
 Test for the ability to register and use a root namespace. More...
 
class  SampleTestCase1
 This is an example TestCase. More...
 
class  SampleTestSuite
 The TestSuite class names the TestSuite, identifies what type of TestSuite, and enables the TestCases to be run. More...
 
class  SearchAttributesOfParentObjectsTestCase
 Test for the ability to search attributes of parent classes when Resolver searches for attributes in a derived class object. More...
 
class  StringContextAddTestCase
 Test the Object Name Service can correctly use a string context. More...
 
class  StringContextFindTestCase
 Test the Object Name Service can find Objects using a string context. More...
 
class  StringContextRenameTestCase
 Test the Object Name Service can rename objects using a string context. More...
 
class  TestObject
 Simple test object to exercise the Name service. More...
 
class  TypeTraitsTestCase
 Type traits test. More...
 
class  TypeTraitsTestSuite
 Type traits test suite. More...
 
class  UnderRootNamespaceConfigTestCase
 Test for the ability to add an object under the root namespace. More...
 
class  WatchdogTestCase
 Watchdog test. More...
 
class  WatchdogTestSuite
 Watchdog test suite. More...
 

Functions

uint16_t gnu_sum (const char *buffer, const std::size_t size)
 Simple hash function based on the GNU sum program. More...
 
uint32_t gnu_sum32 (const char *buffer, const std::size_t size)
 A 32-bit hash function, based on gnu_sum(). More...
 
uint64_t gnu_sum64 (const char *buffer, const std::size_t size)
 A 64-bit hash function, base on gnu_sum(). More...
 

Variables

static BuildProfileTestSuite g_BuildProfileTestSuite
 BuildProfileTestSuite instance variable. More...
 
static CommandLineTestSuite g_commandLineTestSuite
 CommandLineTestSuite instance variable. More...
 
static ConfigTestSuite g_configTestSuite
 ConfigTestSuite instance variable. More...
 
static EventGarbageCollectorTestSuite g_eventGarbageCollectorTestSuite
 EventGarbageCollectorTestSuite instance variable. More...
 
static GlobalValueTestSuite g_globalValueTestSuite
 GlobalValueTestSuite instance variable. More...
 
static HashTestSuite g_hashTestSuite
 HashTestSuite instance variable. More...
 
static ManyUniformRandomVariablesOneGetValueCallTestSuite g_manyUniformRandomVariablesOneGetValueCallTestSuite
 ManuUniformRandomVariablesOneGetValueCallTestSuite instance variable. More...
 
static NamesTestSuite g_namesTestSuite
 NamesTestSuite instance variable. More...
 
static ObjectTestSuite g_objectTestSuite
 ObjectTestSuite instance variable. More...
 
static OneUniformRandomVariableManyGetValueCallsTestSuite g_oneUniformRandomVariableManyGetValueCallsTestSuite
 OneUniformRandomVariableManyGetValueCallsTestSuite instance variable. More...
 
static PtrTestSuite g_ptrTestSuite
 PtrTestSuite instance variable. More...
 
static SampleTestSuite g_sampleTestSuite
 SampleTestSuite instance variable. More...
 
static TypeTraitsTestSuite g_typeTraitsTestSuite
 TypeTraitsTestSuite instance variable. More...
 
static WatchdogTestSuite g_watchdogTestSuite
 WatchdogTestSuite instance variable. More...
 

Detailed Description

Namespace for test files, TestCases and TestSuites.

Variable Documentation

◆ g_manyUniformRandomVariablesOneGetValueCallTestSuite

ManyUniformRandomVariablesOneGetValueCallTestSuite ns3::tests::g_manyUniformRandomVariablesOneGetValueCallTestSuite
static

ManuUniformRandomVariablesOneGetValueCallTestSuite instance variable.

Definition at line 108 of file many-uniform-random-variables-one-get-value-call-test-suite.cc.

◆ g_oneUniformRandomVariableManyGetValueCallsTestSuite

OneUniformRandomVariableManyGetValueCallsTestSuite ns3::tests::g_oneUniformRandomVariableManyGetValueCallsTestSuite
static

◆ g_watchdogTestSuite

WatchdogTestSuite ns3::tests::g_watchdogTestSuite
static

WatchdogTestSuite instance variable.

Definition at line 109 of file watchdog-test-suite.cc.