mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-03 15:55:27 +08:00
6.5.3 clean
This commit is contained in:
@ -224,10 +224,6 @@ void tst_QPlugin::scanInvalidPlugin()
|
||||
// now try to load this
|
||||
QFETCH(bool, loads);
|
||||
QFETCH(QString, errMsg);
|
||||
if (!errMsg.isEmpty())
|
||||
QTest::ignoreMessage(QtWarningMsg,
|
||||
"Found invalid metadata in lib " + QFile::encodeName(newName) +
|
||||
":" + errMsg.toUtf8());
|
||||
QPluginLoader loader(newName);
|
||||
QCOMPARE(loader.load(), loads);
|
||||
if (loads)
|
||||
|
@ -856,8 +856,8 @@ void tst_QPluginLoader::loadMachO_data()
|
||||
QTest::newRow("machtest/good.fat.stub-i386.dylib") << false;
|
||||
|
||||
QDir d(QFINDTESTDATA("machtest"));
|
||||
QStringList badlist = d.entryList(QStringList() << "bad*.dylib");
|
||||
foreach (const QString &bad, badlist)
|
||||
const QStringList badlist = d.entryList(QStringList() << "bad*.dylib");
|
||||
for (const QString &bad : badlist)
|
||||
QTest::newRow(qPrintable("machtest/" + bad)) << false;
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user