diff options
Diffstat (limited to 'tests/auto/corelib/tools/qstring/tst_qstring.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qstring/tst_qstring.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/qstring/tst_qstring.cpp b/tests/auto/corelib/tools/qstring/tst_qstring.cpp index e7ad52a257..0148ba6d03 100644 --- a/tests/auto/corelib/tools/qstring/tst_qstring.cpp +++ b/tests/auto/corelib/tools/qstring/tst_qstring.cpp @@ -170,6 +170,7 @@ private slots: void constructorQByteArray_data(); void constructorQByteArray(); void STL(); + void macTypes(); void isEmpty(); void isNull(); void acc_01(); @@ -939,6 +940,16 @@ void tst_QString::STL() QCOMPARE(stlStr, s.toStdWString()); } +void tst_QString::macTypes() +{ +#ifndef Q_OS_MAC + QSKIP("This is a Mac-only test"); +#else + extern void tst_QString_macTypes(); // in qstring_mac.mm + tst_QString_macTypes(); +#endif +} + void tst_QString::truncate() { QString e("String E"); |