diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-10-04 06:44:32 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-10-04 06:48:29 (GMT) |
commit | f25391e52af3eef68abfa3941fc48da0c52bb010 (patch) | |
tree | 0b8f02830dc0b81b144867c33253823ecc60ca2f /tests/auto/declarative/qdeclarativemousearea | |
parent | da45259dbfa05c4f3b6c8c0472a65851692060e4 (diff) | |
download | Qt-f25391e52af3eef68abfa3941fc48da0c52bb010.zip Qt-f25391e52af3eef68abfa3941fc48da0c52bb010.tar.gz Qt-f25391e52af3eef68abfa3941fc48da0c52bb010.tar.bz2 |
Improve test coverage for declarative module.
Add additional autotests, and remove unreachable functions.
Diffstat (limited to 'tests/auto/declarative/qdeclarativemousearea')
-rw-r--r-- | tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp b/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp index e4ec01f..5e88450 100644 --- a/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp +++ b/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp @@ -356,6 +356,7 @@ void tst_QDeclarativeMouseArea::onMousePressRejected() canvas->show(); canvas->setFocus(); QVERIFY(canvas->rootObject() != 0); + QVERIFY(canvas->rootObject()->property("enabled").toBool()); QVERIFY(!canvas->rootObject()->property("mr1_pressed").toBool()); QVERIFY(!canvas->rootObject()->property("mr1_released").toBool()); |