All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
orgQhull::RoadTest Class Reference

TESTadd_(t) -- Add a RoadTest. More...

#include <RoadTest.h>

Inheritance diagram for orgQhull::RoadTest:
Inheritance graph
[legend]

List of all members.

Public Slots

Test slots

! List of failed tests

void cleanup ()
 Executed after each test.

Public Member Functions

Constructors, etc.
 RoadTest ()
 ~RoadTest ()
void recordFailedTest ()

Static Public Member Functions

Class functions
static int runTests (QStringList arguments)

Static Protected Attributes

Class globals
static QList< RoadTest * > s_testcases
static int s_test_count = 0
 ! List of testcases to execute. Initialized via add_...()
static int s_test_fail = 0
 ! Total number of tests executed
static QStringList s_failed_tests
 ! Number of failed tests

Detailed Description

TESTadd_(t) -- Add a RoadTest.

Test Name objects using Qt's QTestLib

Template:

class Name_test : public RoadTest { Q_OBJECT #//Test slot private slots: void t_name(); Executed before any test void initTestCase(); void init(); // Each test Executed after each test void cleanup(); //RoadTest::cleanup(); Executed after last test void cleanupTestCase(); };

void add_Name_test() { new Name_test(); }

Send additional output to cout

Definition at line 54 of file RoadTest.h.


Constructor & Destructor Documentation

Definition at line 72 of file RoadTest.h.

Definition at line 73 of file RoadTest.h.


Member Function Documentation

void orgQhull::RoadTest::cleanup ( ) [slot]

Definition at line 48 of file RoadTest.cpp.

int orgQhull::RoadTest::runTests ( QStringList  arguments) [static]

Definition at line 58 of file RoadTest.cpp.


Member Data Documentation

QStringList orgQhull::RoadTest::s_failed_tests [static, protected]

! Number of failed tests

Definition at line 64 of file RoadTest.h.

int orgQhull::RoadTest::s_test_count = 0 [static, protected]

! List of testcases to execute. Initialized via add_...()

Definition at line 62 of file RoadTest.h.

int orgQhull::RoadTest::s_test_fail = 0 [static, protected]

! Total number of tests executed

Definition at line 63 of file RoadTest.h.

QList< RoadTest * > orgQhull::RoadTest::s_testcases [static, protected]

Definition at line 61 of file RoadTest.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libqhull
Author(s): Robert Krug
autogenerated on Tue Jun 18 2013 12:38:50