1 #ifndef __TEST_ELMERFOAMFSI_H__
7 #define __TEST_ELMERFOAMFSI_H__
11 namespace ElmerFoamFSI{
20 : IRAD::Util::ComLineObject()
23 : IRAD::Util::ComLineObject(args)
26 AddOption(
'h',
"help");
27 AddHelp(
"help",
"Print out long version of help and exit.");
28 AddOption(
'v',
"verblevel",1,
"level");
29 AddHelp(
"verblevel",
"Set the verbosity level. (default = 0)");
30 AddOption(
'o',
"output",2,
"filename");
31 AddHelp(
"output",
"Set the output file to <filename>. (default = stdout)");
32 AddOption(
'l',
"list",2,
"filename");
33 std::ostringstream Ostr;
34 Ostr <<
"Set the list file name to <filename>. (no default). "
35 <<
"The list file should be a text file with one test name per line.";
36 AddHelp(
"list",Ostr.str());
37 AddOption(
'n',
"name",2,
"TestName");
38 AddHelp(
"name",
"Run test by name. (no default)");
39 AddOption(
's',
"source",2,
"path");
40 AddHelp(
"source",
"The path to the testing source directory.");
42 Ostr <<
"Command-line interface for the test of the ElmerFoamFSI.";
43 _description.assign(Ostr.str());
ComLineObject for ElmerFoamFSI testing command-line interface.
Testing object for ElmerFoamFSI.
TestComLine(const char *args[])