From 389b4e390d2a10e34ab7de750b2e2dd6648c94f5 Mon Sep 17 00:00:00 2001 From: gitlost Date: Mon, 20 Dec 2021 16:57:39 +0000 Subject: [PATCH] FAST_MODE: test_qzint CLI test ([b36fba]) --- backend_qt/tests/test_qzint.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/backend_qt/tests/test_qzint.cpp b/backend_qt/tests/test_qzint.cpp index 40d8653b..1683ceb2 100644 --- a/backend_qt/tests/test_qzint.cpp +++ b/backend_qt/tests/test_qzint.cpp @@ -606,6 +606,18 @@ private slots: << "zint.exe -b 71 -d \"[20]12\" --gs1 --gssep --square" << "" << ""; + QTest::newRow("BARCODE_DATAMATRIX") << false << 0.0f << "" + << BARCODE_DATAMATRIX << (DATA_MODE | ESCAPE_MODE | FAST_MODE) // symbology-inputMode + << "ABCDEFGH\\x01I" << "" // text-primary + << 0.0f << -1 << 0 << 0 << 1.0f << false << 0.7f // height-dotSize + << 5.0f << 0 << 0 << "" << QColor(Qt::black) << QColor(Qt::white) // guardDescent-bgColor + << false << 0 << 0 << 0 << 0 << 0 // cmyk-fontSetting + << true << false << false << false << true << 0 // showText-rotateAngle + << 0 << false << false << false << WARN_DEFAULT << false // eci-debug + << "zint -b 71 --binary -d 'ABCDEFGH\\x01I' --esc --fast" + << "zint.exe -b 71 --binary -d \"ABCDEFGH\\x01I\" --esc --fast" + << "" << ""; + QTest::newRow("BARCODE_DBAR_EXPSTK_CC") << false << 40.8f << "" << BARCODE_DBAR_EXPSTK_CC << (DATA_MODE | HEIGHTPERROW_MODE) // symbology-inputMode << "[91]ABCDEFGHIJKL" << "[11]901222[99]ABCDE" // text-primary