git/t/unit-tests
Seyi Kuforiji 869a1edf44 t/unit-tests: convert oid-array test to use clar test framework
Adapt oid-array test script to clar framework by using clar assertions
where necessary. Remove descriptions from macros to reduce
redundancy, and move test input arrays to global scope for reuse across
multiple test functions. Introduce `test_oid_array__initialize()` to
explicitly initialize the hash algorithm.

These changes streamline the test suite, making individual tests
self-contained and reducing redundant code.

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:22 -08:00
..
clar
.gitignore
generate-clar-decls.sh t/unit-tests: handle dashes in test suite filenames 2025-01-17 14:35:11 -08:00
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 Merge branch 'ps/build-sign-compare' 2024-12-23 09:32:11 -08:00
lib-reftable.h
t-oidmap.c
t-oidtree.c
t-reftable-basics.c reftable/basics: adjust `common_prefix_size()` to return `size_t` 2025-01-21 14:20:29 -08:00
t-reftable-block.c
t-reftable-merged.c t-reftable-merged: handle realloc errors 2024-12-28 08:00:45 -08:00
t-reftable-pq.c
t-reftable-reader.c
t-reftable-readwrite.c Merge branch 'ps/reftable-sign-compare' 2025-01-28 13:02:24 -08:00
t-reftable-record.c reftable/basics: adjust `hash_size()` to return `uint32_t` 2025-01-21 14:20:29 -08:00
t-reftable-stack.c reftable: prevent 'update_index' changes after adding records 2025-01-22 09:51:36 -08:00
t-trailer.c
t-urlmatch-normalization.c
test-lib.c
test-lib.h
u-ctype.c
u-example-decorate.c t/unit-tests: adapt example decorate test to use clar test framework 2025-01-31 14:58:44 -08:00
u-hash.c global: adapt callers to use generic hash context helpers 2025-01-31 10:06:11 -08:00
u-hashmap.c t/unit-tests: convert hashmap test to use clar test framework 2025-01-31 14:58:44 -08:00
u-mem-pool.c t/unit-tests: convert mem-pool test to use clar test framework 2025-01-17 14:35:11 -08:00
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-prio-queue.c t/unit-tests: adapt priority queue test to use clar test framework 2025-01-17 14:35:12 -08:00
u-reftable-tree.c t/unit-tests: convert reftable tree test to use clar test framework 2025-01-17 14:35:12 -08:00
u-strbuf.c t/unit-tests: convert strbuf test to use clar test framework 2025-01-31 14:58:45 -08:00
u-strcmp-offset.c t/unit-tests: convert strcmp-offset test to use clar test framework 2025-01-31 14:58:45 -08:00
u-strvec.c Merge branch 'ps/ci-meson' 2024-12-23 09:32:25 -08:00
unit-test.c t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
unit-test.h