• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeunittest
 

tdeunittest

  • KUnitTest
  • SlotTester
Signals | Public Member Functions | List of all members
KUnitTest::SlotTester Class Reference

#include <tester.h>

Inheritance diagram for KUnitTest::SlotTester:
KUnitTest::Tester

Signals

void invoke ()
 

Public Member Functions

 SlotTester (const char *name=0L)
 
void allTests ()
 
TestResults * results (const char *sl)
 
TestResultsListType & resultsList ()
 
- Public Member Functions inherited from KUnitTest::Tester
 Tester (const char *name=0L)
 
virtual void allTests ()=0
 
virtual TestResults * results ()
 

Additional Inherited Members

- Protected Member Functions inherited from KUnitTest::Tester
void skip (const char *file, int line, TQString msg)
 
template<typename T >
void check (const char *file, int line, const char *str, const T &result, const T &expectedResult, bool expectedFail)
 
void success (const TQString &message)
 
void failure (const TQString &message)
 
void expectedFailure (const TQString &message)
 
void unexpectedSuccess (const TQString &message)
 
void skipTest (const TQString &message)
 
void setExceptionRaised (bool state)
 
bool exceptionRaised () const
 
- Protected Attributes inherited from KUnitTest::Tester
TestResults * m_results
 

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 overriden.

Definition at line 686 of file tester.h.

Constructor & Destructor Documentation

◆ SlotTester()

KUnitTest::SlotTester::SlotTester ( const char *  name = 0L)

Definition at line 35 of file tester.cpp.

Member Function Documentation

◆ allTests()

void KUnitTest::SlotTester::allTests ( )
virtual

Implement this method with the tests and checks you want to perform.

Implements KUnitTest::Tester.

Definition at line 49 of file tester.cpp.

◆ results()

TestResults * KUnitTest::SlotTester::results ( const char *  sl)

Definition at line 75 of file tester.cpp.

◆ resultsList()

TestResultsListType & KUnitTest::SlotTester::resultsList ( )
inline

Definition at line 697 of file tester.h.


The documentation for this class was generated from the following files:
  • tester.h
  • tester.cpp

tdeunittest

Skip menu "tdeunittest"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

tdeunittest

Skip menu "tdeunittest"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeunittest by doxygen 1.9.4
This website is maintained by Timothy Pearson.