]> git.ipfire.org Git - thirdparty/git.git/commit
t: move reftable/block_test.c to the unit testing framework
authorChandra Pratap <chandrapratap3519@gmail.com>
Wed, 21 Aug 2024 12:30:51 +0000 (18:00 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Aug 2024 16:41:40 +0000 (09:41 -0700)
commit546cc0d64e3df8a012d785c6b423d03e16bfc0c5
treea1dacedce4df7994baa2eb55225e4707570e0800
parent80ccd8a2602820fdf896a8e8894305225f86f61d
t: move reftable/block_test.c to the unit testing framework

reftable/block_test.c exercises the functions defined in
reftable/block.{c, h}. Migrate reftable/block_test.c to the unit
testing framework. Migration involves refactoring the tests
to use the unit testing framework instead of reftable's test
framework and renaming the tests to follow the unit-tests'
naming conventions.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
reftable/reftable-tests.h
t/helper/test-reftable.c
t/unit-tests/t-reftable-block.c [moved from reftable/block_test.c with 76% similarity]