diff options
Diffstat (limited to 'src/imports/testlib/TestCase.qml')
-rw-r--r-- | src/imports/testlib/TestCase.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/testlib/TestCase.qml b/src/imports/testlib/TestCase.qml index 7ff51bb6d6..18af7e0ab0 100644 --- a/src/imports/testlib/TestCase.qml +++ b/src/imports/testlib/TestCase.qml @@ -50,7 +50,7 @@ import Qt.test.qtestroot 1.0 \since 4.8 \ingroup qtquicktest - \section1 Introduction to QML test cases + \section1 Introduction to QML Test Cases Test cases are written as JavaScript functions within a TestCase type: @@ -99,7 +99,7 @@ import Qt.test.qtestroot 1.0 once they have all completed. If a test case doesn't need to run (because a precondition has failed), then \l optional can be set to true. - \section1 Data-driven tests + \section1 Data-driven Tests Table data can be provided to a test using a function name that ends with "_data". Alternatively, the \c init_data() function can be used @@ -173,7 +173,7 @@ import Qt.test.qtestroot 1.0 To get the effect of the \c{QBENCHMARK_ONCE} macro, prefix the test function name with "benchmark_once_". - \section1 Simulating keyboard and mouse events + \section1 Simulating Keyboard and Mouse Events The keyPress(), keyRelease(), and keyClick() methods can be used to simulate keyboard events within unit tests. The events are |