Skip to content

t/unit-tests: convert unit-tests to use clar

Seyi Kuforiji git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t/unit-tests: convert hashmap test to clar frameworkMakefile t/meson.build t/unit-tests/u-hashmap.c+114 -1161 reply
2/4t/unit-tests: adapt example decorate test to clar frameworkMakefile t/meson.build t/unit-tests/t-example-decorate.c +1 more+78 -761 reply
3/4t/unit-tests: convert strbuf test to clar frameworkMakefile t/meson.build t/unit-tests/t-strbuf.c +1 more+123 -1241 reply
4/4t/unit-tests: convert strcmp-offset test to clar frameworkMakefile t/meson.build t/unit-tests/t-strcmp-offset.c +1 more+47 -371 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchPatrick Steinhardt
SeriesMentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by Mentored-by
1/4Mentored-by
2/4Mentored-by
3/4Mentored-by
4/4Mentored-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] t/unit-tests: convert unit-tests to use clar

Hello,

This small patch series transitions the existing unit test files to the Clar testing framework. This change is part of our ongoing effort to standardize our testing framework to enhance maintainability.

Thanks
Seyi

Seyi Kuforiji (4):
t/unit-tests: convert hashmap test to use clar test framework t/unit-tests: adapt example decorate test to use clar test framework t/unit-tests: convert strbuf test to use clar test framework t/unit-tests: convert strcmp-offset test to use clar test framework

 Makefile                                  |   8 +-
 t/meson.build                             |   8 +-
 t/unit-tests/t-example-decorate.c         |  74 -------
 t/unit-tests/t-strbuf.c                   | 122 ------------
 t/unit-tests/t-strcmp-offset.c            |  35 ----
 t/unit-tests/u-example-decorate.c         |  76 ++++++++
 t/unit-tests/{t-hashmap.c => u-hashmap.c} | 226 +++++++++++-----------
 t/unit-tests/u-strbuf.c                   | 121 ++++++++++++
 t/unit-tests/u-strcmp-offset.c            |  45 +++++
 9 files changed, 362 insertions(+), 353 deletions(-)
 delete mode 100644 t/unit-tests/t-example-decorate.c
 delete mode 100644 t/unit-tests/t-strbuf.c
 delete mode 100644 t/unit-tests/t-strcmp-offset.c
 create mode 100644 t/unit-tests/u-example-decorate.c
 rename t/unit-tests/{t-hashmap.c => u-hashmap.c} (60%)
 create mode 100644 t/unit-tests/u-strbuf.c
 create mode 100644 t/unit-tests/u-strcmp-offset.c
Signature · 1 line
2.47.0.86.g15030f9556