Public Member Functions | |
AttributeTest () | |
virtual bool | RunTests (void) |
Private Member Functions | |
void | NotifySource1 (int8_t old, int8_t n) |
void | NotifySource2 (double a, int b, float c) |
void | NotifySourceValue (ValueClassTest old, ValueClassTest n) |
void | NotifyCallbackValue (int8_t a) |
Private Attributes | |
int64_t | m_got1 |
double | m_got2 |
ValueClassTest | m_gotValue |
int16_t | m_gotCbValue |
Definition at line 59 of file attribute-test.cc.
ns3::AttributeTest::AttributeTest | ( | ) |
Definition at line 270 of file attribute-test.cc.
void ns3::AttributeTest::NotifyCallbackValue | ( | int8_t | a | ) | [inline, private] |
Definition at line 74 of file attribute-test.cc.
Referenced by RunTests().
void ns3::AttributeTest::NotifySource1 | ( | int8_t | old, | |
int8_t | n | |||
) | [inline, private] |
void ns3::AttributeTest::NotifySource2 | ( | double | a, | |
int | b, | |||
float | c | |||
) | [inline, private] |
Definition at line 68 of file attribute-test.cc.
Referenced by RunTests().
void ns3::AttributeTest::NotifySourceValue | ( | ValueClassTest | old, | |
ValueClassTest | n | |||
) | [inline, private] |
Definition at line 71 of file attribute-test.cc.
Referenced by RunTests().
bool ns3::AttributeTest::RunTests | ( | void | ) | [virtual] |
Implements ns3::Test.
Definition at line 274 of file attribute-test.cc.
References CHECK_GET_PARAM, CHECK_GET_STR, ns3::ObjectVectorValue::Get(), ns3::AttributeList::GetGlobal(), ns3::ObjectVectorValue::GetN(), m_got1, m_got2, m_gotCbValue, ns3::MakeCallback(), NotifyCallbackValue(), NotifySource1(), NotifySource2(), NotifySourceValue(), NS_TEST_ASSERT, NS_TEST_ASSERT_EQUAL, NS_TEST_ASSERT_UNEQUAL, ns3::AttributeList::SetFailSafe(), ns3::AttributeObjectTest::TEST_A, ns3::AttributeObjectTest::TEST_B, and ns3::AttributeObjectTest::TEST_C.
int64_t ns3::AttributeTest::m_got1 [private] |
Definition at line 77 of file attribute-test.cc.
Referenced by NotifySource1(), and RunTests().
double ns3::AttributeTest::m_got2 [private] |
Definition at line 78 of file attribute-test.cc.
Referenced by RunTests().
int16_t ns3::AttributeTest::m_gotCbValue [private] |
Definition at line 80 of file attribute-test.cc.
Referenced by RunTests().
ValueClassTest ns3::AttributeTest::m_gotValue [private] |
Definition at line 79 of file attribute-test.cc.