Fraxinus  16.5.0-fx-rc4
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cisstTestMain.cpp File Reference
#include <cppunit/Test.h>
#include <cppunit/TestSuite.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/RepeatedTest.h>
#include <cppunit/ui/text/TestRunner.h>
#include <QApplication>
#include "cxApplication.h"
#include <string>
#include <list>
#include <iostream>
#include "cisstTestParameters.h"

Go to the source code of this file.

Functions

CppUnit::Test * FindTestInTestSuite (CppUnit::Test *tests, const std::string &name)
 
CppUnit::Test * InstantiateTests (const cisstTestParameters::TestNameContainerType &testNames)
 
int ListAllTestsInTestSuite (CppUnit::Test *tests)
 
int GenerateCTestFile (CppUnit::Test *tests, const std::string &programName)
 
int main (int argc, char *argv[])
 

Function Documentation

CppUnit::Test* FindTestInTestSuite ( CppUnit::Test *  tests,
const std::string &  name 
)

Definition at line 42 of file cisstTestMain.cpp.

int GenerateCTestFile ( CppUnit::Test *  tests,
const std::string &  programName 
)

Recursion used to fill the CMake/ctest compatible list of tests.

Definition at line 121 of file cisstTestMain.cpp.

CppUnit::Test* InstantiateTests ( const cisstTestParameters::TestNameContainerType testNames)

Definition at line 74 of file cisstTestMain.cpp.

int ListAllTestsInTestSuite ( CppUnit::Test *  tests)

List all available tests in a given test suite.

Definition at line 98 of file cisstTestMain.cpp.

int main ( int  argc,
char *  argv[] 
)

custom app handling exceptions

Definition at line 155 of file cisstTestMain.cpp.