mirror of
https://git.code.sf.net/p/zint/code
synced 2025-06-01 07:38:26 -04:00
general: change BARCODE_RAW_TEXT to write to new zint_symbol
fields `raw_segs` and `raw_seg_count` instead of `text`, and to do so for all symbologies, using new common funcs `rt_cpy()` etc. MICROPDF417: return ECC percentage in top byte of `option_1` DBAR_EXP_STK: return `option_2`/`option_3` feedback CLI: change warning text "ignoring" -> "**IGNORED**" GUI: show feedback for DBAR_EXP_STK, MICROPDF417, UPNQR ctest: fix recent inability to run tests via "ctest" on Windows (MSVC) by using cmake 3.22 feature `ENVIRONMENT_MODIFICATION` manual: document feedback and RAW_TEXT in new "Feedback" section; rephrase some symbology descriptions test suite: new general-use arg "-a"; add `func_name` to context; new "test_bwipp" test for testing BWIPP against ZXing-C++
This commit is contained in:
parent
d1bf02e156
commit
a6c225447e
120 changed files with 10511 additions and 5620 deletions
|
@ -196,7 +196,7 @@ static void test_clz_u64(const testCtx *const p_ctx) {
|
|||
int data_size = ARRAY_SIZE(data);
|
||||
int i, ret;
|
||||
|
||||
testStart("test_clz_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -229,7 +229,7 @@ static void test_load(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_load");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -270,7 +270,7 @@ static void test_load_str_u64(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_load_str_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -314,7 +314,7 @@ static void test_add_u64(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_add_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -358,7 +358,7 @@ static void test_sub_u64(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_sub_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -415,7 +415,7 @@ static void test_mul_u64(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_mul_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -540,7 +540,7 @@ static void test_div_u64(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_div_u64");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -706,7 +706,7 @@ static void test_unset_bit(const testCtx *const p_ctx) {
|
|||
char t_dump[35];
|
||||
char expected_dump[35];
|
||||
|
||||
testStart("test_unset_bit");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -780,7 +780,7 @@ static void test_uint_array(const testCtx *const p_ctx) {
|
|||
unsigned char uchar_array[130];
|
||||
unsigned char uchar_expected_array[130];
|
||||
|
||||
testStart("test_uint_array");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
@ -871,7 +871,7 @@ static void test_dump(const testCtx *const p_ctx) {
|
|||
|
||||
char dump[35];
|
||||
|
||||
testStart("test_dump");
|
||||
testStart(p_ctx->func_name);
|
||||
|
||||
for (i = 0; i < data_size; i++) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue