summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2010-12-09 09:50:27 +1000
committerRhys Weatherley <rhys.weatherley@nokia.com>2010-12-09 09:50:27 +1000
commitc06d64bb49c26e13d8aa27275838389484bb64a0 (patch)
treea8bf10fc45d9b1d5d8507302f1f57bc7f35545c1 /doc
parent2dbed27be16066b2dd4b17f960758171c610daea (diff)
Use QtQuickTest as the uniform name for the module
Diffstat (limited to 'doc')
-rw-r--r--doc/testcases.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/testcases.txt b/doc/testcases.txt
index 68c963a..405edae 100644
--- a/doc/testcases.txt
+++ b/doc/testcases.txt
@@ -31,7 +31,7 @@ Organization of test cases
The test cases are launched by a C++ harness that consists of
the following code:
- #include <QtTestQuick/qdeclarativetest.h>
+ #include <QtQuickTest/qdeclarativetest.h>
QTEST_QUICK_MAIN(qmlexample)
Where "qmlexample" is an identifier to use to uniquely identify
@@ -72,8 +72,8 @@ Basic test cases
Test cases are written as JavaScript functions within a "TestCase" element:
----------------------
-import Qt 4.7
-import QtTest 1.0
+import QtQuick 1.0
+import QtQuickTest 1.0
TestCase {
name: "MathTests"
@@ -167,8 +167,8 @@ Table data can be provided to a test using a function name that ends
with "_data":
----------------------
-import Qt 4.7
-import QtTest 1.0
+import QtQuick 1.0
+import QtQuickTest 1.0
TestCase {
name: "DataTests"
@@ -209,8 +209,8 @@ only when a certain condition is true. For example, the following example
runs a test when the user presses the mouse button:
----------------------
-import Qt 4.7
-import QtTest 1.0
+import QtQuick 1.0
+import QtQuickTest 1.0
Rectangle {
id: foo