1 package net.trajano.wagon.git.test;
2
3 import java.io.IOException;
4
5 import net.trajano.wagon.git.GitWagon;
6
7 import org.apache.maven.wagon.StreamingWagonTestCase;
8
9
10
11
12
13
14 public class GitHubPagesWagonTest extends StreamingWagonTestCase {
15
16
17
18
19
20
21 @Override
22 protected String getProtocol() {
23 return "github";
24 }
25
26
27
28
29 @Override
30 protected int getTestRepositoryPort() {
31 return 0;
32 }
33
34
35
36
37
38
39
40 @Override
41 protected String getTestRepositoryUrl() throws IOException {
42 return "github:http://site.trajano.net/ZaWorld/";
43 }
44
45
46
47
48 @Override
49 protected void setupWagonTestingFixtures() throws Exception {
50 }
51
52
53
54
55
56 @Override
57 protected boolean supportsGetIfNewer() {
58 return false;
59 }
60
61
62
63
64 @Override
65 protected void tearDownWagonTestingFixtures() throws Exception {
66 }
67 }