diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-28 14:43:56 +1000 |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-28 14:43:56 +1000 |
commit | 2489ac6515d6ae5a403974e151b9a6cba4a3ea3f (patch) | |
tree | 5cb78801206cd893d74563c5bb1e8b03cf865214 /tests/auto | |
parent | 57a76a94e5b60c5c7c82ec86bea4f206f6f08f4e (diff) | |
download | qt4-tools-2489ac6515d6ae5a403974e151b9a6cba4a3ea3f.tar.gz |
Don't unnecessarily regenerate property cache
Improves compilation:boomblock benchmark by 22%
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp | 4 |
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 a951827569..6c195668a7 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)); |