summaryrefslogtreecommitdiffstats
path: root/src/testlib/doc
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-07-27 19:08:26 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-09-01 19:44:19 +0200
commit6dd6bf3467040b3efceafa317de6e833ee5ec15e (patch)
treedb0e3524222ec5be2b6b2b4ac59ff02f39d339df /src/testlib/doc
parent8814fb5f4faff2d8442e481feb1bb35c2250e930 (diff)
Fix two trivial defects in testlib docs
A fragment of inline code wasn't wrapped in \c{}. Doing so made the quotes it was wrapped in redundant. Documentation of of QSKIP's parameter claimed it does something it should, but it's up to the client code using it to write a description that lives up to that. Pick-to: 6.4 Change-Id: Ib355b9b85c9986f244ae01479134245f182c912c Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/testlib/doc')
-rw-r--r--src/testlib/doc/src/qttestlib-manual.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testlib/doc/src/qttestlib-manual.qdoc b/src/testlib/doc/src/qttestlib-manual.qdoc
index 99ef67dcf7..3d9cfb3e3c 100644
--- a/src/testlib/doc/src/qttestlib-manual.qdoc
+++ b/src/testlib/doc/src/qttestlib-manual.qdoc
@@ -938,7 +938,7 @@
\snippet tutorial5/benchmarking.cpp 2
- The "if (useLocaleCompare)" switch is placed outside the QBENCHMARK
+ The \c{if (useLocaleCompare)} switch is placed outside the QBENCHMARK
macro to avoid measuring its overhead. Each benchmark test function
can have one active QBENCHMARK macro.
@@ -977,7 +977,7 @@
the execution of the test without adding a failure to the test log.
It can be used to skip tests that are certain to fail. The text in
the QSKIP \a description parameter is appended to the test log,
- and explains why the test was not carried out.
+ and should explain why the test was not carried out.
QSKIP can be used to skip testing when the implementation is not yet
complete or not supported on a certain platform. When there are known