]> git.ipfire.org Git - thirdparty/git.git/commit
t: move reftable/pq_test.c to the unit testing framework
authorChandra Pratap <chandrapratap3519@gmail.com>
Thu, 1 Aug 2024 10:59:44 +0000 (16:29 +0530)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Aug 2024 16:07:29 +0000 (09:07 -0700)
commita08ea27cd0efcaa4268f29026edfa162b14c73ad
tree87a4abea23bdbc5b969b70c8e3c217635efdb1bd
parent2a85906348d324056f8d147a51156d9901a9675f
t: move reftable/pq_test.c to the unit testing framework

reftable/pq_test.c exercises a priority queue defined by
reftable/pq.{c, h}. Migrate reftable/pq_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 align with unit-tests' standards.

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-pq.c [moved from reftable/pq_test.c with 61% similarity]