#include "system.h"
#include "basics.h"
#include "block.h"
#include "blocksource.h"
#include "reader.h"
#include "record.h"
#include "test_framework.h"
#include "reftable-tests.h"
#include "reftable-writer.h"
static const int update_index = …;
static void test_buffer(void)
{ … }
static void write_table(char ***names, struct strbuf *buf, int N,
int block_size, uint32_t hash_id)
{ … }
static void test_log_buffer_size(void)
{ … }
static void test_log_overflow(void)
{ … }
static void test_log_write_read(void)
{ … }
static void test_log_zlib_corruption(void)
{ … }
static void test_table_read_write_sequential(void)
{ … }
static void test_table_write_small_table(void)
{ … }
static void test_table_read_api(void)
{ … }
static void test_table_read_write_seek(int index, int hash_id)
{ … }
static void test_table_read_write_seek_linear(void)
{ … }
static void test_table_read_write_seek_linear_sha256(void)
{ … }
static void test_table_read_write_seek_index(void)
{ … }
static void test_table_refs_for(int indexed)
{ … }
static void test_table_refs_for_no_index(void)
{ … }
static void test_table_refs_for_obj_index(void)
{ … }
static void test_write_empty_table(void)
{ … }
static void test_write_object_id_min_length(void)
{ … }
static void test_write_object_id_length(void)
{ … }
static void test_write_empty_key(void)
{ … }
static void test_write_key_order(void)
{ … }
static void test_write_multiple_indices(void)
{ … }
static void test_write_multi_level_index(void)
{ … }
static void test_corrupt_table_empty(void)
{ … }
static void test_corrupt_table(void)
{ … }
int readwrite_test_main(int argc, const char *argv[])
{ … }