MCPcopy Create free account
hub / github.com/comaps/comaps / Usage

Function Usage

libs/testing/testingmain.cpp:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void Usage(char const * name)
108{
109 cerr << "USAGE: " << name << " [options]\n\n";
110 cerr << "OPTIONS:\n";
111 DisplayOption(cerr, kFilterOption, "<ECMA Regexp>", "Run tests with names corresponding to regexp.");
112 DisplayOption(cerr, kSuppressOption, "<ECMA Regexp>", "Do not run tests with names corresponding to regexp.");
113 DisplayOption(cerr, kDataPathOptions, "<Path>", "Path to data files.");
114 DisplayOption(cerr, kResourcePathOptions, "<Path>", "Path to resources, styles and classificators.");
115 DisplayOption(cerr, kListAllTestsOption, "List all the tests in the test suite and exit.");
116 DisplayOption(cerr, kHelpOption, "Print this help message and exit.");
117}
118
119void ParseOptions(int argc, char * argv[], CommandLineOptions & options)
120{

Callers 1

mainFunction · 0.85

Calls 1

DisplayOptionFunction · 0.85

Tested by

no test coverage detected