test/marshall_test.c

Branch


Log

Author Commit Date CI Message
Thomas de Grivel c0da8987 2025-09-04T17:07:56 marshall tests pass
Thomas de Grivel 479fbad6 2025-09-04T15:57:30 fix marshall tests in libkc3 tests
Thomas de Grivel b4f08176 2025-09-04T15:43:13 wip tests
Thomas de Grivel 8fe68293 2025-08-28T16:12:52 refactor STR_1 -> STR and STR_CONST
Thomas de Grivel 69116a43 2025-08-26T22:45:06 wip windows
Thomas de Grivel d4d05ae7 2025-08-22T12:10:01 fix marshall tests using claude-code
Thomas de Grivel 0282d5df 2025-08-21T18:54:55 fix marshall test
Thomas de Grivel f7200b12 2025-08-19T21:41:36 refactor file_open to accept s_str
Thomas de Grivel c8f35404 2025-08-17T22:32:44 Fix build on MacOS, mainly includes for endian.h
Thomas de Grivel 62e63e2f 2025-08-13T14:46:44 fix tests
Google Search Manual 36025386 2025-08-11T17:48:35 ???: fixed most of the memory leaks (25)
Google Search Manual 62ffe37c 2025-08-11T17:09:02 feat: remove --copy tests
Thomas de Grivel e0944efe 2025-08-10T20:14:04 fix marshall test
Thomas de Grivel 86039355 2025-08-10T12:53:32 fix marshall/read tests using claude-code
Thomas de Grivel c1163b18 2025-08-10T00:27:05 align prototypes on marshall_data, add many error messages
Thomas de Grivel 6872d00b 2025-08-08T17:27:18 wip tests marshall
Thomas de Grivel 551c9173 2025-08-08T17:03:33 wip
Thomas de Grivel 0eade256 2025-08-08T12:13:54 fix buf_inspect_tag and ratio for integer casts
Thomas de Grivel 2cf7b56e 2025-08-08T09:04:45 fix marshall (heap = true)
Thomas de Grivel c8ef3d4c 2025-08-06T12:27:54 rename s_array.dimension to dimension_count
Thomas de Grivel 40d3caf6 2025-08-06T10:52:18 add marshall_integer test
Google Search Manual 15ce7221 2025-08-06T10:21:13 feat: tests for marshall_struct (via marshall_tag)
Google Search Manual 739bf65d 2025-08-04T12:43:39 fix: indentation
Thomas de Grivel 7fd229db 2025-08-03T14:32:59 update string formatting to follow C std
Thomas de Grivel 98a85d9d 2025-08-03T13:39:27 update test vector to use new formatting (inspect_str_hex)
Thomas de Grivel 261cc860 2025-08-03T12:58:47 dereference arguments to _inspect_* for basic C numeric types.
Thomas de Grivel b432845c 2025-08-03T12:56:00 dereference arguments to inspect for numeric types
Thomas de Grivel 2d20dcd1 2025-08-02T19:08:26 feat: KC3 uptime and pcallable and pvar names
Thomas de Grivel d933af02 2025-08-01T14:42:03 add support for basic types in set and implemented set_has__NAME
Thomas de Grivel 4c6b7321 2025-08-01T19:37:07 fact_init_1
Google Search Manual 2ff8c43f 2025-08-01T17:59:35 feat: marshall_fact misc func
Google Search Manual b96fed9d 2025-08-01T17:15:30 fix: missing comment
Google Search Manual 1339f017 2025-08-01T17:14:31 feat: marshall_ptr, marshall_ptr_free + tests
Google Search Manual 1b47a3b8 2025-08-01T16:34:37 wip: marshall_time
Google Search Manual cd742277 2025-08-01T15:40:19 feat: marshall_ratio, marshall_quote, marshall_var, marshall_pvar, marshall_complex
Google Search Manual 57641de6 2025-08-01T11:58:18 feat: marshall_fn test
Google Search Manual c9556740 2025-07-31T16:54:33 feat: unit tests (100% passing !!)
Google Search Manual dca46f15 2025-07-31T14:23:17 feat: marshall_map tag test
Google Search Manual 3e00837e 2025-07-31T13:27:26 feat: marshall_float32/64/128
Google Search Manual 22084086 2025-07-31T12:36:51 fix: marshall_plist test
Google Search Manual 92518898 2025-07-31T11:47:54 fix: unit tests indentation
Google Search Manual 1e7e0b09 2025-07-31T11:40:45 refactor: unit tests
Thomas de Grivel f30eeefe 2025-07-31T10:35:04 fix test marshall_test.c
Thomas de Grivel 7b0a452b 2025-07-31T10:32:17 remove _HEAP tests from marshall_test
Thomas de Grivel feedeed0 2025-07-29T21:59:58 reorder and add tests for marshall_test_tag
Thomas de Grivel 49a7a2aa 2025-07-29T19:18:55 reorder marshall tag tests
Google Search Manual b2477ae8 2025-07-29T16:27:23 chore: uncommented not implemented tests
Google Search Manual be59a757 2025-07-29T10:57:05 feat: marshall_tag integer test
Google Search Manual bb9dea2b 2025-07-29T10:40:01 fix: marshall_tag(integer) test failed
Google Search Manual 1ee8a052 2025-07-28T16:50:50 refactor(test/marshall): better reading for bytes, new macro to read tag
Google Search Manual 805a5962 2025-07-28T15:20:33 fix: new enum for types failed unit tests
Thomas de Grivel 942099c5 2025-07-26T20:14:43 fix compilation
Thomas de Grivel 149d841f 2025-07-26T18:15:54 wip marshall_test
Google Search Manual 09ad1fae 2025-07-25T18:29:05 feat: call of marshall_tag
Thomas de Grivel 8edcffdd 2025-07-25T11:10:09 update tests
Thomas de Grivel db05865d 2025-07-25T09:46:54 fix marshall_read_test.c for marshall_read_bool
Thomas de Grivel ddb3e80a 2025-07-22T17:24:27 portable endian.h
Thomas de Grivel 7ad003df 2025-07-24T18:39:37 fix marshall_str
Thomas de Grivel 6479e374 2025-07-24T17:16:50 tests for marshall_s8/16/32/64/w
lyzer-px 9de46efb 2025-07-24T17:16:34 fix: expected strings in marshall_test.c
Thomas de Grivel 7babf59e 2025-07-24T14:29:21 typo
Thomas de Grivel 80739ad9 2025-07-24T14:27:47 buf.c: fix buf_ignore on non utf-8 bytes
Google Search Manual 014a50d3 2025-07-24T13:24:17 wip: marshall_test refactor
Google Search Manual 057edffc 2025-07-24T10:45:58 wip: patched displayed marshall unit test errors
lyzer-px 21305312 2025-07-23T17:40:36 bug: inspect str xFF
Thomas de Grivel 5b1b59e4 2025-07-23T17:21:34 fix marshall_test
lyzer-px f087f4de 2025-07-23T17:08:37 WIP: change TEST_STR_EQ variables for no conflicts
Google Search Manual bf6c6ddc 2025-07-23T16:04:05 feat: added STR_1 macro to easily make raw strings
Google Search Manual dc7d76a9 2025-07-23T13:23:44 fix: typo
lyzer-px 58b8ab0d 2025-07-23T13: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-px b58e17e4 2025-07-23T12:00:54 WIP: marco for stack and heap
Google Search Manual e77343fb 2025-07-22T18:03:58 wip: NULL marshalling in marshall_heap_pointer
Google Search Manual e8367141 2025-07-21T18:18:26 fix: memory leaks for marshall
lyzer-px 60eb1f01 2025-07-21T17:14:50 WIP: reorganize test case
Google Search Manual 3c8a8ce8 2025-07-21T15:02:59 feat: unit test for marshall_plist
Google Search Manual 92e1ee09 2025-07-21T14:45:16 feat: marshall_plist implementation
lyzer-px 3156765f 2025-07-18T17:48:36 test: marshall_tag_bool_and_heap
Thomas de Grivel f2b589f0 2025-07-18T17:02:12 marshall test
lyzer-px bd3973e6 2025-07-18T16:54:29 test: marshall_tag_bool
lyzer-px cd0dd0d4 2025-07-18T15:45:41 test: marshall_tag
Google Search Manual 221b29c0 2025-07-18T12:10:34 wip: marshall_plist calls /!\ Segfault because of invalid s_tag providen in marshall_test
Google Search Manual 784610ec 2025-07-17T11:20:07 fix: unused useless code
Google Search Manual d9ff9e2d 2025-07-17T10:47:22 feat(marshall_test): marshall_list test
Thomas de Grivel 4fd55a96 2025-07-15T21: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)
Thomas de Grivel 3c62a3da 2025-07-15T20:47:16 wip marshall_test and marshall_init
Thomas de Grivel 5669dfe0 2025-07-15T20: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
Thomas de Grivel c2fb36ca 2025-07-15T20: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
Thomas de Grivel 5d9703df 2025-07-13T17:27:49 MARSHALL_MAGIC
Thomas de Grivel 9cb77187 2025-07-13T16:16:11 TEST_STR_EQ
Thomas de Grivel c313631d 2025-07-13T15:03:35 cleanup all marshall and marshall_read files
Google Search Manual 94675057 2025-07-11T17:16:29 feat: marshalling save to file and read from file See marshalling.h comments for more details
lyzer-px 5c4e252c 2025-07-11T14:11:29 fix: marshall init test
Google Search Manual 7f3cd5de 2025-07-10T17:42:47 feat: marshall character utf8
Thomas de Grivel 0ce9dee2 2025-07-10T17:14:28 wip
Thomas de Grivel bb3dd14a 2025-07-10T16:10:57 refactor serialize -> marshall
Google Search Manual a7469a29 2025-07-10T11:07:57 feat: marshall to buf (incorrect)
Google Search Manual 7615a080 2025-07-09T17:17:44 feat: marshall serialize (un)signed(8/16/32/64/w) unit tests
lyzer-px d8f7e1e5 2025-07-09T16:35:14 test: marshall test generic macro
Google Search Manual 1d295b09 2025-07-08T19:00:08 feat: serialize_u32 unit test
Google Search Manual 5bb5257f 2025-07-08T14:51:18 feat: marshall_test