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

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.Definition at line 682 of file tester.h.
Signals | |
void | invoke () |
Public Member Functions | |
void | allTests () |
TestResults * | results (const char *slotName) |
virtual TestResults * | results () const |
const TestResultsList & | resultsList () const |
SlotTester () | |
virtual | ~SlotTester () |
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] |
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.
virtual TestResults* KUnitTest::SlotTester::results | ( | ) | const [inline, virtual] |
const TestResultsList& KUnitTest::SlotTester::resultsList | ( | ) | const [inline] |
The documentation for this class was generated from the following files: