Commit b3a84393 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Use QVERIFY instead of Q_ASSERT in tests

GIT_SILENT
parent 38e1b6a1
......@@ -105,7 +105,7 @@ void AddTest::testAdding()
QFETCH(QString, archiveName);
const QString archivePath = temporaryDir.path() + QLatin1Char('/') + archiveName;
Q_ASSERT(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
QVERIFY(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
auto loadJob = Archive::load(archivePath);
QVERIFY(loadJob);
......
......@@ -172,7 +172,7 @@ void CopyTest::testCopying()
QFETCH(QString, archiveName);
const QString archivePath = temporaryDir.path() + QLatin1Char('/') + archiveName;
Q_ASSERT(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
QVERIFY(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
auto loadJob = Archive::load(archivePath);
QVERIFY(loadJob);
......
......@@ -211,7 +211,7 @@ void MoveTest::testMoving()
QFETCH(QString, archiveName);
const QString archivePath = temporaryDir.path() + QLatin1Char('/') + archiveName;
Q_ASSERT(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
QVERIFY(QFile::copy(QFINDTESTDATA(QStringLiteral("data/") + archiveName), archivePath));
auto loadJob = Archive::load(archivePath);
QVERIFY(loadJob);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment