Test: remove QSKIP in tst_QDataStream::stream_QIcon

Instead omit the whole test when Q_OS_WINCE is defined.

Change-Id: Ic69accb138121d2b39f068cef181da13b18e46ee
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
Caroline Chao 2012-10-18 09:56:57 +02:00 committed by The Qt Project
parent 6dfeee624a
commit 0b23cd186c

View File

@ -138,8 +138,10 @@ private slots:
void stream_qint64_data();
void stream_qint64();
#ifndef Q_OS_WINCE
void stream_QIcon_data();
void stream_QIcon();
#endif
void stream_QEasingCurve_data();
void stream_QEasingCurve();
@ -1544,20 +1546,18 @@ void tst_QDataStream::stream_QPixmap()
}
#endif
#ifndef Q_OS_WINCE
// Test depends on more memory than available on Qt/CE
void tst_QDataStream::stream_QIcon_data()
{
#ifndef Q_OS_WINCE
stream_data(1);
#endif
}
void tst_QDataStream::stream_QIcon()
{
#ifdef Q_OS_WINCE
QSKIP("Test depends on more memory than available on Qt/CE");
#endif
STREAM_IMPL(QIcon);
}
#endif
void tst_QDataStream::writeQPixmap(QDataStream *s)
{