summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-04 18:13:32 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-05-02 23:10:55 +0000
commitd775b1fcb3fc7bd41af37f5d0a4d999320b62364 (patch)
treeb4fe9a26c57520c87d2082abe0883d0ff21938da /tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp
parent78a7e54f8f5c4ca6ce1ee6b0ac82c42b21738ac5 (diff)
Remove handling of missing Q_COMPILER_INITIALIZER_LISTS
Change-Id: Id65b39c787235a051262544932e6717d076f1ea0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp')
-rw-r--r--tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp b/tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp
index a28bbc12c8..09ce41337e 100644
--- a/tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp
+++ b/tests/auto/corelib/tools/qbytearraylist/tst_qbytearraylist.cpp
@@ -287,7 +287,6 @@ void tst_QByteArrayList::indexOf() const
void tst_QByteArrayList::initializerList() const
{
-#ifdef Q_COMPILER_INITIALIZER_LISTS
// constructor
QByteArrayList v1 = {QByteArray("hello"),"world",QByteArray("plop")};
QCOMPARE(v1, (QByteArrayList() << "hello" << "world" << "plop"));
@@ -296,9 +295,6 @@ void tst_QByteArrayList::initializerList() const
QByteArrayList v2;
v2 = {QByteArray("hello"),"world",QByteArray("plop")};
QCOMPARE(v2, v1);
-#else
- QSKIP("This test requires C++11 initializer_list support in the compiler.");
-#endif
}
QTEST_APPLESS_MAIN(tst_QByteArrayList)