Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Office
Tellico
Commits
224fe0c4
Commit
224fe0c4
authored
Apr 20, 2022
by
Robby Stephenson
Browse files
more imagejobtest debug++
parent
bf6afd87
Pipeline
#165767
failed with stage
in 5 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tests/imagejobtest.cpp
View file @
224fe0c4
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment