git/t/unit-tests
Seyi Kuforiji 149585079f t/unit-tests: convert oidtree test to use clar test framework
Adapt oidtree test script to clar framework by using clar assertions
where necessary. `cl_parse_any_oid()` ensures the hash algorithm is set
before parsing. This prevents issues from an uninitialized or invalid
hash algorithm.

Introduce 'test_oidtree__initialize` handles the to set up of the global
oidtree variable and `test_oidtree__cleanup` frees the oidtree when all
tests are completed.

With this change, `check_each` stops at the first error encountered,
making it easier to address it.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Seyi Kuforiji <kuforiji98@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-02-25 10:31:23 -08:00
..
clar
.gitignore
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
lib-oid.h t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
lib-reftable.c
lib-reftable.h
t-reftable-basics.c
t-reftable-block.c
t-reftable-merged.c
t-reftable-pq.c
t-reftable-reader.c
t-reftable-readwrite.c
t-reftable-record.c
t-reftable-stack.c
t-trailer.c
t-urlmatch-normalization.c
test-lib.c
test-lib.h
u-ctype.c
u-example-decorate.c
u-hash.c
u-hashmap.c
u-mem-pool.c
u-oid-array.c t/unit-tests: convert oid-array test to use clar test framework 2025-02-25 10:31:22 -08:00
u-oidmap.c t/unit-tests: convert oidmap test to use clar test framework 2025-02-25 10:31:22 -08:00
u-oidtree.c t/unit-tests: convert oidtree test to use clar test framework 2025-02-25 10:31:23 -08:00
u-prio-queue.c
u-reftable-tree.c
u-strbuf.c
u-strcmp-offset.c
u-strvec.c
unit-test.c t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
unit-test.h