git/reftable
Chandra Pratap 15e29ea1c6 t: move reftable/stack_test.c to the unit testing framework
reftable/stack_test.c exercises the functions defined in
reftable/stack.{c, h}. Migrate reftable/stack_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 be in-line with unit-tests'
standards.

Since some of the tests use set_test_hash() defined by
reftable/test_framework.{c, h} but these files are not
'#included' in the test file, copy this function in the
ported test file.

With the migration of stack test to the unit-tests framework,
"test-tool reftable" becomes a no-op. Hence, get rid of everything
that uses "test-tool reftable" alongside everything that is used
to implement it.

While at it, alphabetically sort the cmds[] list in
helper/test-tool.c by moving the entry for "dump-reftable".

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>
2024-09-08 13:24:03 -07:00
..
LICENSE
basics.c global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
basics.h global: improve const correctness when assigning string constants 2024-06-07 10:30:48 -07:00
block.c reftable/block: use `size_t` to track restart point index 2024-05-13 17:04:16 -07:00
block.h reftable: use `uint16_t` to track restart interval 2024-05-13 17:02:38 -07:00
blocksource.c Merge branch 'ps/reftable-concurrent-compaction' 2024-09-03 09:15:03 -07:00
blocksource.h reftable/blocksource: drop malloc block source 2024-08-23 08:04:46 -07:00
constants.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
error.c Merge branch 'ps/reftable-write-optim' 2024-05-08 10:18:43 -07:00
iter.c Merge branch 'ps/reftable-drop-generic' 2024-08-29 11:08:16 -07:00
iter.h reftable/generic: drop interface 2024-08-22 07:59:48 -07:00
merged.c reftable/generic: drop interface 2024-08-22 07:59:48 -07:00
merged.h reftable/merged: stop using generic tables in the merged table 2024-08-22 07:59:46 -07:00
pq.c reftable: change the type of array indices to 'size_t' in reftable/pq.c 2024-08-01 09:07:28 -07:00
pq.h t-reftable-pq: make merged_iter_pqueue_check() static 2024-08-01 09:07:29 -07:00
publicbasics.c
reader.c reftable/reader: keep readers alive during iteration 2024-08-23 08:04:47 -07:00
reader.h reftable/reader: introduce refcounting 2024-08-23 08:04:47 -07:00
record.c Merge branch 'ps/reftable-drop-generic' 2024-08-29 11:08:16 -07:00
record.h t/helper: inline printing of reftable records 2024-08-22 07:59:47 -07:00
reftable-blocksource.h
reftable-error.h Merge branch 'ps/reftable-write-optim' 2024-05-08 10:18:43 -07:00
reftable-iterator.h reftable/generic: adapt interface to allow reuse of iterators 2024-05-13 17:04:18 -07:00
reftable-malloc.h
reftable-merged.h reftable/generic: drop interface 2024-08-22 07:59:48 -07:00
reftable-reader.h reftable/reader: introduce refcounting 2024-08-23 08:04:47 -07:00
reftable-record.h t/helper: inline printing of reftable records 2024-08-22 07:59:47 -07:00
reftable-stack.h t/helper: inline `reftable_stack_print_directory()` 2024-08-22 07:59:47 -07:00
reftable-writer.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
stack.c reftable/stack: fix segfault when reload with reused readers fails 2024-08-23 08:04:48 -07:00
stack.h reftable: make the compaction factor configurable 2024-05-13 17:02:39 -07:00
system.h hash-ll: merge with "hash.h" 2024-06-14 10:26:33 -07:00
tree.c reftable: remove unnecessary curly braces in reftable/tree.c 2024-08-04 09:50:18 -07:00
tree.h
writer.c reftable: mark unused parameters in virtual functions 2024-08-17 09:46:12 -07:00
writer.h