summaryrefslogtreecommitdiff
path: root/tests-clar/checkout/checkout_helpers.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-11-14 14:05:52 -0800
committerBen Straub <bs@github.com>2013-11-14 14:05:52 -0800
commit1782038144ef3413831801bb9c2f3038a84ac6f4 (patch)
treef074cc30890a20f5418c10fae1815ca516588a27 /tests-clar/checkout/checkout_helpers.h
parent7b947bf5cc59eefa83c28eb5f5fd8434207ebb8b (diff)
downloadlibgit2-1782038144ef3413831801bb9c2f3038a84ac6f4.tar.gz
Rename tests-clar to tests
Diffstat (limited to 'tests-clar/checkout/checkout_helpers.h')
-rw-r--r--tests-clar/checkout/checkout_helpers.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests-clar/checkout/checkout_helpers.h b/tests-clar/checkout/checkout_helpers.h
deleted file mode 100644
index 705ee903d..000000000
--- a/tests-clar/checkout/checkout_helpers.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "buffer.h"
-#include "git2/object.h"
-#include "git2/repository.h"
-
-extern void assert_on_branch(git_repository *repo, const char *branch);
-extern void reset_index_to_treeish(git_object *treeish);
-
-#define check_file_contents(PATH,EXP) \
- cl_assert_equal_file(EXP,0,PATH)
-
-#define check_file_contents_nocr(PATH,EXP) \
- cl_assert_equal_file_ignore_cr(EXP,0,PATH)
-
-typedef struct {
- int n_conflicts;
- int n_dirty;
- int n_updates;
- int n_untracked;
- int n_ignored;
- int debug;
-} checkout_counts;
-
-extern int checkout_count_callback(
- git_checkout_notify_t why,
- const char *path,
- const git_diff_file *baseline,
- const git_diff_file *target,
- const git_diff_file *workdir,
- void *payload);