summaryrefslogtreecommitdiff
path: root/src/qtestlib/wince/cetest/main.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-12 16:13:34 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-13 03:52:59 +0100
commit18ee2e8b52832dedfdc1ef6de14977c9e543e024 (patch)
treea40b858c144785d952135e3cac37b06b15ea9f41 /src/qtestlib/wince/cetest/main.cpp
parentab3c7254df033fcb0709a6970382bb244e83cb72 (diff)
downloadqttools-18ee2e8b52832dedfdc1ef6de14977c9e543e024.tar.gz
Avoid duplicating qtestlib usage text.
The valid qtestlib command-line options change over time. Refer to the documentation rather than creating an ongoing maintenance problem by duplicating the list of options. Change-Id: Id16b71e611f80b89c48b73490b816f5b908699d6 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/qtestlib/wince/cetest/main.cpp')
-rw-r--r--src/qtestlib/wince/cetest/main.cpp20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/qtestlib/wince/cetest/main.cpp b/src/qtestlib/wince/cetest/main.cpp
index 647289672..ca5194633 100644
--- a/src/qtestlib/wince/cetest/main.cpp
+++ b/src/qtestlib/wince/cetest/main.cpp
@@ -106,22 +106,9 @@ void usage()
{
cout <<
"QTestLib options\n"
- " -functions : Returns a list of current testfunctions\n"
- " -xml : Outputs results as XML document\n"
- " -lightxml : Outputs results as stream of XML tags\n"
- " -o filename: Writes all output into a file\n"
- " -silent : Only outputs warnings and failures\n"
- " -v1 : Print enter messages for each testfunction\n"
- " -v2 : Also print out each QVERIFY/QCOMPARE/QTEST\n"
- " -vs : Print every signal emitted\n"
- " -eventdelay ms : Set default delay for mouse and keyboard simulation to ms milliseconds\n"
- " -keydelay ms : Set default delay for keyboard simulation to ms milliseconds\n"
- " -mousedelay ms : Set default delay for mouse simulation to ms milliseconds\n"
- " -keyevent-verbose : Turn on verbose messages for keyboard simulation\n"
- " -maxwarnings n : Sets the maximum amount of messages to output.\n"
- " 0 means unlimited, default: 2000\n"
- " -help : This help\n";
- cout <<
+ " All valid QTestLib command-line options are accepted.\n"
+ " For details of QTestLib options, refer to the QTestLib Manual.\n"
+ "\n"
"cetest specific options\n"
" -debug : Test debug version[default]\n"
" -release : Test release version\n"
@@ -139,6 +126,7 @@ void usage()
" -1 specifies waiting forever (default)\n"
" 0 specifies starting the process detached\n"
" >0 wait <value> seconds\n"
+ " -help : This help\n"
"\n";
}