![]() |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Functions | |
void | setTestScriptDirectories (const std::vector< std::string > &scriptDirectories) |
setTestScriptDirectories Sets the directories containing self-test scripts to run More... | |
void | addTestScriptDirectory (const std::string &scriptDirectory) |
addTestScriptDirectory Adds a directory containing scripts to run self-tests from More... | |
void | runSelfTests () |
runSelfTests Runs the self tests This periodically consumes and runs scripts from the directories specified by the calls to addTestScriptDirectory/setTestScriptDirectories It closes the application with QApplication::exit(0) when there are no scripts are left to run, or QApplication::exit(-1) in case of an error More... | |
void geometrize::test::addTestScriptDirectory | ( | const std::string & | scriptDirectory | ) |
addTestScriptDirectory Adds a directory containing scripts to run self-tests from
scriptDirectory | The path to the directory containing scripts to run |
void geometrize::test::runSelfTests | ( | ) |
runSelfTests Runs the self tests This periodically consumes and runs scripts from the directories specified by the calls to addTestScriptDirectory/setTestScriptDirectories It closes the application with QApplication::exit(0) when there are no scripts are left to run, or QApplication::exit(-1) in case of an error
void geometrize::test::setTestScriptDirectories | ( | const std::vector< std::string > & | scriptDirectories | ) |
setTestScriptDirectories Sets the directories containing self-test scripts to run
scriptDirectories | A vector of paths to the directories containing scripts to run scripts |