From 51296085b9d96b131d1f095dd2cfe61745c07ef3 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 29 Feb 2012 12:49:25 +1000 Subject: 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 --- src/testlib/qtestcase.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/testlib') diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index a4f1a39bbd..e16787693d 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -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" -- cgit v1.2.3