Winston Li 11 лет назад
Родитель
Сommit
0dd12e5323

+ 4 - 4
services/git-bridge/src/test/java/uk/ac/ic/wlgitbridge/WLGitBridgeIT.java → services/git-bridge/src/test/java/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest.java

@@ -27,7 +27,7 @@ import static org.junit.Assert.assertTrue;
 /**
 /**
  * Created by Winston on 11/01/15.
  * Created by Winston on 11/01/15.
  */
  */
-public class WLGitBridgeIT {
+public class WLGitBridgeIntegrationTest {
 
 
     private MockSnapshotServer server;
     private MockSnapshotServer server;
     private Map<String, Map<String, SnapshotAPIState>> states =
     private Map<String, Map<String, SnapshotAPIState>> states =
@@ -42,7 +42,7 @@ public class WLGitBridgeIT {
 
 
     @Before
     @Before
     public void startMockSnapshotAPIServer() throws URISyntaxException {
     public void startMockSnapshotAPIServer() throws URISyntaxException {
-        server = new MockSnapshotServer(Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIT/").toURI()).toFile());
+        server = new MockSnapshotServer(Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest/").toURI()).toFile());
         server.start();
         server.start();
     }
     }
 
 
@@ -83,14 +83,14 @@ public class WLGitBridgeIT {
 
 
     private Path getResource(String path) {
     private Path getResource(String path) {
         try {
         try {
-            return Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIT" + path).toURI());
+            return Paths.get(getClass().getResource("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest" + path).toURI());
         } catch (URISyntaxException e) {
         } catch (URISyntaxException e) {
             throw new RuntimeException(e);
             throw new RuntimeException(e);
         }
         }
     }
     }
 
 
     private InputStream getResourceAsStream(String path) {
     private InputStream getResourceAsStream(String path) {
-        return getClass().getResourceAsStream("/uk/ac/ic/wlgitbridge/WLGitBridgeIT" + path);
+        return getClass().getResourceAsStream("/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest" + path);
     }
     }
 
 
 }
 }

+ 0 - 0
services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIT/canCloneARepository/state/git → services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest/canCloneARepository/state/git


+ 0 - 0
services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIT/canCloneARepository/state/state.json → services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest/canCloneARepository/state/state.json


+ 0 - 0
services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIT/state.json → services/git-bridge/src/test/resources/uk/ac/ic/wlgitbridge/WLGitBridgeIntegrationTest/state.json