From 8f02339e76b9b21df028e29735475313760f82c6 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 18 Oct 2011 12:50:36 +1000 Subject: Remove DEPENDS_ON from qtestlib API. The DEPENDS_ON macro didn't do anything and has misled many users to think that they can write test functions that depend on other test functions. Task-number: QTBUG-21851 Change-Id: Ibe65b2d5d88bb81b6a0ebbe0b220f7d409a1446c Reviewed-by: Rohan McGovern --- tests/auto/corelib/tools/qrect/tst_qrect.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests/auto/corelib/tools/qrect') diff --git a/tests/auto/corelib/tools/qrect/tst_qrect.cpp b/tests/auto/corelib/tools/qrect/tst_qrect.cpp index c84e175857..fe3be33255 100644 --- a/tests/auto/corelib/tools/qrect/tst_qrect.cpp +++ b/tests/auto/corelib/tools/qrect/tst_qrect.cpp @@ -126,8 +126,6 @@ private slots: void setRight(); void setBottom_data(); void setBottom(); - void setX(); - void setY(); void newSetTopLeft_data(); void newSetTopLeft(); void newSetBottomRight_data(); @@ -1503,16 +1501,6 @@ void tst_QRect::setBottom() QCOMPARE( r, nr ); } -void tst_QRect::setX() -{ - DEPENDS_ON( "setLeft" ); -} - -void tst_QRect::setY() -{ - DEPENDS_ON( "setTop" ); -} - void tst_QRect::newSetTopLeft_data() { QTest::addColumn("r"); -- cgit v1.2.3