Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KItinerary
Commits
d1df2eea
Commit
d1df2eea
authored
Sep 19, 2022
by
Volker Krause
Browse files
Abort test earlier if there's no ZXing
parent
3ad7efda
Pipeline
#234503
passed with stage
in 14 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/extractordocumentnodetest.cpp
View file @
d1df2eea
...
...
@@ -79,13 +79,13 @@ private Q_SLOTS:
QCOMPARE
(
c1
.
mimeType
(),
QLatin1String
(
"internal/qimage"
));
QVERIFY
(
!
c1
.
parent
().
isNull
());
QCOMPARE
(
c1
.
content
().
userType
(),
qMetaTypeId
<
QImage
>
());
#if !HAVE_ZXING
QSKIP
(
"No ZXing support"
);
#endif
QCOMPARE
(
c1
.
childNodes
().
size
(),
1
);
// barcode already expanded by the PDF processor
QCOMPARE
(
c1
.
location
().
toInt
(),
0
);
c1
.
processor
()
->
expandNode
(
c1
,
&
engine
);
#if !HAVE_ZXING
QSKIP
(
"No ZXing support"
);
#endif
QCOMPARE
(
c1
.
childNodes
().
size
(),
1
);
auto
c11
=
c1
.
childNodes
()[
0
];
QVERIFY
(
!
c11
.
isNull
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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