diff -r 5dc02b23752f -r 3e2da88830cd tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp --- a/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp Tue Jul 06 15:10:48 2010 +0300 +++ b/tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp Wed Aug 18 10:37:55 2010 +0300 @@ -46,6 +46,11 @@ #include #include +#ifdef Q_OS_SYMBIAN +// In Symbian OS test data is located in applications private dir +#define SRCDIR "." +#endif + class tst_QDeclarativeMouseArea: public QObject { Q_OBJECT @@ -132,6 +137,17 @@ QCOMPARE(yminSpy.count(),1); QCOMPARE(ymaxSpy.count(),1); + // filterChildren + QSignalSpy filterChildrenSpy(drag, SIGNAL(filterChildrenChanged())); + + drag->setFilterChildren(true); + + QVERIFY(drag->filterChildren()); + QCOMPARE(filterChildrenSpy.count(), 1); + + drag->setFilterChildren(true); + QCOMPARE(filterChildrenSpy.count(), 1); + delete canvas; }