Remove redundant #define

Change-Id: I27a47653d2c41741f39ee1fea6a1fed063279994
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-11-07 16:18:17 +10:00 committed by Qt by Nokia
parent 7125dd7186
commit 2cd4710715

View File

@ -38,14 +38,11 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtTest/QtTest>
#include <QtCore/private/qfilesystementry_p.h>
#if defined(Q_OS_WIN)
# define WIN_STUFF
#endif
//TESTED_CLASS=
//TESTED_FILES=
@ -64,7 +61,7 @@ private slots:
void baseName();
void completeBaseName_data();
void completeBaseName();
#if defined(WIN_STUFF)
#if defined(Q_OS_WIN)
void absoluteOrRelative_data();
void absoluteOrRelative();
#endif
@ -72,7 +69,7 @@ private slots:
void isClean();
};
#if defined(WIN_STUFF)
#if defined(Q_OS_WIN)
void tst_QFileSystemEntry::getSetCheck_data()
{
QTest::addColumn<QString>("nativeFilePath");
@ -359,7 +356,7 @@ void tst_QFileSystemEntry::completeBaseName()
QCOMPARE(fi2.completeBaseName(), expected);
}
#if defined(WIN_STUFF)
#if defined(Q_OS_WIN)
void tst_QFileSystemEntry::absoluteOrRelative_data()
{
QTest::addColumn<QString>("path");