A Discrete-Event Network Simulator
API
attribute-test-suite.cc File Reference

Attribute test suite. More...

#include "ns3/boolean.h"
#include "ns3/callback.h"
#include "ns3/config.h"
#include "ns3/double.h"
#include "ns3/enum.h"
#include "ns3/integer.h"
#include "ns3/nstime.h"
#include "ns3/object-factory.h"
#include "ns3/object-map.h"
#include "ns3/object-vector.h"
#include "ns3/object.h"
#include "ns3/pointer.h"
#include "ns3/random-variable-stream.h"
#include "ns3/string.h"
#include "ns3/test.h"
#include "ns3/trace-source-accessor.h"
#include "ns3/traced-value.h"
#include "ns3/uinteger.h"
+ Include dependency graph for attribute-test-suite.cc:

Go to the source code of this file.

Classes

class  AttributeObjectTest
 Class used to check attributes. More...
 
class  AttributesTestSuite
 The attributes Test Suite. More...
 
class  AttributeTestCase< T >
 Test case template used for generic Attribute Value types – used to make sure that Attributes work as expected. More...
 
class  CallbackValueTestCase
 Test the Attributes of type CallbackValue. More...
 
class  Derived
 Simple class derived from ns3::Object, used to check attribute constructors. More...
 
class  IntegerTraceSourceAttributeTestCase
 Trace sources with value semantics can be used like Attributes, make sure we can use them that way. More...
 
class  IntegerTraceSourceTestCase
 Trace sources used like Attributes must also work as trace sources, make sure we can use them that way. More...
 
class  ObjectMapAttributeTestCase
 Test case for Object Map Attributes. More...
 
class  ObjectVectorAttributeTestCase
 Test case for Object Vector Attributes. More...
 
class  PointerAttributeTestCase
 Smart pointers (Ptr) are central to our architecture, so they must work as attributes. More...
 
class  RandomVariableStreamAttributeTestCase
 Test the Attributes of type RandomVariableStream. More...
 
class  TracedCallbackTestCase
 Trace sources used like Attributes must also work as trace sources, make sure we can use them that way. More...
 
class  ns3::ValueClassTest
 Test class for TracedValue callbacks attributes. More...
 

Namespaces

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

Functions

 ns3::ATTRIBUTE_HELPER_CPP (ValueClassTest)
 
 ns3::ATTRIBUTE_HELPER_HEADER (ValueClassTest)
 
bool ns3::operator!= (const ValueClassTest &a[[maybe_unused]], const ValueClassTest &b[[maybe_unused]])
 Operator not equal. More...
 
std::ostream & ns3::operator<< (std::ostream &os, ValueClassTest v[[maybe_unused]])
 Stream insertion operator. More...
 
std::istream & ns3::operator>> (std::istream &is, ValueClassTest &v[[maybe_unused]])
 Stream extraction operator. More...
 

Variables

static AttributesTestSuite g_attributesTestSuite
 Static variable for test initialization. More...
 

Detailed Description

Attribute test suite.

Definition in file attribute-test-suite.cc.

Variable Documentation

◆ g_attributesTestSuite

AttributesTestSuite g_attributesTestSuite
static

Static variable for test initialization.

Definition at line 2127 of file attribute-test-suite.cc.