Update unit test according to intended behaviour change.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Thu, 19 May 2011 08:32:41 +0000 (10:32 +0200)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>
Thu, 19 May 2011 08:36:34 +0000 (10:36 +0200)
The behaviour was changed in commit
9d7eb51da37e8dffbe284fc564c9b9f08a89bea2.

tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp

index 80d9d93..518be89 100644 (file)
@@ -174,7 +174,7 @@ void tst_qdeclarativeqt::rect()
     QCOMPARE(qvariant_cast<QRectF>(object->property("test2")), QRectF(-10, 13, 100, 109.6));
     QCOMPARE(qvariant_cast<QRectF>(object->property("test3")), QRectF());
     QCOMPARE(qvariant_cast<QRectF>(object->property("test4")), QRectF());
-    QCOMPARE(qvariant_cast<QRectF>(object->property("test5")), QRectF());
+    QCOMPARE(qvariant_cast<QRectF>(object->property("test5")), QRectF(10, 13, 100, -109));
 
     delete object;
 }