Remove redundant #define
Change-Id: I27a47653d2c41741f39ee1fea6a1fed063279994 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
7125dd7186
commit
2cd4710715
@ -38,14 +38,11 @@
|
|||||||
** $QT_END_LICENSE$
|
** $QT_END_LICENSE$
|
||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
|
|
||||||
#include <QtCore/private/qfilesystementry_p.h>
|
#include <QtCore/private/qfilesystementry_p.h>
|
||||||
|
|
||||||
#if defined(Q_OS_WIN)
|
|
||||||
# define WIN_STUFF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//TESTED_CLASS=
|
//TESTED_CLASS=
|
||||||
//TESTED_FILES=
|
//TESTED_FILES=
|
||||||
|
|
||||||
@ -64,7 +61,7 @@ private slots:
|
|||||||
void baseName();
|
void baseName();
|
||||||
void completeBaseName_data();
|
void completeBaseName_data();
|
||||||
void completeBaseName();
|
void completeBaseName();
|
||||||
#if defined(WIN_STUFF)
|
#if defined(Q_OS_WIN)
|
||||||
void absoluteOrRelative_data();
|
void absoluteOrRelative_data();
|
||||||
void absoluteOrRelative();
|
void absoluteOrRelative();
|
||||||
#endif
|
#endif
|
||||||
@ -72,7 +69,7 @@ private slots:
|
|||||||
void isClean();
|
void isClean();
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(WIN_STUFF)
|
#if defined(Q_OS_WIN)
|
||||||
void tst_QFileSystemEntry::getSetCheck_data()
|
void tst_QFileSystemEntry::getSetCheck_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("nativeFilePath");
|
QTest::addColumn<QString>("nativeFilePath");
|
||||||
@ -359,7 +356,7 @@ void tst_QFileSystemEntry::completeBaseName()
|
|||||||
QCOMPARE(fi2.completeBaseName(), expected);
|
QCOMPARE(fi2.completeBaseName(), expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(WIN_STUFF)
|
#if defined(Q_OS_WIN)
|
||||||
void tst_QFileSystemEntry::absoluteOrRelative_data()
|
void tst_QFileSystemEntry::absoluteOrRelative_data()
|
||||||
{
|
{
|
||||||
QTest::addColumn<QString>("path");
|
QTest::addColumn<QString>("path");
|
||||||
|
Loading…
Reference in New Issue
Block a user