Inheritance diagram for Protocols::BitTorrent::Trackers::Testing::TrackerResponseTest:
Definition at line 36 of file TrackerResponseTest.cpp.
Public Member Functions | |
| TrackerResponseTest () | |
| Default ctor. | |
| void | testCompareTwoEqualNonEmptyTrackerResponses () |
| Verifies operator== and operator!= correctness on non-empty responses. | |
| void | testCompareTwoEqualEmptyTrackerResponses () |
| Verifies operator== and operator!= correctness on empty responses. | |
| void | testCompareTwoDifferentNonEmptyTrackerResponses () |
| Verifies operator== and operator!= on different non-empty responses. | |
| void | testCompareEmptyAndNonEmptyTrackerResponses () |
| Verifies operator== and operator!= on empty with non-empty responses. | |
| void | testCopyCtor () |
| The copy ctor should create equal objects. | |
| void | testAssignment () |
| After assignment the objects should be equal. | |
| void | testModifyingACopyDoesNotChangeTheOriginal () |
| Lazy copying is used. Verify that a copy is made prior to modification. | |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (TrackerResponseTest) | |
| CPPUNIT_TEST (testCompareTwoEqualNonEmptyTrackerResponses) | |
| CPPUNIT_TEST (testCompareTwoEqualEmptyTrackerResponses) | |
| CPPUNIT_TEST (testCompareTwoDifferentNonEmptyTrackerResponses) | |
| CPPUNIT_TEST (testCompareEmptyAndNonEmptyTrackerResponses) | |
| CPPUNIT_TEST (testCopyCtor) | |
| CPPUNIT_TEST (testAssignment) | |
| CPPUNIT_TEST (testModifyingACopyDoesNotChangeTheOriginal) | |
| CPPUNIT_TEST_SUITE_END () | |
Private Attributes | |
| const QByteArray | rawResponseDataOk1 |
| const QByteArray | rawResponseDataOk2 |
|
|
Default ctor. This ctor is here to initialize complex objects constants because of possible static objects initialization order problems when declaring them as static constants. Definition at line 153 of file TrackerResponseTest.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
After assignment the objects should be equal.
Definition at line 116 of file TrackerResponseTest.cpp. |
|
|
Verifies operator== and operator!= on empty with non-empty responses.
Definition at line 92 of file TrackerResponseTest.cpp. |
|
|
Verifies operator== and operator!= on different non-empty responses.
Definition at line 78 of file TrackerResponseTest.cpp. |
|
|
Verifies operator== and operator!= correctness on empty responses.
Definition at line 69 of file TrackerResponseTest.cpp. |
|
|
Verifies operator== and operator!= correctness on non-empty responses.
Definition at line 55 of file TrackerResponseTest.cpp. |
|
|
The copy ctor should create equal objects.
Definition at line 104 of file TrackerResponseTest.cpp. |
|
|
Lazy copying is used. Verify that a copy is made prior to modification.
Definition at line 129 of file TrackerResponseTest.cpp. |
|
|
Definition at line 48 of file TrackerResponseTest.cpp. |
|
|
Definition at line 49 of file TrackerResponseTest.cpp. |