summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-22 02:44:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-22 02:50:49 (GMT)
commit9a40a3e76171c06d32ab4cadf700f6504dada129 (patch)
tree9ebcdc9276e3e027f8ff3ac07d56fd4cc893bd4e /tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
parent5bcf21e6bbbfa2c990197695963caba25530827c (diff)
downloadQt-9a40a3e76171c06d32ab4cadf700f6504dada129.zip
Qt-9a40a3e76171c06d32ab4cadf700f6504dada129.tar.gz
Qt-9a40a3e76171c06d32ab4cadf700f6504dada129.tar.bz2
Give error on attempt to import types from too-early version number.
eg. "import Qt 4.6" not valid.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
index c1397de..c39e6f7 100644
--- a/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
+++ b/tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
@@ -277,6 +277,7 @@ void tst_qdeclarativelanguage::errors_data()
QTest::newRow("importVersionMissing (builtin)") << "importVersionMissingBuiltIn.qml" << "importVersionMissingBuiltIn.errors.txt" << false;
QTest::newRow("importVersionMissing (installed)") << "importVersionMissingInstalled.qml" << "importVersionMissingInstalled.errors.txt" << false;
QTest::newRow("importNonExist (installed)") << "importNonExist.qml" << "importNonExist.errors.txt" << false;
+ QTest::newRow("importNonExistOlder (installed)") << "importNonExistOlder.qml" << "importNonExistOlder.errors.txt" << false;
QTest::newRow("importNewerVersion (installed)") << "importNewerVersion.qml" << "importNewerVersion.errors.txt" << false;
QTest::newRow("invalidImportID") << "invalidImportID.qml" << "invalidImportID.errors.txt" << false;