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"
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... | |
class | ns3::ValueClassTestChecker |
AttributeChecker implementation for ValueClassTestValue. More... | |
class | ns3::ValueClassTestValue |
AttributeValue implementation for ValueClassTest. More... | |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Functions | |
template<typename T1 > | |
Ptr< const AttributeAccessor > | ns3::MakeValueClassTestAccessor (T1 a1) |
Create an AttributeAccessor for a class data member, or a lone class get functor or set method. | |
template<typename T1 , typename T2 > | |
Ptr< const AttributeAccessor > | ns3::MakeValueClassTestAccessor (T1 a1, T2 a2) |
Create an AttributeAccessor using a pair of get functor and set methods from a class. | |
Ptr< const AttributeChecker > | ns3::MakeValueClassTestChecker () |
bool | ns3::operator!= (const ValueClassTest &a, const ValueClassTest &b) |
Operator not equal. | |
std::ostream & | ns3::operator<< (std::ostream &os, ValueClassTest v) |
Stream insertion operator. | |
std::istream & | ns3::operator>> (std::istream &is, ValueClassTest &v) |
Stream extraction operator. | |
Variables | |
static AttributesTestSuite | g_attributesTestSuite |
Static variable for test initialization. | |
Attribute test suite.
Definition in file attribute-test-suite.cc.
|
static |
Static variable for test initialization.
Definition at line 2116 of file attribute-test-suite.cc.