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

tdeunittest

  • KUnitTest
  • TestResults
Public Member Functions | Friends | List of all members
KUnitTest::TestResults Class Reference

#include <tester.h>

Public Member Functions

virtual void clear ()
 
virtual void addDebugInfo (const TQString &debug)
 
TQString debugInfo () const
 
int testsFinished () const
 
int errors () const
 
int xfails () const
 
int xpasses () const
 
int skipped () const
 
int passed () const
 
TQStringList errorList () const
 
TQStringList xfailList () const
 
TQStringList xpassList () const
 
TQStringList skipList () const
 
TQStringList successList () const
 

Friends

class Tester
 

Detailed Description

A simple class that encapsulates a test result. A Tester class usually has a single TestResults instance associated with it, however the SlotTester class can have more TestResults instances (one for each test slot in fact).

Definition at line 432 of file tester.h.

Constructor & Destructor Documentation

◆ TestResults()

KUnitTest::TestResults::TestResults ( )
inline

Definition at line 437 of file tester.h.

◆ ~TestResults()

virtual KUnitTest::TestResults::~TestResults ( )
inlinevirtual

Definition at line 439 of file tester.h.

Member Function Documentation

◆ addDebugInfo()

virtual void KUnitTest::TestResults::addDebugInfo ( const TQString &  debug)
inlinevirtual

Add some debug info that can be view later. Normally you do not need to call this.

Parameters
debugThe debug info.

Definition at line 457 of file tester.h.

◆ clear()

virtual void KUnitTest::TestResults::clear ( )
inlinevirtual

Clears the test results and debug info. Normally you do not need to call this.

Definition at line 443 of file tester.h.

◆ debugInfo()

TQString KUnitTest::TestResults::debugInfo ( ) const
inline
Returns
The debug info that was added to this Tester object.

Definition at line 464 of file tester.h.

◆ errorList()

TQStringList KUnitTest::TestResults::errorList ( ) const
inline
Returns
Details about the failed tests.

Definition at line 485 of file tester.h.

◆ errors()

int KUnitTest::TestResults::errors ( ) const
inline
Returns
The number of failed tests.

Definition at line 470 of file tester.h.

◆ passed()

int KUnitTest::TestResults::passed ( ) const
inline
Returns
The number of passed tests.

Definition at line 482 of file tester.h.

◆ skipList()

TQStringList KUnitTest::TestResults::skipList ( ) const
inline
Returns
Details about which tests were skipped.

Definition at line 494 of file tester.h.

◆ skipped()

int KUnitTest::TestResults::skipped ( ) const
inline
Returns
The number of skipped tests.

Definition at line 479 of file tester.h.

◆ successList()

TQStringList KUnitTest::TestResults::successList ( ) const
inline
Returns
Details about the succeeded tests.

Definition at line 497 of file tester.h.

◆ testsFinished()

int KUnitTest::TestResults::testsFinished ( ) const
inline
Returns
The number of finished tests.

Definition at line 467 of file tester.h.

◆ xfailList()

TQStringList KUnitTest::TestResults::xfailList ( ) const
inline
Returns
Details about tests that failed expectedly.

Definition at line 488 of file tester.h.

◆ xfails()

int KUnitTest::TestResults::xfails ( ) const
inline
Returns
The number of expected failures.

Definition at line 473 of file tester.h.

◆ xpasses()

int KUnitTest::TestResults::xpasses ( ) const
inline
Returns
The number of unexpected successes.

Definition at line 476 of file tester.h.

◆ xpassList()

TQStringList KUnitTest::TestResults::xpassList ( ) const
inline
Returns
Details about tests that succeeded unexpectedly.

Definition at line 491 of file tester.h.

Friends And Related Function Documentation

◆ Tester

friend class Tester
friend

Definition at line 434 of file tester.h.


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

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.