KUnitTest
KUnitTest::SlotTester Class Reference
#include <tester.h>
Inheritance diagram for KUnitTest::SlotTester:

Signals | |
| void | invoke () |
Public Member Functions | |
| SlotTester () | |
| virtual | ~SlotTester () |
| void | allTests () |
| virtual TestResults * | results () const |
| TestResults * | results (const char *slotName) |
| const TestResultsList & | resultsList () const |
Detailed Description
The SlotTester class is a special Tester class, one that will execute all slots that start with the string "test". The method void allTests() is implemented and should not be overridden.
Constructor & Destructor Documentation
| KUnitTest::SlotTester::SlotTester | ( | ) |
Definition at line 37 of file tester.cpp.
| KUnitTest::SlotTester::~SlotTester | ( | ) | [virtual] |
Definition at line 43 of file tester.cpp.
Member Function Documentation
| void KUnitTest::SlotTester::allTests | ( | ) | [virtual] |
Implement this method with the tests and checks you want to perform.
Implements KUnitTest::Tester.
Definition at line 57 of file tester.cpp.
| void KUnitTest::SlotTester::invoke | ( | ) | [signal] |
| virtual TestResults* KUnitTest::SlotTester::results | ( | ) | const [inline, virtual] |
- Returns:
- The TestResults instance.
Reimplemented from KUnitTest::Tester.
| TestResults * KUnitTest::SlotTester::results | ( | const char * | slotName | ) |
Create or return TestResults for a given slot - used internally.
Definition at line 93 of file tester.cpp.
| const TestResultsList& KUnitTest::SlotTester::resultsList | ( | ) | const [inline] |
The documentation for this class was generated from the following files:
KDE 4.6 API Reference