From: Kim Motoyoshi Kalland Date: Thu, 19 May 2011 08:32:41 +0000 (+0200) Subject: Update unit test according to intended behaviour change. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=13970487ff78c2794fa2300af33b536968162953;p=konrad%2Fqtdeclarative.git Update unit test according to intended behaviour change. The behaviour was changed in commit 9d7eb51da37e8dffbe284fc564c9b9f08a89bea2. --- diff --git a/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp b/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp index 80d9d93..518be89 100644 --- a/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp +++ b/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp @@ -174,7 +174,7 @@ void tst_qdeclarativeqt::rect() QCOMPARE(qvariant_cast(object->property("test2")), QRectF(-10, 13, 100, 109.6)); QCOMPARE(qvariant_cast(object->property("test3")), QRectF()); QCOMPARE(qvariant_cast(object->property("test4")), QRectF()); - QCOMPARE(qvariant_cast(object->property("test5")), QRectF()); + QCOMPARE(qvariant_cast(object->property("test5")), QRectF(10, 13, 100, -109)); delete object; }