From: Aaron Kennedy Date: Thu, 1 Dec 2011 13:31:32 +0000 (+0000) Subject: Remove debugging output X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=3a5bbbe499fdf3014f4bce6faabfb34bd38b3da8;p=konrad%2Fqtdeclarative.git 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 --- diff --git a/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp b/tests/auto/declarative/qdeclarativepropertymap/tst_qdeclarativepropertymap.cpp index 510bc59..cb2db47 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());