diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2011-12-01 13:31:32 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-01 15:05:14 +0100 |
commit | 3a5bbbe499fdf3014f4bce6faabfb34bd38b3da8 (patch) | |
tree | 07db003d48370e41d49042d95f1f3f868e2ab55d /tests | |
parent | eaddd03d78493b1e60ab656a6c5ffb04e05ca679 (diff) |
Remove debugging output
The console.log() is not a significant part of the test, so it can be
removed. The exception will still be thrown if keys is not a function.
Change-Id: Ifaec6e0ed5ecc32ad7b885bff31df493120ed9aa
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp b/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp index 510bc595be..cb2db47800 100644 --- a/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp +++ b/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp @@ -228,7 +228,7 @@ void tst_QDeclarativePropertyMap::QTBUG_17868() context.setContextProperty("map", &map); map.insert("key", 1); QDeclarativeComponent c(&engine); - c.setData("import QtQuick 2.0\nItem {property bool error:false; Component.onCompleted: {try{console.log(map.keys());}catch(e) {error=true;}}}",QUrl()); + c.setData("import QtQuick 2.0\nItem {property bool error:false; Component.onCompleted: {try{ map.keys(); }catch(e) {error=true;}}}",QUrl()); QObject *obj = c.create(&context); QVERIFY(obj); QVERIFY(!obj->property("error").toBool()); |