test: fix tst_QFile::rename() autotest
This test was incorrectly assuming that a file named "Makefile" exists. Also removing the `insignificant_test' mark for Linux. Change-Id: I318b12f67e0476d6f08d1fc86194ca96f2bdb373 Reviewed-on: http://codereview.qt.nokia.com/1923 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
001bd63e81
commit
227cb8c0b9
@ -41,4 +41,4 @@ symbian {
|
||||
LIBS+=-lefsrv
|
||||
}
|
||||
|
||||
CONFIG+=insignificant_test
|
||||
mac*:CONFIG+=insignificant_test
|
||||
|
@ -2438,7 +2438,7 @@ void tst_QFile::rename_data()
|
||||
QTest::newRow("a -> b") << QString("a") << QString("b") << false;
|
||||
QTest::newRow("a -> .") << QString("a") << QString(".") << false;
|
||||
QTest::newRow("renamefile -> renamefile") << QString("renamefile") << QString("renamefile") << false;
|
||||
QTest::newRow("renamefile -> Makefile") << QString("renamefile") << QString("Makefile") << false;
|
||||
QTest::newRow("renamefile -> noreadfile") << QString("renamefile") << QString("noreadfile") << false;
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN)
|
||||
QTest::newRow("renamefile -> /etc/renamefile") << QString("renamefile") << QString("/etc/renamefile") << false;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user