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/io/qfile/tst_qfile.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/corelib/io') diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index d4f99c5d74..59c90f64ec 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -651,8 +651,6 @@ void tst_QFile::seek() void tst_QFile::setSize() { - DEPENDS_ON( "size" ); - if ( QFile::exists( "createme.txt" ) ) QFile::remove( "createme.txt" ); QVERIFY( !QFile::exists( "createme.txt" ) ); @@ -1120,8 +1118,6 @@ void tst_QFile::permissions() void tst_QFile::setPermissions() { - DEPENDS_ON( "permissions" ); //if that doesn't work... - if ( QFile::exists( "createme.txt" ) ) QFile::remove( "createme.txt" ); QVERIFY( !QFile::exists( "createme.txt" ) ); -- cgit v1.2.3