summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedom
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-28 04:43:56 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-28 04:43:56 (GMT)
commit2489ac6515d6ae5a403974e151b9a6cba4a3ea3f (patch)
tree5cb78801206cd893d74563c5bb1e8b03cf865214 /tests/auto/declarative/qdeclarativedom
parent57a76a94e5b60c5c7c82ec86bea4f206f6f08f4e (diff)
downloadQt-2489ac6515d6ae5a403974e151b9a6cba4a3ea3f.zip
Qt-2489ac6515d6ae5a403974e151b9a6cba4a3ea3f.tar.gz
Qt-2489ac6515d6ae5a403974e151b9a6cba4a3ea3f.tar.bz2
Don't unnecessarily regenerate property cache
Improves compilation:boomblock benchmark by 22%
Diffstat (limited to 'tests/auto/declarative/qdeclarativedom')
-rw-r--r--tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
index a951827..6c19566 100644
--- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
+++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
@@ -419,10 +419,8 @@ void tst_qdeclarativedom::loadSyntaxErrors()
void tst_qdeclarativedom::loadRemoteErrors()
{
QByteArray qml = "import Qt 4.7\n"
+ "import \"http://localhost/exampleQmlScript.js\" as Script\n"
"Item {\n"
- " Script {\n"
- " source: \"http://localhost/exampleQmlScript.js\""
- " }\n"
"}";
QDeclarativeDomDocument document;
QVERIFY(false == document.load(&engine, qml));