Commit 155c9abc authored by Volker Krause's avatar Volker Krause
Browse files

Add test case for Aztec codes with a partial quiet zone

Found in SNCF ticket barcodes, and works with the current code, but fails
with the new ZXing ReadBarcode() API.
parent 787b3a19
Pipeline #41403 failed with stage
in 4 minutes and 55 seconds
......@@ -54,6 +54,11 @@ private Q_SLOTS:
QCOMPARE(decoder.decodeString(img, BarcodeDecoder::Aztec), QStringLiteral("This is an example Aztec symbol for Wikipedia."));
img.load(QStringLiteral(SOURCE_DIR "/barcodes/aztec-partial-quiet-zone.png"));
QCOMPARE(decoder.decodeString(img, BarcodeDecoder::Aztec), QStringLiteral("KF5::Prison - The KDE barcode generation framework."));
img.load(QStringLiteral(SOURCE_DIR "/barcodes/uic918-3star.png"));
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