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

+ 2 - 2
services/git-bridge/pom.xml

@@ -14,7 +14,7 @@
         <plugins>
             <plugin>
                 <artifactId>maven-compiler-plugin</artifactId>
-                <version>2.3.2</version>
+                <version>3.2</version>
                 <configuration>
                     <source>1.7</source>
                     <target>1.7</target>
@@ -23,7 +23,7 @@
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
-                <version>2.4</version>
+                <version>2.5.2</version>
                 <executions>
                     <execution>
                         <phase>package</phase>

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

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

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


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