test: Remove QSKIP from tst_QByteArray::literals()

Change-Id: I07b53cd12790d2161964dd09c5a69fe8aff7c90d
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
This commit is contained in:
Sergio Ahumada 2012-10-29 23:13:05 +01:00 committed by The Qt Project
parent fd7b3ffe5c
commit bf722c1ab3

View File

@ -147,7 +147,9 @@ private slots:
void reserveExtended();
void movablity_data();
void movablity();
#if defined(Q_COMPILER_LAMBDA)
void literals();
#endif
};
static const struct StaticByteArrays {
@ -1878,9 +1880,10 @@ void tst_QByteArray::movablity()
QVERIFY(true);
}
#if defined(Q_COMPILER_LAMBDA)
// Only tested on c++0x compliant compiler or gcc
void tst_QByteArray::literals()
{
#if defined(Q_COMPILER_LAMBDA)
QByteArray str(QByteArrayLiteral("abcd"));
QVERIFY(str.length() == 4);
@ -1897,10 +1900,8 @@ void tst_QByteArray::literals()
QVERIFY(str2.constData() == s);
QVERIFY(str2.data() != s);
#else
QSKIP("Only tested on c++0x compliant compiler or gcc");
#endif
}
#endif
const char globalChar = '1';