]> git.ipfire.org Git - thirdparty/git.git/commit
t/: migrate helper/test-example-decorate to the unit testing framework
authorGhanshyam Thakkar <shyamthakkar001@gmail.com>
Tue, 28 May 2024 12:58:25 +0000 (18:28 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2024 20:53:36 +0000 (13:53 -0700)
commit456b4dce4cd11b4fc394db5ce5231b63e297ac77
tree319fb329eba70ef49c7dfb5187b63d7d5ab1eaa6
parentb7a1d47ba5dd0df476104a63c6ddffe2d52fccf8
t/: migrate helper/test-example-decorate to the unit testing framework

helper/test-example-decorate.c along with t9004-example.sh provide
an example of how to use the functions in decorate.h (which provides
a data structure that associates Git objects to void pointers) and
also test their output.

Migrate them to the new unit testing framework for better debugging
and runtime performance.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Ghanshyam Thakkar <shyamthakkar001@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
decorate.h
t/helper/test-example-decorate.c [deleted file]
t/helper/test-tool.c
t/helper/test-tool.h
t/t9004-example.sh [deleted file]
t/unit-tests/t-example-decorate.c [new file with mode: 0644]