summaryrefslogtreecommitdiff
path: root/tests-clay/clay_main.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-12-21 16:36:34 +0100
committernulltoken <emeric.fermas@gmail.com>2011-12-21 21:30:12 +0100
commitdb1f7e596c072380ec994ae2e71556fc0a6568f7 (patch)
tree5eb617e28bfc7f6aab0b26dd6e1dd0de79f7c891 /tests-clay/clay_main.c
parent1bdba3386d9953c722d9302f414156104cc06945 (diff)
downloadlibgit2-db1f7e596c072380ec994ae2e71556fc0a6568f7.tar.gz
remote: add test to retrieve the advertised references from a local repository and fix related implementation
Diffstat (limited to 'tests-clay/clay_main.c')
-rw-r--r--tests-clay/clay_main.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests-clay/clay_main.c b/tests-clay/clay_main.c
index af9e08877..d2c954e22 100644
--- a/tests-clay/clay_main.c
+++ b/tests-clay/clay_main.c
@@ -199,6 +199,9 @@ static const struct clay_func _clay_cb_core_vector[] = {
static const struct clay_func _clay_cb_index_rename[] = {
{"single_file", &test_index_rename__single_file}
};
+static const struct clay_func _clay_cb_network_remotelocal[] = {
+ {"retrieve_advertised_references", &test_network_remotelocal__retrieve_advertised_references}
+};
static const struct clay_func _clay_cb_network_remotes[] = {
{"fnmatch", &test_network_remotes__fnmatch},
{"parsing", &test_network_remotes__parsing},
@@ -399,6 +402,12 @@ static const struct clay_suite _clay_suites[] = {
_clay_cb_index_rename, 1
},
{
+ "network::remotelocal",
+ {"initialize", &test_network_remotelocal__initialize},
+ {"cleanup", &test_network_remotelocal__cleanup},
+ _clay_cb_network_remotelocal, 1
+ },
+ {
"network::remotes",
{"initialize", &test_network_remotes__initialize},
{"cleanup", &test_network_remotes__cleanup},
@@ -520,8 +529,8 @@ static const struct clay_suite _clay_suites[] = {
}
};
-static size_t _clay_suite_count = 36;
-static size_t _clay_callback_count = 120;
+static size_t _clay_suite_count = 37;
+static size_t _clay_callback_count = 121;
/* Core test functions */
static void