summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmllanguage
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-13 04:31:31 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-13 04:31:31 (GMT)
commit351060bd313220044b9323d59d56627e78deea9f (patch)
treea9cd6b6b8e78f41c2bbcdc19b1ce813b4421a190 /tests/auto/declarative/qmllanguage
parentdfaf68593702f191ea66920074c96ca2244a973e (diff)
downloadQt-351060bd313220044b9323d59d56627e78deea9f.zip
Qt-351060bd313220044b9323d59d56627e78deea9f.tar.gz
Qt-351060bd313220044b9323d59d56627e78deea9f.tar.bz2
Test fix in 4accb53cc2f9e2e89fda91a20e3c0503cf10aad0
Diffstat (limited to 'tests/auto/declarative/qmllanguage')
-rw-r--r--tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
index 506c71a..e3a81cb 100644
--- a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
+++ b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
@@ -1133,6 +1133,10 @@ void tst_qmllanguage::importsLocal_data()
<< "import \"subdir\"\n" // QT-613
"Test {}"
<< "QmlGraphicsRectangle";
+ QTest::newRow("local import second")
+ << "import Qt 4.6\nimport \"subdir\"\n"
+ "Test {}"
+ << "QmlGraphicsRectangle";
QTest::newRow("local import as")
<< "import \"subdir\" as T\n"
"T.Test {}"