summaryrefslogtreecommitdiff
path: root/tests/online/push_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/online/push_util.h')
-rw-r--r--tests/online/push_util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/online/push_util.h b/tests/online/push_util.h
index 3d4a38834..2e05c4ed7 100644
--- a/tests/online/push_util.h
+++ b/tests/online/push_util.h
@@ -22,6 +22,9 @@ typedef struct {
typedef struct {
git_vector updated_tips;
+ git_vector statuses;
+ int pack_progress_calls;
+ int transfer_progress_calls;
} record_callbacks_data;
typedef struct {
@@ -29,6 +32,15 @@ typedef struct {
const git_oid *oid;
} expected_ref;
+/* the results of a push status. when used for expected values, msg may be NULL
+ * to indicate that it should not be matched. */
+typedef struct {
+ char *ref;
+ int success;
+ char *msg;
+} push_status;
+
+
void updated_tip_free(updated_tip *t);
void record_callbacks_data_clear(record_callbacks_data *data);