diff options
author | Liang Qi <liang.qi@qt.io> | 2017-09-05 09:01:22 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-09-05 09:31:34 +0200 |
commit | 2795ac5d5930fa28ea329529c0dd2e515b361531 (patch) | |
tree | 8dd01197f5b71e1eb8e3612b0119764623325803 /src/imports/testlib/TestCase.qml | |
parent | 8f93d3627a9b76bf77896501129990e33a77f32c (diff) | |
parent | 6ff0e9a65657e8c51a37e63efe8169bb7e3050cc (diff) |
Merge remote-tracking branch 'origin/5.9' into 5.10
Conflicts:
src/quick/items/qquickwindow.cpp
src/quick/scenegraph/qsgrenderloop.cpp
Change-Id: Idd7106995b5545fcac869e9056a365ef9edb36ca
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 |