diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2020-02-27 12:58:26 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2020-04-03 13:13:55 +0000 |
commit | 713cd83200f3c60eac5d389dfabc44be1446e2ac (patch) | |
tree | 5f5eb19254e661022d8db88f3cc772bdc7a60e29 /src/testlib/doc/src/qttestlib-manual.qdoc | |
parent | 0c2d6c163f6e7908a7cc9a626f027cb38a5d7786 (diff) |
Doc: Make Qt Test snippets compilable
Task-number: QTBUG-81498
Change-Id: I22f07cd539e5e317b6cf15eb369d59915146bd13
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/doc/src/qttestlib-manual.qdoc')
-rw-r--r-- | src/testlib/doc/src/qttestlib-manual.qdoc | 4 |
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 56903d44bf..5b8ef361ca 100644 --- a/src/testlib/doc/src/qttestlib-manual.qdoc +++ b/src/testlib/doc/src/qttestlib-manual.qdoc @@ -475,7 +475,7 @@ For example, to test each number provided by \c {roundTripInt_data()} with each locale provided by \c {initTestCase_data()}: - \snippet code/src_qtestlib_qtestcase.cpp 31 + \snippet code/src_qtestlib_qtestcase_snippet.cpp 31 */ /*! @@ -902,7 +902,7 @@ Example of QSKIP in a test function: - \snippet code/doc_src_qtqskip.cpp 0 + \snippet code/doc_src_qtqskip_snippet.cpp 0 In a data-driven test, each call to QSKIP() skips only the current row of test data. If the data-driven test contains an unconditional |