Public Member Functions | |
CallbackTest () | |
virtual bool | RunTests (void) |
void | Reset (void) |
bool | IsWrong (void) |
void | Test1 (void) |
int | Test2 (void) |
void | Test3 (double a) |
int | Test4 (double a, int b) |
void | Test8 (Callback< void, int > callback) |
void | TestZero (void) |
void | TestOne (int) |
void | TestTwo (int, int) |
void | TestThree (int, int, int) |
void | TestFour (int, int, int, int) |
void | TestFive (int, int, int, int, int) |
void | TestSix (int, int, int, int, int, int) |
void | TestCZero (void) const |
void | TestCOne (int) const |
void | TestCTwo (int, int) const |
void | TestCThree (int, int, int) const |
void | TestCFour (int, int, int, int) const |
void | TestCFive (int, int, int, int, int) const |
void | TestCSix (int, int, int, int, int, int) const |
Private Attributes | |
bool | m_test1 |
bool | m_test2 |
bool | m_test3 |
bool | m_test4 |
Definition at line 86 of file callback-test.cc.
ns3::CallbackTest::CallbackTest | ( | ) |
Definition at line 121 of file callback-test.cc.
bool ns3::CallbackTest::IsWrong | ( | void | ) |
Definition at line 157 of file callback-test.cc.
References ns3::gTest5, ns3::gTest6, ns3::gTest7, m_test1, m_test2, m_test3, and m_test4.
Referenced by RunTests().
void ns3::CallbackTest::Reset | ( | void | ) |
Definition at line 173 of file callback-test.cc.
References ns3::gTest5, ns3::gTest6, ns3::gTest7, m_test1, m_test2, m_test3, and m_test4.
Referenced by RunTests().
bool ns3::CallbackTest::RunTests | ( | void | ) | [virtual] |
Implements ns3::Test.
Definition at line 186 of file callback-test.cc.
References E, IsWrong(), ns3::MakeBoundCallback(), ns3::MakeCallback(), ns3::X::ProtectedParent(), ns3::X::PublicParent(), Reset(), ns3::X::StaticProtectedParent(), Test1(), ns3::Test10(), Test2(), Test3(), Test4(), ns3::Test5(), ns3::Test6(), ns3::Test7(), Test8(), ns3::Test9(), TestCFive(), TestCFour(), TestCOne(), TestCSix(), TestCThree(), TestCTwo(), TestCZero(), ns3::TestFFive(), ns3::TestFFour(), TestFive(), ns3::TestFOne(), TestFour(), ns3::TestFRFive(), ns3::TestFRFour(), ns3::TestFROne(), ns3::TestFRSix(), ns3::TestFRThree(), ns3::TestFRTwo(), ns3::TestFSix(), ns3::TestFThree(), ns3::TestFTwo(), ns3::TestFZero(), TestOne(), TestSix(), TestThree(), TestTwo(), and TestZero().
void ns3::CallbackTest::Test1 | ( | void | ) |
int ns3::CallbackTest::Test2 | ( | void | ) |
void ns3::CallbackTest::Test3 | ( | double | a | ) |
int ns3::CallbackTest::Test4 | ( | double | a, | |
int | b | |||
) |
void ns3::CallbackTest::Test8 | ( | Callback< void, int > | callback | ) |
Definition at line 151 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCFive | ( | int | , | |
int | , | |||
int | , | |||
int | , | |||
int | ||||
) | const [inline] |
Definition at line 117 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCFour | ( | int | , | |
int | , | |||
int | , | |||
int | ||||
) | const [inline] |
Definition at line 116 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCOne | ( | int | ) | const [inline] |
Definition at line 113 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCSix | ( | int | , | |
int | , | |||
int | , | |||
int | , | |||
int | , | |||
int | ||||
) | const [inline] |
Definition at line 118 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCThree | ( | int | , | |
int | , | |||
int | ||||
) | const [inline] |
Definition at line 115 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCTwo | ( | int | , | |
int | ||||
) | const [inline] |
Definition at line 114 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestCZero | ( | void | ) | const [inline] |
Definition at line 112 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestFive | ( | int | , | |
int | , | |||
int | , | |||
int | , | |||
int | ||||
) | [inline] |
Definition at line 109 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestFour | ( | int | , | |
int | , | |||
int | , | |||
int | ||||
) | [inline] |
Definition at line 108 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestOne | ( | int | ) | [inline] |
Definition at line 105 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestSix | ( | int | , | |
int | , | |||
int | , | |||
int | , | |||
int | , | |||
int | ||||
) | [inline] |
Definition at line 110 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestThree | ( | int | , | |
int | , | |||
int | ||||
) | [inline] |
Definition at line 107 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestTwo | ( | int | , | |
int | ||||
) | [inline] |
Definition at line 106 of file callback-test.cc.
Referenced by RunTests().
void ns3::CallbackTest::TestZero | ( | void | ) | [inline] |
Definition at line 104 of file callback-test.cc.
Referenced by RunTests().
bool ns3::CallbackTest::m_test1 [private] |
Definition at line 89 of file callback-test.cc.
bool ns3::CallbackTest::m_test2 [private] |
Definition at line 90 of file callback-test.cc.
bool ns3::CallbackTest::m_test3 [private] |
Definition at line 91 of file callback-test.cc.
bool ns3::CallbackTest::m_test4 [private] |
Definition at line 92 of file callback-test.cc.