diff options
| author | Vicent Marti <tanoku@gmail.com> | 2013-01-03 00:50:29 +0100 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2013-01-03 00:50:29 +0100 |
| commit | 6443eaf22f3567a430f038e8edc92e9f101db44d (patch) | |
| tree | be65d859407739ff95926f276faf96205a48d644 /tests-clar/online/fetch.c | |
| parent | 39cd01779c84e0574c11f2e804f28c815e82a583 (diff) | |
| download | libgit2-6443eaf22f3567a430f038e8edc92e9f101db44d.tar.gz | |
Disable Network suite by default
Diffstat (limited to 'tests-clar/online/fetch.c')
| -rw-r--r-- | tests-clar/online/fetch.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests-clar/online/fetch.c b/tests-clar/online/fetch.c index 979b02303..6fcea2512 100644 --- a/tests-clar/online/fetch.c +++ b/tests-clar/online/fetch.c @@ -3,12 +3,12 @@ static git_repository *_repo; static int counter; -void test_network_fetch__initialize(void) +void test_online_fetch__initialize(void) { cl_git_pass(git_repository_init(&_repo, "./fetch", 0)); } -void test_network_fetch__cleanup(void) +void test_online_fetch__cleanup(void) { git_repository_free(_repo); _repo = NULL; @@ -53,22 +53,22 @@ static void do_fetch(const char *url, git_remote_autotag_option_t flag, int n) git_remote_free(remote); } -void test_network_fetch__default_git(void) +void test_online_fetch__default_git(void) { do_fetch("git://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 6); } -void test_network_fetch__default_http(void) +void test_online_fetch__default_http(void) { do_fetch("http://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_AUTO, 6); } -void test_network_fetch__no_tags_git(void) +void test_online_fetch__no_tags_git(void) { do_fetch("git://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_NONE, 3); } -void test_network_fetch__no_tags_http(void) +void test_online_fetch__no_tags_http(void) { do_fetch("http://github.com/libgit2/TestGitRepository.git", GIT_REMOTE_DOWNLOAD_TAGS_NONE, 3); } @@ -81,7 +81,7 @@ static void transferProgressCallback(const git_transfer_progress *stats, void *p *invoked = true; } -void test_network_fetch__doesnt_retrieve_a_pack_when_the_repository_is_up_to_date(void) +void test_online_fetch__doesnt_retrieve_a_pack_when_the_repository_is_up_to_date(void) { git_repository *_repository; bool invoked = false; |
