summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmllanguage
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-30 04:15:22 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-30 04:15:22 (GMT)
commit45cc1ea534640cb492bd00405bf8fcd5dbfbcf5c (patch)
tree9bbf0cca7e26abfab486c658cc6d4005fd4e74b8 /tests/auto/declarative/qmllanguage
parentf37e9d787bd418d8f75997a8d46c1c42e842c673 (diff)
downloadQt-45cc1ea534640cb492bd00405bf8fcd5dbfbcf5c.zip
Qt-45cc1ea534640cb492bd00405bf8fcd5dbfbcf5c.tar.gz
Qt-45cc1ea534640cb492bd00405bf8fcd5dbfbcf5c.tar.bz2
Rename QFx classes to QmlGraphics
Diffstat (limited to 'tests/auto/declarative/qmllanguage')
-rw-r--r--tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
index 6494c40..e2a4142 100644
--- a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
+++ b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
@@ -947,11 +947,11 @@ void tst_qmllanguage::importsLocal_data()
QTest::newRow("local import")
<< "import \"subdir\"\n" // QT-613
"Test {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("local import as")
<< "import \"subdir\" as T\n"
"T.Test {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("wrong local import as")
<< "import \"subdir\" as T\n"
"Test {}"
@@ -979,9 +979,9 @@ void tst_qmllanguage::importsRemote_data()
+ QtNetworkSettings::serverName()
+ "/qtest/declarative/qmllanguage";
- QTest::newRow("remote import") << "import \""+serverdir+"\"\nTest {}" << "QFxRect";
- QTest::newRow("remote import with subdir") << "import \""+serverdir+"\"\nTestSubDir {}" << "QFxText";
- QTest::newRow("remote import with local") << "import \""+serverdir+"\"\nTestLocal {}" << "QFxImage";
+ QTest::newRow("remote import") << "import \""+serverdir+"\"\nTest {}" << "QmlGraphicsRect";
+ QTest::newRow("remote import with subdir") << "import \""+serverdir+"\"\nTestSubDir {}" << "QmlGraphicsText";
+ QTest::newRow("remote import with local") << "import \""+serverdir+"\"\nTestLocal {}" << "QmlGraphicsImage";
}
void tst_qmllanguage::importsRemote()
@@ -1002,11 +1002,11 @@ void tst_qmllanguage::importsInstalled_data()
QTest::newRow("installed import 1")
<< "import com.nokia.installedtest 1.0\n"
"InstalledTest {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("installed import 2")
<< "import com.nokia.installedtest 1.4\n"
"InstalledTest {}"
- << "QFxText";
+ << "QmlGraphicsText";
QTest::newRow("installed import visibility") // QT-614
<< "import com.nokia.installedtest 1.4\n"
"PrivateType {}"
@@ -1030,36 +1030,36 @@ void tst_qmllanguage::importsOrder_data()
"import com.nokia.installedtest 1.0\n"
"import com.nokia.installedtest 1.4\n"
"InstalledTest {}"
- << "QFxText";
+ << "QmlGraphicsText";
QTest::newRow("installed import overrides 2") <<
"import com.nokia.installedtest 1.4\n"
"import com.nokia.installedtest 1.0\n"
"InstalledTest {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("installed import re-overrides 1") <<
"import com.nokia.installedtest 1.4\n"
"import com.nokia.installedtest 1.0\n"
"import com.nokia.installedtest 1.4\n"
"InstalledTest {}"
- << "QFxText";
+ << "QmlGraphicsText";
QTest::newRow("installed import re-overrides 2") <<
"import com.nokia.installedtest 1.4\n"
"import com.nokia.installedtest 1.0\n"
"import com.nokia.installedtest 1.4\n"
"import com.nokia.installedtest 1.0\n"
"InstalledTest {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("installed import versus builtin 1") <<
"import com.nokia.installedtest 1.5\n"
"import Qt 4.6\n"
"Rectangle {}"
- << "QFxRect";
+ << "QmlGraphicsRect";
QTest::newRow("installed import versus builtin 2") <<
"import Qt 4.6\n"
"import com.nokia.installedtest 1.5\n"
"Rectangle {}"
- << "QFxText";
+ << "QmlGraphicsText";
QTest::newRow("namespaces cannot be overridden by types 1") <<
"import Qt 4.6 as Rectangle\n"
"import com.nokia.installedtest 1.5\n"
@@ -1069,7 +1069,7 @@ void tst_qmllanguage::importsOrder_data()
"import Qt 4.6 as Rectangle\n"
"import com.nokia.installedtest 1.5\n"
"Rectangle.Image {}"
- << "QFxImage";
+ << "QmlGraphicsImage";
}
void tst_qmllanguage::importsOrder()