summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjasplin <jo.asplin@nokia.com>2011-06-08 15:13:13 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-07-26 04:18:56 (GMT)
commit01575deafb7d26ca2431374e92c6d71de96547c7 (patch)
treeaa8499a652c4abfb5a1ec98e48612b133f0c2fdf /doc
parent13ea186f3592815899f0cecc07a6094e2360a71e (diff)
downloadQt-01575deafb7d26ca2431374e92c6d71de96547c7.zip
Qt-01575deafb7d26ca2431374e92c6d71de96547c7.tar.gz
Qt-01575deafb7d26ca2431374e92c6d71de96547c7.tar.bz2
Added -datatags option to QTestLib
Passing the -datatags option to a QTestLib program prints the available data tags to standard output. Data tags for each test function (f() in this case) are printed in four different ways depending on the presence of local and global data tags: Case 1: No tags: f() Case 2: Local tags only: f() local tag 1 f() local tag 2 ... Case 3: Global tags only: f() __global__ global tag 1 f() __global__ global tag 2 ... Case 4: Local and global tags: f() local tag 1 __global__ global tag 1 f() local tag 2 __global__ global tag 1 ... f() local tag 1 __global__ global tag 2 f() local tag 2 __global__ global tag 2 ... ... Reviewed-by: Rohan McGovern Task-number: QTQAINFRA-226 Change-Id: I14de203b586a0085b8efda8e62772711e44677d2
Diffstat (limited to 'doc')
-rw-r--r--doc/src/development/qtestlib.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/development/qtestlib.qdoc b/doc/src/development/qtestlib.qdoc
index 10ae285..3b338e3 100644
--- a/doc/src/development/qtestlib.qdoc
+++ b/doc/src/development/qtestlib.qdoc
@@ -181,6 +181,9 @@
outputs the possible command line arguments and give some useful help.
\o \c -functions \BR
outputs all test functions available in the test.
+ \o \c -datatags \BR
+ outputs all data tags available in the test.
+ A global data tag is preceded by ' __global__ '.
\o \c -o \e filename \BR
write output to the specified file, rather than to standard output
\o \c -silent \BR