test/marshall_test.c


Log

Author Commit Date CI Message
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 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 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