Namespaces | |
Rocin | |
TestFixture | |
Namespace for storing simple test utility fixtures. | |
Classes | |
class | TestingObject |
Project-specific testing object. More... | |
class | TestComLine |
ComLineObject for Rocstar testing command-line interface. More... | |
Typedefs | |
typedef IRAD::Util::TestResults | TestResults |
Project-specific test results type. More... | |
typedef IRAD::Comm::CommunicatorObject | CommType |
Convenience typedef for CommunicatorObject. More... | |
Functions | |
int | ParallelTest (int argc, char *argv[]) |
Drives the Rocstar::TestObject. More... | |
int | Test (int argc, char *argv[]) |
Drives the Rocstar::TestObject. More... | |
typedef IRAD::Comm::CommunicatorObject CommType |
Convenience typedef for CommunicatorObject.
Definition at line 20 of file ParallelTestRocstar.C.
typedef IRAD::Util::TestResults TestResults |
Project-specific test results type.
Test results types can be custom implemented by the project developer. The requirement is that they produce the proper test results output when used with outstreams.
Definition at line 41 of file RocstarTest.H.
int Rocstar::ParallelTest | ( | int | argc, |
char * | argv[] | ||
) |
Drives the Rocstar::TestObject.
argc | number of string command line tokens |
argv | string command line tokens |
Drives the Rocstar::TestObject, which should encapsulate all the tests for the Rocstar namespace (and thus the project).
Command line documentation:
rocstar_test [-h] [-v [level] -o <filename> -l <filename> -n <TestName> ] -h,--help Print out long version of help and exit. -v,--verblevel [level] Set the verbosity level. (default = 0) -o,--output <filename> Set the output file to <filename>. (default = stdout) -l,--list <filename> Set the list file name to <filename>. (no default). The list file should be a text file with one test name per line. -n,--name <TestName> Run test by name. (no default)
Definition at line 50 of file ParallelTestRocstar.C.
References TestComLine::Initialize(), rank, and test().
Referenced by main().
int Rocstar::Test | ( | int | argc, |
char * | argv[] | ||
) |
Drives the Rocstar::TestObject.
argc | number of string command line tokens |
argv | string command line tokens |
Drives the Rocstar::TestObject, which should encapsulate all the tests for the Rocstar namespace (and thus the project).
Command line documentation:
rocstar_test [-h] [-v [level] -o <filename> -l <filename> -n <TestName> ] -h,--help Print out long version of help and exit. -v,--verblevel [level] Set the verbosity level. (default = 0) -o,--output <filename> Set the output file to <filename>. (default = stdout) -l,--list <filename> Set the list file name to <filename>. (no default). The list file should be a text file with one test name per line. -n,--name <TestName> Run test by name. (no default)
Definition at line 45 of file TestRocstar.C.
References TestComLine::Initialize(), TestingObject< ResultsType >::Process(), TestingObject< ResultsType >::RunTest(), and test().
Referenced by main().