summaryrefslogtreecommitdiff
path: root/tests/odb/backend/backend_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/odb/backend/backend_helpers.h')
-rw-r--r--tests/odb/backend/backend_helpers.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/odb/backend/backend_helpers.h b/tests/odb/backend/backend_helpers.h
deleted file mode 100644
index 5c393c0a5..000000000
--- a/tests/odb/backend/backend_helpers.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "git2/sys/odb_backend.h"
-
-typedef struct {
- const char *oid;
- const char *content;
-} fake_object;
-
-typedef struct {
- git_odb_backend parent;
-
- int exists_calls;
- int exists_prefix_calls;
- int read_calls;
- int read_header_calls;
- int read_prefix_calls;
-
- const fake_object *objects;
-} fake_backend;
-
-int build_fake_backend(
- git_odb_backend **out,
- const fake_object *objects);