Commit 224fe0c4 authored by Robby Stephenson's avatar Robby Stephenson
Browse files

more imagejobtest debug++

parent bf6afd87
Pipeline #165767 failed with stage
in 5 minutes and 39 seconds
......@@ -70,7 +70,7 @@ void ImageJobTest::enterLoop() {
void ImageJobTest::slotGetResult(KJob* job) {
m_result = job->error();
if(m_result > 1) qDebug() << job->errorString();
if(m_result > 1 && !job->errorString().isEmpty()) qDebug() << job->errorString();
emit exitLoop();
}
......@@ -107,7 +107,7 @@ void ImageJobTest::testUnreadable() {
QVERIFY(tmpFile.open());
QVERIFY(!tmpFile.fileName().isEmpty());
tmpFile.close();
QVERIFY(tmpFile.setPermissions(QFileDevice::Permissions()));
QVERIFY(tmpFile.setPermissions(QFileDevice::WriteOwner));
qDebug() << tmpFile.permissions();
QVERIFY(!tmpFile.isReadable());
QUrl u = QUrl::fromLocalFile(tmpFile.fileName());
......
Supports Markdown
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