#include <jsontest.h>
Adds a test to the suite.
void printUsage |
( |
const char * |
appName | ) |
|
|
static |
bool runAllTest |
( |
bool |
printSummary | ) |
const |
int runCommandLine |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| const |
Runs test as specified on the command-line If no command-line arguments are provided, run all tests. If –list-tests is provided, then print the list of all test cases If –test <testname> is provided, then run test testname.
void runTestAt |
( |
unsigned int |
index, |
|
|
TestResult & |
result |
|
) |
| const |
Runs the test case at the specified index using the specified TestResult.
unsigned int testCount |
( |
| ) |
const |
Returns the number of test case in the suite.
std::string testNameAt |
( |
unsigned int |
index | ) |
const |
Returns the name of the test case at the specified index.
The documentation for this class was generated from the following files:
- persistence/rapidjson/thirdparty/jsoncpp/src/test_lib_json/jsontest.h
- persistence/rapidjson/thirdparty/jsoncpp/src/test_lib_json/jsontest.cpp