summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_examples_imageviewer.cpp
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-06-30 13:34:36 +0200
committerRohan McGovern <rohan.mcgovern@nokia.com>2011-07-26 14:19:46 +1000
commit4866d1ba8afbab61e102942d1ea93b81fea053d6 (patch)
treefe31f6c8bddb37c5aa93a5f41d1a3d0e1eb6fc48 /doc/src/snippets/code/doc_src_examples_imageviewer.cpp
parentdf1bd0745ac4dc45d150840f87e32a57829029cb (diff)
downloadqt4-tools-4866d1ba8afbab61e102942d1ea93b81fea053d6.tar.gz
Add test case name and drop parentheses for -datatags option.
For completeness, the -datatags command-line option in QTestLib now prints the test case name at the start of each output line. NOTE: Although the file name is supposed to match the lower-case version of the test case name, this is currently not true in all cases (particularly not under tests/benchmarks). Even if there was a script to enforce this convention, the -datatags option now provides this information in a reliable way. This patch also drops the parentheses after the test function as these are always empty anyway. 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: tst_MyTestCase f Case 2: Local tags only: tst_MyTestCase f local tag 1 tst_MyTestCase f local tag 2 ... Case 3: Global tags only: tst_MyTestCase f __global__ global tag 1 tst_MyTestCase f __global__ global tag 2 ... Case 4: Local and global tags: tst_MyTestCase f local tag 1 __global__ global tag 1 tst_MyTestCase f local tag 2 __global__ global tag 1 ... tst_MyTestCase f local tag 1 __global__ global tag 2 tst_MyTestCase f local tag 2 __global__ global tag 2 ... ... Change-Id: Id9273039a5d33527c32abf6eb1baef80193fa585 Reviewed-by: Rohan McGovern
Diffstat (limited to 'doc/src/snippets/code/doc_src_examples_imageviewer.cpp')
0 files changed, 0 insertions, 0 deletions