testlib: Improve documentation of verbose test logging options.

Change the help output to show which options only work for plain text
logging.

Change-Id: I39eb7cd0793cdbe553c230334c6cd532b4929f61
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2012-02-29 12:49:25 +10:00 committed by Qt by Nokia
parent 88374c7963
commit 51296085b9

View File

@ -1191,11 +1191,13 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
" *** If no output file is specified, stdout is assumed.\n"
" *** If no output format is specified, -txt is assumed.\n"
"\n"
" Detail options:\n"
" -silent : Only output failures and fatal errors in plain text output\n"
" -v1 : Print enter messages for each testfunction\n"
" -v2 : Also print out each QVERIFY/QCOMPARE/QTEST\n"
" -vs : Print every signal emitted\n"
" Test log detail options:\n"
" -silent : Log failures and fatal errors only\n"
" -v1 : Log the start of each testfunction\n"
" -v2 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1)\n"
" -vs : Log every signal emission and resulting slot invocations\n"
"\n"
" *** The -silent and -v1 options only affect plain text output.\n"
"\n"
" Testing options:\n"
" -functions : Returns a list of current testfunctions\n"