kc3-lang/kc3/test

Branch :


Log

Author Commit Date CI Message
thodg feedeed0 2025-07-29 21:59:58 reorder and add tests for marshall_test_tag
thodg 67246b74 2025-07-29 19:38:11 fix marshall_read_test f64 wrong buf size in header
thodg 49a7a2aa 2025-07-29 19:18:55 reorder marshall tag tests
Lyzer c243e768 2025-07-29 18:21:23 feat: removed useless test with preprocessor
Lyzer fd1c8de4 2025-07-29 18:19:40 feat: added character tests
Lyzer c49fef61 2025-07-29 18:15:28 feat: tests for signed integer types
b2477ae8 2025-07-29 16:27:23 chore: uncommented not implemented tests
ea040bd5 2025-07-29 16:13:52 feat: marshall_read_test indentation
Lyzer 7e07e8d3 2025-07-29 11:40:52 fix: replaced broken f128 value by PI
be59a757 2025-07-29 10:57:05 feat: marshall_tag integer test
bb9dea2b 2025-07-29 10:40:01 fix: marshall_tag(integer) test failed
Lyzer 1002d09b 2025-07-28 17:28:28 bug: last f128 test error
Lyzer 3840968a 2025-07-28 17:06:24 feat: marshall_read_array
1ee8a052 2025-07-28 16:50:50 refactor(test/marshall): better reading for bytes, new macro to read tag
Lyzer 57342ad2 2025-07-28 15:50:20 feat: floating point marshall_read_test_tag
805a5962 2025-07-28 15:20:33 fix: new enum for types failed unit tests
Lyzer 87d56300 2025-07-28 15:13:37 fix: wrong call type in marshall_read test because the enum changed
thodg 396e0fa0 2025-07-26 20:29:41 wip marshall
thodg 942099c5 2025-07-26 20:14:43 fix compilation
thodg 979b3eef 2025-07-26 19:48:21 refactor types.h
thodg 149d841f 2025-07-26 18:15:54 wip marshall_test
09ad1fae 2025-07-25 18:29:05 feat: call of marshall_tag
Lyzer bbd83477 2025-07-25 18:02:09 refactor: TAG_LIST -> TAG_PLIST
Lyzer bb0a3fe1 2025-07-25 17:17:32 fix: hexadecimal values for max unsigned tests marshall_read
Lyzer bd5aa889 2025-07-25 16:35:38 feat: marshall_read reads bool and u8; changed the enum in types.h to explicit values
thodg 8edcffdd 2025-07-25 11:10:09 update tests
thodg db05865d 2025-07-25 09:46:54 fix marshall_read_test.c for marshall_read_bool
thodg 14b8fcc1 2025-07-25 08:00:43 wip marshall_read / tests
thodg ddb3e80a 2025-07-22 17:24:27 portable endian.h
thodg 37b05be9 2025-07-22 06:07:54 ws: 72 columns
thodg 6318b603 2025-07-22 05:26:14 ws: 72 columns
thodg 509b3b52 2025-07-22 03:30:07 remove failing checks for asan targets
thodg 7ad003df 2025-07-24 18:39:37 fix marshall_str
thodg 6479e374 2025-07-24 17:16:50 tests for marshall_s8/16/32/64/w
Lyzer 9de46efb 2025-07-24 17:16:34 fix: expected strings in marshall_test.c
Lyzer cf27722e 2025-07-24 15:19:40 wip: resurected marshall_read_plist test
thodg 7babf59e 2025-07-24 14:29:21 typo
thodg 80739ad9 2025-07-24 14:27:47 buf.c: fix buf_ignore on non utf-8 bytes
014a50d3 2025-07-24 13:24:17 wip: marshall_test refactor
thodg e34005a0 2025-07-24 13:00:23 fix buf_inspect_str_reserved and _size
057edffc 2025-07-24 10:45:58 wip: patched displayed marshall unit test errors
Lyzer 21305312 2025-07-23 17:40:36 bug: inspect str xFF
thodg 5b1b59e4 2025-07-23 17:21:34 fix marshall_test
Lyzer f087f4de 2025-07-23 17:08:37 WIP: change TEST_STR_EQ variables for no conflicts
bf6c6ddc 2025-07-23 16:04:05 feat: added STR_1 macro to easily make raw strings
thodg 76c7ae59 2025-07-23 15:44:43 update tests to run marshall_read tests
Lyzer a0434fc1 2025-07-23 15:37:00 wip: marshall_read_test
dc7d76a9 2025-07-23 13:23:44 fix: typo
Lyzer 58b8ab0d 2025-07-23 13:18:37 fix: marshall_init -> marshall_read_init; wip: replace duplicated macros There's now a macro to test any type instead of a thousand useless defines
Lyzer b58e17e4 2025-07-23 12:00:54 WIP: marco for stack and heap
e77343fb 2025-07-22 18:03:58 wip: NULL marshalling in marshall_heap_pointer
Lyzer dd1645b7 2025-07-22 13:51:25 WIP: macro for test on buf and heap
Lyzer d4ded9e1 2025-07-22 11:19:21 WIP: marshall_read tests
e8367141 2025-07-21 18:18:26 fix: memory leaks for marshall
Lyzer 60eb1f01 2025-07-21 17:14:50 WIP: reorganize test case
thodg 6ab705bf 2025-07-21 16:12:46 update sources
thodg b2d7c095 2025-07-21 16:11:59 fix doc controller
3c8a8ce8 2025-07-21 15:02:59 feat: unit test for marshall_plist
92e1ee09 2025-07-21 14:45:16 feat: marshall_plist implementation
Lyzer 3156765f 2025-07-18 17:48:36 test: marshall_tag_bool_and_heap
thodg f2b589f0 2025-07-18 17:02:12 marshall test
Lyzer bd3973e6 2025-07-18 16:54:29 test: marshall_tag_bool
Lyzer cd0dd0d4 2025-07-18 15:45:41 test: marshall_tag
221b29c0 2025-07-18 12:10:34 wip: marshall_plist calls /!\ Segfault because of invalid s_tag providen in marshall_test
1198a6ef 2025-07-17 16:09:59 feat: marshall_read_p*
784610ec 2025-07-17 11:20:07 fix: unused useless code
d9ff9e2d 2025-07-17 10:47:22 feat(marshall_test): marshall_list test
thodg 4fd55a96 2025-07-15 21:18:07 feat: add comprehensive marshall test coverage for bool and character types - Add MARSHALL_TEST_BUF_BOOL and MARSHALL_TEST_HEAP_BOOL for boolean testing - Add specialized MARSHALL_TEST_CHARACTER macro for UTF-8 encoded character testing - Add MARSHALL_TEST_BUF_CHARACTER and MARSHALL_TEST_HEAP_CHARACTER macros - Fix character test size comparison (uses sizeof(expected) vs sizeof(character)) - Test coverage now includes all basic types: bool, character, s8-s64, sw, u8-u64, uw - All tests support both buffer (heap=false) and heap (heap=true) marshalling modes - Total test count increased from 221 to 223 tests (100% passing)
thodg 3c62a3da 2025-07-15 20:47:16 wip marshall_test and marshall_init
thodg 5669dfe0 2025-07-15 20:33:09 feat: add MARSHALL_TEST_HEAP_* macros and tests - Add MARSHALL_TEST_HEAP_* macros for testing heap marshalling (heap = true) - Add heap test calls alongside existing buffer tests in all test cases - Provides comprehensive testing of both buffer and heap marshalling modes
thodg c2fb36ca 2025-07-15 20:19:01 fix: marshall function parameter mismatches - Add missing heap parameter to marshall_tag call in kc3.c:718 - Add missing heap parameter to marshall_uw call in marshall.c:278 - Add missing heap parameter to marshall_tag call in marshall.c:282 - Fix marshall_heap_pointer function signature to match header declaration - Fix marshall_list parameter to be const s_list * to match header - Update test macros to include heap parameter and rename to MARSHALL_TEST_BUF_* - Fix direct marshall_u32 calls in test functions to include heap parameter
thodg b0f77d65 2025-07-15 15:07:21 update sources
thodg 5d9703df 2025-07-13 17:27:49 MARSHALL_MAGIC
thodg 9cb77187 2025-07-13 16:16:11 TEST_STR_EQ
thodg c313631d 2025-07-13 15:03:35 cleanup all marshall and marshall_read files
94675057 2025-07-11 17:16:29 feat: marshalling save to file and read from file See marshalling.h comments for more details
Lyzer 5c4e252c 2025-07-11 14:11:29 fix: marshall init test
7f3cd5de 2025-07-10 17:42:47 feat: marshall character utf8
thodg 0ce9dee2 2025-07-10 17:14:28 wip
thodg bb3dd14a 2025-07-10 16:10:57 refactor serialize -> marshall
a7469a29 2025-07-10 11:07:57 feat: marshall to buf (incorrect)
7615a080 2025-07-09 17:17:44 feat: marshall serialize (un)signed(8/16/32/64/w) unit tests
Lyzer d8f7e1e5 2025-07-09 16:35:14 test: marshall test generic macro
1d295b09 2025-07-08 19:00:08 feat: serialize_u32 unit test
5bb5257f 2025-07-08 14:51:18 feat: marshall_test
thodg 4a4b5b6d 2025-07-21 15:33:59 fix last bugs
thodg 6160bff2 2025-07-21 13:03:11 tests pass: refactor p_*
thodg 5aca5640 2025-07-21 03:28:39 refactor p_*
thodg 944c07d2 2025-07-21 02:28:03 wip p_*
thodg d05d821d 2025-07-20 23:55:00 split env_eval_equal.c env_eval_quote.c
thodg 05a5dca9 2025-07-20 22:20:38 add test for while unwind protect
thodg 09649368 2025-07-20 22:20:28 fix json test
thodg 7158549a 2025-07-20 17:11:55 wip tests, test_asan
thodg 4826d948 2025-07-20 15:35:38 fix json and add tests for ikc3/while
thodg 9c28e6c7 2025-07-20 15:06:15 fix test_ekc3
thodg fb7ae9ad 2025-07-20 14:41:49 split buf_parse_ident_cast and fix '(Ident) Module.sym' parsing and special operator resolution
thodg baab45a7 2025-07-19 19:45:46 make ikc3 tests pass again, add % operator
thodg 94d38022 2025-07-19 15:14:26 wip
thodg 3f0fecd3 2025-07-19 11:02:24 fix while test (while argument needs parens)
thodg 4ed6b582 2025-07-19 10:31:48 while tests