aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-02-29 13:54:16 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-02 05:16:12 +0100
commit61ab01252d928576bf9ef1d8c6cc421e1a825dde (patch)
tree3f0c09fa5330324a3ae8e1dafb8ce9f95ab01462
parenta7c56b79d2f682b1e82b6b92d11fc942148d8c3b (diff)
Reenable value type binding auto removal tests.
Change-Id: I349017bf24f9f2f18024d1257eeaebb348cc8503 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
-rw-r--r--tests/auto/declarative/qdeclarativevaluetypes/tst_qdeclarativevaluetypes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativevaluetypes/tst_qdeclarativevaluetypes.cpp b/tests/auto/declarative/qdeclarativevaluetypes/tst_qdeclarativevaluetypes.cpp
index e701efa2a4..15001f70c8 100644
--- a/tests/auto/declarative/qdeclarativevaluetypes/tst_qdeclarativevaluetypes.cpp
+++ b/tests/auto/declarative/qdeclarativevaluetypes/tst_qdeclarativevaluetypes.cpp
@@ -951,7 +951,6 @@ void tst_qdeclarativevaluetypes::autoBindingRemoval()
delete object;
}
- /*
{
QDeclarativeComponent component(&engine, testFileUrl("autoBindingRemoval.2.qml"));
MyTypeObject *object = qobject_cast<MyTypeObject *>(component.create());
@@ -976,6 +975,8 @@ void tst_qdeclarativevaluetypes::autoBindingRemoval()
{
QDeclarativeComponent component(&engine, testFileUrl("autoBindingRemoval.3.qml"));
+ QString warning = component.url().toString() + ":6: Unable to assign [undefined] to QRect";
+ QTest::ignoreMessage(QtWarningMsg, qPrintable(warning));
MyTypeObject *object = qobject_cast<MyTypeObject *>(component.create());
QVERIFY(object != 0);
@@ -993,7 +994,6 @@ void tst_qdeclarativevaluetypes::autoBindingRemoval()
delete object;
}
-*/
}
// Test that property value sources assign to value types