Ticket #46536: patch-tst_qpluginloader.diff
File patch-tst_qpluginloader.diff, 672 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
qtbase/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
311 311 312 312 void tst_QPluginLoader::loadMachO_data() 313 313 { 314 #if def Q_OF_MACH_O314 #if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O) 315 315 QTest::addColumn<int>("parseResult"); 316 316 317 317 QTest::newRow("/dev/null") << int(QMachOParser::NotSuitable); … … 347 347 348 348 void tst_QPluginLoader::loadMachO() 349 349 { 350 #if def Q_OF_MACH_O350 #if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O) 351 351 QFile f(QFINDTESTDATA(QTest::currentDataTag())); 352 352 QVERIFY(f.open(QIODevice::ReadOnly)); 353 353 QByteArray data = f.readAll();