kc3-lang/kc3/test

Branch :


Log

Author Commit Date CI Message
thodg d933af02 2025-08-01 14:42:03 add support for basic types in set and implemented set_has__NAME
thodg 4c6b7321 2025-08-01 19:37:07 fact_init_1
2ff8c43f 2025-08-01 17:59:35 feat: marshall_fact misc func
b96fed9d 2025-08-01 17:15:30 fix: missing comment
1339f017 2025-08-01 17:14:31 feat: marshall_ptr, marshall_ptr_free + tests
1b47a3b8 2025-08-01 16:34:37 wip: marshall_time
cd742277 2025-08-01 15:40:19 feat: marshall_ratio, marshall_quote, marshall_var, marshall_pvar, marshall_complex
57641de6 2025-08-01 11:58:18 feat: marshall_fn test
c9556740 2025-07-31 16:54:33 feat: unit tests (100% passing !!)
dca46f15 2025-07-31 14:23:17 feat: marshall_map tag test
998ce18d 2025-07-31 14:23:07 feat: use of memcmp instead of strcmp for tests
1edc05ec 2025-07-31 14:22:21 feat: buf inspect string oct->hex format
3e00837e 2025-07-31 13:27:26 feat: marshall_float32/64/128
22084086 2025-07-31 12:36:51 fix: marshall_plist test
Lyzer b1ee9258 2025-07-31 12:34:49 feat: added marshall_read_ht functions
92518898 2025-07-31 11:47:54 fix: unit tests indentation
1e7e0b09 2025-07-31 11:40:45 refactor: unit tests
Lyzer 871cd980 2025-07-31 11:23:45 feat: added wide read_tests
Lyzer 695eec3e 2025-07-31 10:53:28 fix: removed on_heap for marshall_read test
thodg f30eeefe 2025-07-31 10:35:04 fix test marshall_test.c
thodg 7b0a452b 2025-07-31 10:32:17 remove _HEAP tests from marshall_test
Lyzer 29262c6f 2025-07-30 18:18:00 fix: heap size on read_tests
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