Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest Class Reference
Inherits
TestFixture.
Inheritance diagram for Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest:
[legend]Collaboration diagram for Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest:
[legend]List of all members.
Detailed Description
TrackerManagerImpl class testing unit.
Definition at line 45 of file TrackerManagerImplTest.cpp.
Constructor & Destructor Documentation
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::TrackerManagerImplTest |
( |
|
) |
|
|
Member Function Documentation
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionClosedAfterStartedTrackerManagerIsStopped |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionClosedAfterRecievedResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionClosedWhileWhileWaitingForResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionClosingAfterRecievedResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionClosingWhileWhileWaitingForResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testStopTrackerManagerAfterRecievedResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testStopTrackerManagerWhileWaitingForSessionEstablishment |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testStopStoppedTrackerManager |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testUpdateTimeHasCome |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testResponseRecievedWhileWaitingForResponse |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionEstablishedWhileWaitingForSessionEstablishment |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testSessionErrorWhileWaitingForSessionEstablishment |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST |
( |
testStartTrackerManager |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST_SUITE |
( |
TrackerManagerImplTest |
|
) |
[private] |
|
| Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::CPPUNIT_TEST_SUITE_END |
( |
|
) |
[private] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::refHandleResponseReception |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::refHandleSessionClosed |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::refHandleSessionClosing |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::refHandleSessionEstablishment |
( |
|
) |
[inline] |
|
|
|
Handles session establishment event - the tracker manager will send a tracker request via the established session.
Definition at line 148 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::refStopStartedTrackerManager |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::setUp |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::stateResponseRecieved |
( |
|
) |
[inline] |
|
|
|
Establishes the state invariant for tests assuming the tracker manager has recieved the tracker response.
Definition at line 210 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::stateStoppedAfterStarted |
( |
|
) |
[inline] |
|
|
|
Establishes the state invariant for tests assuming the tracker manager was stopped (after it was started).
Definition at line 355 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::stateWaitingForResponse |
( |
|
) |
[inline] |
|
|
|
Establishes the state invariant for tests assuming the tracker manager has already sent the request and it's waiting for the tracker response.
Definition at line 172 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::stateWaitingForSessionEstablishment |
( |
|
) |
[inline] |
|
|
|
Establishes the state invariant for tests assuming the tracker manager was started and it's waiting for the session establishment.
Definition at line 123 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::tearDown |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testResponseRecievedWhileWaitingForResponse |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionClosedAfterRecievedResponse |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionClosedAfterStartedTrackerManagerIsStopped |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionClosedWhileWhileWaitingForResponse |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionClosingAfterRecievedResponse |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionClosingWhileWhileWaitingForResponse |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionErrorWhileWaitingForSessionEstablishment |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testSessionEstablishedWhileWaitingForSessionEstablishment |
( |
|
) |
[inline] |
|
|
|
Verifies that after the session is sucessfully established the tracker manager will send a tracker request via this session.
Definition at line 161 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testStartTrackerManager |
( |
|
) |
[inline] |
|
|
|
Tracker manager is started and a new session is created. This session is then opened and the tracker manager will be waiting for it's establishment.
Definition at line 109 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testStopStoppedTrackerManager |
( |
|
) |
[inline] |
|
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testStopTrackerManagerAfterRecievedResponse |
( |
|
) |
[inline] |
|
|
|
Verifies that tracker manager that has recieved the tracker response would be stopped correctly (when forced).
Definition at line 273 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testStopTrackerManagerWhileWaitingForSessionEstablishment |
( |
|
) |
[inline] |
|
|
|
Verifies that started tracker manager that's waiting for the session establishment would be stopped correctly (when forced).
Definition at line 261 of file TrackerManagerImplTest.cpp. |
| void Protocols::BitTorrent::Trackers::Testing::TrackerManagerImplTest::testUpdateTimeHasCome |
( |
|
) |
[inline] |
|
Member Data Documentation
The documentation for this class was generated from the following file: