mirror of
https://github.com/git/git.git
synced 2026-08-02 22:27:14 +00:00
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>
19 lines
510 B
C
19 lines
510 B
C
/*
|
|
Copyright 2020 Google LLC
|
|
|
|
Use of this source code is governed by a BSD-style
|
|
license that can be found in the LICENSE file or at
|
|
https://developers.google.com/open-source/licenses/bsd
|
|
*/
|
|
|
|
#ifndef REFTABLE_TESTS_H
|
|
#define REFTABLE_TESTS_H
|
|
|
|
int basics_test_main(int argc, const char **argv);
|
|
int record_test_main(int argc, const char **argv);
|
|
int readwrite_test_main(int argc, const char **argv);
|
|
int stack_test_main(int argc, const char **argv);
|
|
int reftable_dump_main(int argc, char *const *argv);
|
|
|
|
#endif
|