Commit 3aa6a88d authored by Robby Stephenson's avatar Robby Stephenson
Browse files

Add debugging for imagejob

parent 693983fe
Pipeline #165375 failed with stage
in 6 minutes and 25 seconds
......@@ -70,6 +70,7 @@ void ImageJobTest::enterLoop() {
void ImageJobTest::slotGetResult(KJob* job) {
m_result = job->error();
if(m_result > 1) qDebug() << job->errorString();
emit exitLoop();
}
......@@ -104,6 +105,7 @@ void ImageJobTest::testNonexistant() {
void ImageJobTest::testUnreadable() {
QTemporaryFile tmpFile;
QVERIFY(tmpFile.open());
tmpFile.close();
QVERIFY(tmpFile.setPermissions(QFileDevice::Permissions()));
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