]> Kevux Git Server - fll/commit
Progress: Begin adding unit tests for fl_fss_payload_header_map().
authorKevin Day <kevin@kevux.org>
Fri, 9 Feb 2024 03:24:54 +0000 (21:24 -0600)
committerKevin Day <kevin@kevux.org>
Fri, 9 Feb 2024 03:24:54 +0000 (21:24 -0600)
commitc94811570270c7f87011069e74009ca4613d7d74
tree7b84f71a814baa6c1311a54ef5597243dacf901e
parent370fe971a47fb7048ede4b3f27f7f970a8b78f84
Progress: Begin adding unit tests for fl_fss_payload_header_map().

I added the single digit unit tests for signed and unsigned.
I started to add uint8_t with the test files but then I realized that I actually should implement uint8s_t.
I am leaving those test files currently but I will change them at a later date.

This adds a helper file for the payload header map private functions to simplify some of the code.
70 files changed:
build/level_1/settings
build/monolithic/settings
level_1/fl_fss/c/fss/payload.c
level_1/fl_fss/c/fss/payload/define.h
level_1/fl_fss/c/fss/private-payload-helper.c [new file with mode: 0644]
level_1/fl_fss/c/fss/private-payload-helper.h [new file with mode: 0644]
level_1/fl_fss/c/fss/private-payload.c
level_1/fl_fss/c/fss/private-payload.h
level_1/fl_fss/data/build/settings
level_1/fl_fss/data/build/settings-tests
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int16-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int16-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int16-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int32-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int32-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int32-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int64-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int64-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int64-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int8-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int8-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_int8-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_signed-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_signed-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_signed-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint16-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint16-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint16-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint32-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint32-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint32-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint64-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint64-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint64-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint8-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint8-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_uint8-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_unsigned-0.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_unsigned-1.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/headers/payload-combined-abstruse_unsigned-2.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_int16.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_int32.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_int64.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_int8.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_signed.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_uint16.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_uint32.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_uint64.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_uint8.txt [new file with mode: 0644]
level_1/fl_fss/data/tests/variables/payload-combined-abstruse_unsigned.txt [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/data-fss.c
level_1/fl_fss/tests/unit/c/data-fss.h
level_1/fl_fss/tests/unit/c/help-fss.c [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/help-fss.h [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/test-fss-basic_content_read.c
level_1/fl_fss/tests/unit/c/test-fss-basic_list_content_read.c
level_1/fl_fss/tests/unit/c/test-fss-basic_list_object_read.c
level_1/fl_fss/tests/unit/c/test-fss-basic_object_read.c
level_1/fl_fss/tests/unit/c/test-fss-embedded_list_content_read.c
level_1/fl_fss/tests/unit/c/test-fss-embedded_list_object_read.c
level_1/fl_fss/tests/unit/c/test-fss-extended_content_read.c
level_1/fl_fss/tests/unit/c/test-fss-extended_list_content_read.c
level_1/fl_fss/tests/unit/c/test-fss-extended_list_object_read.c
level_1/fl_fss/tests/unit/c/test-fss-extended_object_read.c
level_1/fl_fss/tests/unit/c/test-fss-payload_header_map-abstruse_signed.c [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/test-fss-payload_header_map-abstruse_signed.h [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/test-fss-payload_header_map-abstruse_unsigned.c [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/test-fss-payload_header_map-abstruse_unsigned.h [new file with mode: 0644]
level_1/fl_fss/tests/unit/c/test-fss.c
level_1/fl_fss/tests/unit/c/test-fss.h