فهرست منبع

Added unit test classes.

Winston Li 12 سال پیش
والد
کامیت
3887e5025f
96فایلهای تغییر یافته به همراه1651 افزوده شده و 151 حذف شده
  1. 0 4
      services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java
  2. 0 42
      services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotAttachment.java
  3. 9 7
      services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidProjectException.java
  4. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/MainTest.java
  5. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/AttsResourceHandlerTest.java
  6. 17 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackContentsTest.java
  7. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandlerTest.java
  8. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeApplicationTest.java
  9. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeServerTest.java
  10. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/exception/InvalidProgramArgumentsExceptionTest.java
  11. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/application/jetty/NullLoggerTest.java
  12. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/bridge/WLBridgedProjectTest.java
  13. 0 15
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/WLGitServletConfigTests.java
  14. 0 15
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/WLGitServletTests.java
  15. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLReceivePackFactoryTest.java
  16. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLRepositoryResolverTest.java
  17. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLUploadPackTest.java
  18. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/hook/WriteLatexPutHookTest.java
  19. 22 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/hook/exception/ForcedPushExceptionTest.java
  20. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/servlet/WLGitServletConfigTest.java
  21. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/servlet/WLGitServletTest.java
  22. 13 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/util/FileDirectoryContentsTest.java
  23. 11 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/git/util/RepositoryObjectTreeWalkerTest.java
  24. 26 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/util/UtilTest.java
  25. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/ProjectLockTest.java
  26. 33 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/SnapshotFetcherTest.java
  27. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/SnapshotRepositoryBuilderTest.java
  28. 38 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/WLDirectoryNodeSnapshotTest.java
  29. 41 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/WriteLatexAPITest.java
  30. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/HTTPMethodTest.java
  31. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java
  32. 17 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/ResultTest.java
  33. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/SnapshotAPIRequestTest.java
  34. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/exception/FailedConnectionExceptionTest.java
  35. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/SnapshotGetDocRequestTest.java
  36. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/SnapshotGetDocResultTest.java
  37. 21 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/exception/InvalidProjectExceptionTest.java
  38. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotAttachmentTest.java
  39. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotDataTest.java
  40. 33 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotFileTest.java
  41. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java
  42. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionResultTest.java
  43. 1 1
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java
  44. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersResultTest.java
  45. 28 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotInfoTest.java
  46. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/WLUserTest.java
  47. 21 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/PostbackContentsTest.java
  48. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/PostbackManagerTest.java
  49. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/SnapshotPushRequestResultTest.java
  50. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/SnapshotPushRequestTest.java
  51. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/UnexpectedPostbackExceptionTest.java
  52. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesExceptionTest.java
  53. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidProjectExceptionTest.java
  54. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/OutOfDateExceptionTest.java
  55. 13 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/SnapshotPostExceptionBuilderTest.java
  56. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/SnapshotPostExceptionTest.java
  57. 21 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/UnexpectedErrorExceptionTest.java
  58. 0 7
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/BlobHashTest.java
  59. 28 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/GitDirectoryContentsTest.java
  60. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/RepositoryFileTest.java
  61. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/AttachmentBlobTest.java
  62. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/BlobTest.java
  63. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/ByteBlobTest.java
  64. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/ExternalBlobTest.java
  65. 12 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/RawFileBlobTest.java
  66. 33 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/AttachmentNodeTest.java
  67. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/BlobNodeTest.java
  68. 48 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/FileNodeTest.java
  69. 38 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/WLDirectoryNodeTest.java
  70. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/BlobHashTest.java
  71. 38 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/FileIndexStoreTest.java
  72. 38 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/WLFileStoreTest.java
  73. 48 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/SnapshotTest.java
  74. 0 15
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/SnapshotTests.java
  75. 28 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLDataModelTest.java
  76. 0 15
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLDataModelTests.java
  77. 21 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectStoreTest.java
  78. 33 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectTest.java
  79. 0 15
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectTests.java
  80. 73 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/WLGBPersistentStoreTest.java
  81. 61 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/SQLiteWLDatabaseTest.java
  82. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetFileNodesForProjectNameSQLQueryTest.java
  83. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetProjectNamesSQLQueryTest.java
  84. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetURLIndexTableForProjectNameSQLQueryTest.java
  85. 23 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetVersionIDsForProjectNameSQLQueryTest.java
  86. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateFileNodeTableSQLUpdateTest.java
  87. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateProjectsTableSQLUpdateTest.java
  88. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateSnapshotsTableSQLUpdateTest.java
  89. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateURLIndexStoreSQLUpdateTest.java
  90. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/delete/DeleteFileNodesForProjectNameSQLUpdateTest.java
  91. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/delete/DeleteURLIndexesForProjectNameSQLUpdateTest.java
  92. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddFileNodeBlobSQLUpdateTest.java
  93. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddFileNodeExternalSQLUpdateTest.java
  94. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddProjectSQLUpdateTest.java
  95. 18 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddSnapshotSQLUpdateTest.java
  96. 16 0
      services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddURLIndexSQLUpdateTest.java

+ 0 - 4
services/git-bridge/src/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandler.java

@@ -24,10 +24,6 @@ public class SnapshotPushPostbackHandler extends AbstractHandler {
 
     @Override
     public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
-//                System.out.println("handling");
-//                System.out.println(request.getMethod());
-//                response.setContentType("text/html;charset=utf-8");
-//                response.setStatus(HttpServletResponse.SC_OK);
         if (request.getMethod().equals("POST") && request.getPathInfo().endsWith("postback")) {
             String contents = getContentsOfReader(request.getReader());
             String projectName = request.getRequestURI().split("/")[1];

+ 0 - 42
services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotAttachment.java

@@ -2,22 +2,12 @@ package uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion;
 
 import com.google.gson.JsonArray;
 import com.google.gson.JsonElement;
-import com.ning.http.client.AsyncCompletionHandler;
-import com.ning.http.client.AsyncHttpClient;
-import com.ning.http.client.HttpResponseBodyPart;
-import com.ning.http.client.Response;
-import uk.ac.ic.wlgitbridge.writelatex.api.request.exception.FailedConnectionException;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.util.concurrent.Future;
 
 /**
  * Created by Winston on 06/11/14.
  */
 public class SnapshotAttachment extends SnapshotFile {
 
-    private Future<byte[]> future;
     private String url;
 
     public SnapshotAttachment(JsonElement json) {
@@ -27,43 +17,11 @@ public class SnapshotAttachment extends SnapshotFile {
     @Override
     public byte[] getContents() {
         return null;
-//        try {
-//            return future.get();
-//        } catch (InterruptedException e) {
-//            throw new FailedConnectionException();
-//        } catch (ExecutionException e) {
-//            throw new FailedConnectionException();
-//        }
     }
 
     @Override
     protected void getContentsFromJSON(JsonArray jsonArray) {
         url = jsonArray.get(0).getAsString();
-//        fetchContents(jsonArray.get(0).getAsString());
-    }
-
-    private void fetchContents(String url) throws FailedConnectionException {
-        AsyncHttpClient asyncHttpClient = new AsyncHttpClient();
-        try {
-            future = asyncHttpClient.prepareGet(url).execute(new AsyncCompletionHandler<byte[]>() {
-
-                ByteArrayOutputStream bytes = new ByteArrayOutputStream();
-
-                @Override
-                public STATE onBodyPartReceived(HttpResponseBodyPart bodyPart) throws Exception {
-                    bytes.write(bodyPart.getBodyPartBytes());
-                    return STATE.CONTINUE;
-                }
-
-                @Override
-                public byte[] onCompleted(Response response) throws Exception {
-                    return bytes.toByteArray();
-                }
-
-            });
-        } catch (IOException e) {
-            throw new FailedConnectionException();
-        }
     }
 
     public String getUrl() {

+ 9 - 7
services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidProjectException.java

@@ -1,8 +1,9 @@
 package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
 
+import com.google.gson.JsonArray;
 import com.google.gson.JsonElement;
 
-import java.util.Arrays;
+import java.util.LinkedList;
 import java.util.List;
 
 /**
@@ -10,10 +11,7 @@ import java.util.List;
  */
 public class InvalidProjectException extends SnapshotPostException {
 
-    private static final String[] DESCRIPTION_LINES = {
-            "Your WriteLatex project is too big.",
-            "Delete some files and try again.."
-    };
+    private LinkedList<String> descriptionLines;
 
     public InvalidProjectException(JsonElement jsonElement) {
         super(jsonElement);
@@ -26,12 +24,16 @@ public class InvalidProjectException extends SnapshotPostException {
 
     @Override
     public List<String> getDescriptionLines() {
-        return Arrays.asList(DESCRIPTION_LINES);
+        return descriptionLines;
     }
 
     @Override
     public void fromJSON(JsonElement json) {
-
+        descriptionLines = new LinkedList<String>();
+        JsonArray errors = json.getAsJsonObject().get("errors").getAsJsonArray();
+        for (JsonElement error : errors) {
+            descriptionLines.add(error.getAsString());
+        }
     }
 
 }

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/MainTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/MainTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class MainTests {
+public class MainTest {
 
     @Test
     public void nothingToTest() {

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/AttsResourceHandlerTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.application;
+
+import org.junit.Test;
+
+public class AttsResourceHandlerTest {
+
+    @Test
+    public void testHandle() throws Exception {
+
+    }
+
+}

+ 17 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackContentsTest.java

@@ -0,0 +1,17 @@
+package uk.ac.ic.wlgitbridge.application;
+
+import org.junit.Test;
+
+public class SnapshotPushPostbackContentsTest {
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testProcessPostback() throws Exception {
+
+    }
+
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/SnapshotPushPostbackHandlerTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.application;
+
+import org.junit.Test;
+
+public class SnapshotPushPostbackHandlerTest {
+
+    @Test
+    public void testHandle() throws Exception {
+
+    }
+    
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeApplicationTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeApplicationTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class WLGitBridgeApplicationTests {
+public class WLGitBridgeApplicationTest {
 
     @Test
     public void diesIfLessThanTwoArguments() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeServerTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/application/WLGitBridgeServerTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class WLGitBridgeServerTests {
+public class WLGitBridgeServerTest {
 
     @Test
     public void nothingToTest() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/exception/InvalidProgramArgumentsExceptionTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/application/exception/InvalidProgramArgumentsExceptionTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 03/11/14.
  */
-public class InvalidProgramArgumentsExceptionTests {
+public class InvalidProgramArgumentsExceptionTest {
 
     @Test
     public void nothingToTest() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/application/jetty/NullLoggerTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/application/jetty/NullLoggerTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 03/11/14.
  */
-public class NullLoggerTests {
+public class NullLoggerTest {
 
     @Test
     public void nothingToTest() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/bridge/WLBridgedProjectTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/bridge/WLBridgedProjectTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 05/11/14.
  */
-public class WLBridgedProjectTests {
+public class WLBridgedProjectTest {
 
     @Test
     public void nothingToTest() {

+ 0 - 15
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/WLGitServletConfigTests.java

@@ -1,15 +0,0 @@
-package uk.ac.ic.wlgitbridge.git;
-
-import org.junit.Test;
-
-/**
- * Created by Winston on 02/11/14.
- */
-public class WLGitServletConfigTests {
-
-    @Test
-    public void nothingToTest() {
-
-    }
-
-}

+ 0 - 15
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/WLGitServletTests.java

@@ -1,15 +0,0 @@
-package uk.ac.ic.wlgitbridge.git;
-
-import org.junit.Test;
-
-/**
- * Created by Winston on 02/11/14.
- */
-public class WLGitServletTests {
-
-    @Test
-    public void nothingToTest() {
-
-    }
-
-}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLReceivePackFactoryTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLReceivePackFactoryTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class WLReceivePackFactoryTests {
+public class WLReceivePackFactoryTest {
 
     @Test
     public void nothingToTest() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLRepositoryResolverTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLRepositoryResolverTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class WLRepositoryResolverTests {
+public class WLRepositoryResolverTest {
 
     @Test
     public void joinsFilePathsTogether() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLUploadPackTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/WLUploadPackTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 02/11/14.
  */
-public class WLUploadPackTests {
+public class WLUploadPackTest {
 
     @Test
     public void nothingToTest() {

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/hook/CheckNonFastForwardHookTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/hook/WriteLatexPutHookTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 03/11/14.
  */
-public class CheckNonFastForwardHookTests {
+public class WriteLatexPutHookTest {
 
     @Test
     public void nothingToTest() {

+ 22 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/handler/hook/exception/ForcedPushExceptionTest.java

@@ -0,0 +1,22 @@
+package uk.ac.ic.wlgitbridge.git.handler.hook.exception;
+
+import org.junit.Test;
+
+public class ForcedPushExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/servlet/WLGitServletConfigTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.git.servlet;
+
+import org.junit.Test;
+
+public class WLGitServletConfigTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/servlet/WLGitServletTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.git.servlet;
+
+import org.junit.Test;
+
+public class WLGitServletTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 13 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/util/FileDirectoryContentsTest.java

@@ -0,0 +1,13 @@
+package uk.ac.ic.wlgitbridge.git.util;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class FileDirectoryContentsTest {
+
+    @Test
+    public void testGetFileContentsTable() throws Exception {
+
+    }
+}

+ 11 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/git/util/RepositoryObjectTreeWalkerTest.java

@@ -0,0 +1,11 @@
+package uk.ac.ic.wlgitbridge.git.util;
+
+import org.junit.Test;
+
+public class RepositoryObjectTreeWalkerTest {
+
+    @Test
+    public void testGetDirectoryContents() throws Exception {
+
+    }
+}

+ 26 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/util/UtilTest.java

@@ -0,0 +1,26 @@
+package uk.ac.ic.wlgitbridge.util;
+
+import org.junit.Test;
+
+public class UtilTest {
+
+    @Test
+    public void testEntries() throws Exception {
+
+    }
+
+    @Test
+    public void testBooleanToInt() throws Exception {
+
+    }
+
+    @Test
+    public void testIntToBoolean() throws Exception {
+
+    }
+
+    @Test
+    public void testRemoveAllSuffixes() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/ProjectLockTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class ProjectLockTest {
+
+    @Test
+    public void testLockForProject() throws Exception {
+
+    }
+
+    @Test
+    public void testUnlockForProject() throws Exception {
+
+    }
+}

+ 33 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/SnapshotFetcherTest.java

@@ -0,0 +1,33 @@
+package uk.ac.ic.wlgitbridge.writelatex;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotFetcherTest {
+
+    @Test
+    public void testFetchNewSnapshots() throws Exception {
+
+    }
+
+    @Test
+    public void testGetLatestSnapshot() throws Exception {
+
+    }
+
+    @Test
+    public void testPutLatestVersion() throws Exception {
+
+    }
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testGetVersions() throws Exception {
+
+    }
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/SnapshotRepositoryBuilderTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/SnapshotRepositoryBuilderTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 05/11/14.
  */
-public class SnapshotRepositoryBuilderTests {
+public class SnapshotRepositoryBuilderTest {
 
     @Test
     public void nothingToTest() {

+ 38 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/WLDirectoryNodeSnapshotTest.java

@@ -0,0 +1,38 @@
+package uk.ac.ic.wlgitbridge.writelatex;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLDirectoryNodeSnapshotTest {
+
+    @Test
+    public void testGetJsonRepresentation() throws Exception {
+
+    }
+
+    @Test
+    public void testGetPreviousVersionID() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectURL() throws Exception {
+
+    }
+
+    @Test
+    public void testApproveWithVersionID() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDirectoryNode() throws Exception {
+
+    }
+}

+ 41 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/WriteLatexAPITest.java

@@ -0,0 +1,41 @@
+package uk.ac.ic.wlgitbridge.writelatex;
+
+import org.junit.Test;
+
+public class WriteLatexAPITest {
+
+    @Test
+    public void testLockForProject() throws Exception {
+
+    }
+
+    @Test
+    public void testUnlockForProject() throws Exception {
+
+    }
+
+    @Test
+    public void testRepositoryExists() throws Exception {
+
+    }
+
+    @Test
+    public void testGetWritableRepositories() throws Exception {
+
+    }
+
+    @Test
+    public void testPutDirectoryContentsToProjectWithName() throws Exception {
+
+    }
+
+    @Test
+    public void testPostbackReceivedSuccessfully() throws Exception {
+
+    }
+
+    @Test
+    public void testPostbackReceivedWithException() throws Exception {
+
+    }
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/HTTPMethodTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.base;
+
+import org.junit.Test;
+
+public class HTTPMethodTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java

@@ -8,7 +8,7 @@ import uk.ac.ic.wlgitbridge.writelatex.api.request.getsavedvers.SnapshotGetSaved
 /**
  * Created by Winston on 06/11/14.
  */
-public class RequestTests {
+public class RequestTest {
 
     @Test
     public void nothingToTest() {

+ 17 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/ResultTest.java

@@ -0,0 +1,17 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.base;
+
+import org.junit.Test;
+
+public class ResultTest {
+
+    @Test
+    public void testGetRequest() throws Exception {
+
+    }
+
+    @Test
+    public void testToString() throws Exception {
+
+    }
+
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/SnapshotAPIRequestTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/SnapshotAPIRequestTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 06/11/14.
  */
-public class SnapshotAPIRequestTests {
+public class SnapshotAPIRequestTest {
 
     @Test
     public void nothingToTest() {

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/exception/FailedConnectionExceptionTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.exception;
+
+import org.junit.Test;
+
+public class FailedConnectionExceptionTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/SnapshotGetDocRequestTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/SnapshotGetDocRequestTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 06/11/14.
  */
-public class SnapshotGetDocRequestTests {
+public class SnapshotGetDocRequestTest {
 
     @Test
     public void nothingToTest() {

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/SnapshotGetDocResultTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getdoc;
+
+import org.junit.Test;
+
+public class SnapshotGetDocResultTest {
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetVersionID() throws Exception {
+
+    }
+}

+ 21 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getdoc/exception/InvalidProjectExceptionTest.java

@@ -0,0 +1,21 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getdoc.exception;
+
+import org.junit.Test;
+
+public class InvalidProjectExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotAttachmentTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotAttachmentTest {
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testGetContentsFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUrl() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotDataTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotDataTest {
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSrcs() throws Exception {
+
+    }
+
+    @Test
+    public void testGetAtts() throws Exception {
+
+    }
+}

+ 33 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotFileTest.java

@@ -0,0 +1,33 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotFileTest {
+
+    @Test
+    public void testGetPath() throws Exception {
+
+    }
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetContentsFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetPathFromJSON() throws Exception {
+
+    }
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 06/11/14.
  */
-public class SnapshotGetForVersionRequestTests {
+public class SnapshotGetForVersionRequestTest {
 
     @Test
     public void nothingToTest() {

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionResultTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion;
+
+import org.junit.Test;
+
+public class SnapshotGetForVersionResultTest {
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSnapshotData() throws Exception {
+
+    }
+}

+ 1 - 1
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTests.java → services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java

@@ -5,7 +5,7 @@ import org.junit.Test;
 /**
  * Created by Winston on 06/11/14.
  */
-public class SnapshotGetSavedVersRequestTests {
+public class SnapshotGetSavedVersRequestTest {
 
     @Test
     public void nothingToTest() {

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersResultTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getsavedvers;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotGetSavedVersResultTest {
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSavedVers() throws Exception {
+
+    }
+}

+ 28 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotInfoTest.java

@@ -0,0 +1,28 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getsavedvers;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotInfoTest {
+
+    @Test
+    public void testGetVersionId() throws Exception {
+
+    }
+
+    @Test
+    public void testGetComment() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUser() throws Exception {
+
+    }
+
+    @Test
+    public void testGetCreatedAt() throws Exception {
+
+    }
+}

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/WLUserTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.getsavedvers;
+
+import org.junit.Test;
+
+public class WLUserTest {
+
+    @Test
+    public void testGetName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetEmail() throws Exception {
+
+    }
+}

+ 21 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/PostbackContentsTest.java

@@ -0,0 +1,21 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push;
+
+import org.junit.Test;
+
+public class PostbackContentsTest {
+
+    @Test
+    public void testWaitForPostback() throws Exception {
+
+    }
+
+    @Test
+    public void testReceivedVersionID() throws Exception {
+
+    }
+
+    @Test
+    public void testReceivedException() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/PostbackManagerTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class PostbackManagerTest {
+
+    @Test
+    public void testGetVersionID() throws Exception {
+
+    }
+
+    @Test
+    public void testPostVersionIDForProject() throws Exception {
+
+    }
+
+    @Test
+    public void testPostExceptionForProject() throws Exception {
+
+    }
+}

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/SnapshotPushRequestResultTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push;
+
+import org.junit.Test;
+
+public class SnapshotPushRequestResultTest {
+
+    @Test
+    public void testWasSuccessful() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/SnapshotPushRequestTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotPushRequestTest {
+
+    @Test
+    public void testHttpMethod() throws Exception {
+
+    }
+
+    @Test
+    public void testGetPostBody() throws Exception {
+
+    }
+
+    @Test
+    public void testParseResponse() throws Exception {
+
+    }
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/UnexpectedPostbackExceptionTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push;
+
+import org.junit.Test;
+
+public class UnexpectedPostbackExceptionTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidFilesExceptionTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class InvalidFilesExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/InvalidProjectExceptionTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class InvalidProjectExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/OutOfDateExceptionTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class OutOfDateExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

+ 13 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/SnapshotPostExceptionBuilderTest.java

@@ -0,0 +1,13 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotPostExceptionBuilderTest {
+
+    @Test
+    public void testBuild() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/SnapshotPostExceptionTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotPostExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+}

+ 21 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/push/exception/UnexpectedErrorExceptionTest.java

@@ -0,0 +1,21 @@
+package uk.ac.ic.wlgitbridge.writelatex.api.request.push.exception;
+
+import org.junit.Test;
+
+public class UnexpectedErrorExceptionTest {
+
+    @Test
+    public void testGetMessage() throws Exception {
+
+    }
+
+    @Test
+    public void testGetDescriptionLines() throws Exception {
+
+    }
+
+    @Test
+    public void testFromJSON() throws Exception {
+
+    }
+}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 7
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/BlobHashTest.java


+ 28 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/GitDirectoryContentsTest.java

@@ -0,0 +1,28 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class GitDirectoryContentsTest {
+
+    @Test
+    public void testWrite() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUserName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUserEmail() throws Exception {
+
+    }
+
+    @Test
+    public void testGetCommitMessage() throws Exception {
+
+    }
+}

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/RepositoryFileTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore;
+
+import org.junit.Test;
+
+public class RepositoryFileTest {
+
+    @Test
+    public void testGetPath() throws Exception {
+
+    }
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/AttachmentBlobTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.blob;
+
+import org.junit.Test;
+
+public class AttachmentBlobTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/BlobTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.blob;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class BlobTest {
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testEquals() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/ByteBlobTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.blob;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class ByteBlobTest {
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/ExternalBlobTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.blob;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class ExternalBlobTest {
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+}

+ 12 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/RawFileBlobTest.java

@@ -0,0 +1,12 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.blob;
+
+import org.junit.Test;
+
+public class RawFileBlobTest {
+
+    @Test
+    public void nothingToTest() {
+
+    }
+
+}

+ 33 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/AttachmentNodeTest.java

@@ -0,0 +1,33 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.node;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class AttachmentNodeTest {
+
+    @Test
+    public void testIndexWith() throws Exception {
+
+    }
+
+    @Test
+    public void testGetBlob() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testGetURL() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectName() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/BlobNodeTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.node;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class BlobNodeTest {
+
+    @Test
+    public void testIndexWith() throws Exception {
+
+    }
+
+    @Test
+    public void testGetBlob() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+}

+ 48 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/FileNodeTest.java

@@ -0,0 +1,48 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.node;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class FileNodeTest {
+
+    @Test
+    public void testGetContents() throws Exception {
+
+    }
+
+    @Test
+    public void testWriteToDisk() throws Exception {
+
+    }
+
+    @Test
+    public void testGetFilePath() throws Exception {
+
+    }
+
+    @Test
+    public void testIsChanged() throws Exception {
+
+    }
+
+    @Test
+    public void testIndexWith() throws Exception {
+
+    }
+
+    @Test
+    public void testGetBlob() throws Exception {
+
+    }
+
+    @Test
+    public void testEquals() throws Exception {
+
+    }
+
+    @Test
+    public void testToString() throws Exception {
+
+    }
+}

+ 38 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/node/WLDirectoryNodeTest.java

@@ -0,0 +1,38 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.node;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLDirectoryNodeTest {
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testGetFileNodes() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdateFromSnapshot() throws Exception {
+
+    }
+
+    @Test
+    public void testCreateFromRawDirectoryContents() throws Exception {
+
+    }
+
+    @Test
+    public void testToString() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/BlobHashTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.store;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class BlobHashTest {
+
+    @Test
+    public void testEquals() throws Exception {
+
+    }
+
+    @Test
+    public void testHashCode() throws Exception {
+
+    }
+}

+ 38 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/FileIndexStoreTest.java

@@ -0,0 +1,38 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.store;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class FileIndexStoreTest {
+
+    @Test
+    public void testIndex() throws Exception {
+
+    }
+
+    @Test
+    public void testIndex1() throws Exception {
+
+    }
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testHasAttachmentWithURL() throws Exception {
+
+    }
+
+    @Test
+    public void testGetAttachment() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdatePersistentStore() throws Exception {
+
+    }
+}

+ 38 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/filestore/store/WLFileStoreTest.java

@@ -0,0 +1,38 @@
+package uk.ac.ic.wlgitbridge.writelatex.filestore.store;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLFileStoreTest {
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteInDirectory() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteInDirectoryApartFrom() throws Exception {
+
+    }
+
+    @Test
+    public void testUpdateForProject() throws Exception {
+
+    }
+
+    @Test
+    public void testCreateNextDirectoryNodeInProjectFromContents() throws Exception {
+
+    }
+
+    @Test
+    public void testApproveCandidateSnapshot() throws Exception {
+
+    }
+}

+ 48 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/SnapshotTest.java

@@ -0,0 +1,48 @@
+package uk.ac.ic.wlgitbridge.writelatex.model;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class SnapshotTest {
+
+    @Test
+    public void testGetVersionID() throws Exception {
+
+    }
+
+    @Test
+    public void testGetComment() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUserName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetUserEmail() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSrcs() throws Exception {
+
+    }
+
+    @Test
+    public void testGetAtts() throws Exception {
+
+    }
+
+    @Test
+    public void testCompareTo() throws Exception {
+
+    }
+
+    @Test
+    public void testToString() throws Exception {
+
+    }
+}

+ 0 - 15
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/SnapshotTests.java

@@ -1,15 +0,0 @@
-package uk.ac.ic.wlgitbridge.writelatex.model;
-
-import org.junit.Test;
-
-/**
- * Created by Winston on 05/11/14.
- */
-public class SnapshotTests {
-
-    @Test
-    public void nothingToTest() {
-
-    }
-
-}

+ 28 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLDataModelTest.java

@@ -0,0 +1,28 @@
+package uk.ac.ic.wlgitbridge.writelatex.model;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLDataModelTest {
+
+    @Test
+    public void testUpdateProjectWithName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectWithName() throws Exception {
+
+    }
+
+    @Test
+    public void testCreateCandidateSnapshotFromProjectWithContents() throws Exception {
+
+    }
+
+    @Test
+    public void testApproveSnapshot() throws Exception {
+
+    }
+}

+ 0 - 15
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLDataModelTests.java

@@ -1,15 +0,0 @@
-package uk.ac.ic.wlgitbridge.writelatex.model;
-
-import org.junit.Test;
-
-/**
- * Created by Winston on 06/11/14.
- */
-public class WLDataModelTests {
-
-    @Test
-    public void nothingToTest() {
-
-    }
-
-}

+ 21 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectStoreTest.java

@@ -0,0 +1,21 @@
+package uk.ac.ic.wlgitbridge.writelatex.model;
+
+import org.junit.Test;
+
+public class WLProjectStoreTest {
+
+    @Test
+    public void testGetProjectWithName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectNames() throws Exception {
+
+    }
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+}

+ 33 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectTest.java

@@ -0,0 +1,33 @@
+package uk.ac.ic.wlgitbridge.writelatex.model;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLProjectTest {
+
+    @Test
+    public void testFetchNewSnapshots() throws Exception {
+
+    }
+
+    @Test
+    public void testGetName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetLatestSnapshotID() throws Exception {
+
+    }
+
+    @Test
+    public void testPutLatestSnapshot() throws Exception {
+
+    }
+
+    @Test
+    public void testInitFromPersistentStore() throws Exception {
+
+    }
+}

+ 0 - 15
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/WLProjectTests.java

@@ -1,15 +0,0 @@
-package uk.ac.ic.wlgitbridge.writelatex.model;
-
-import org.junit.Test;
-
-/**
- * Created by Winston on 06/11/14.
- */
-public class WLProjectTests {
-
-    @Test
-    public void nothingToTest() {
-
-    }
-
-}

+ 73 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/WLGBPersistentStoreTest.java

@@ -0,0 +1,73 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class WLGBPersistentStoreTest {
+
+    @Test
+    public void testLoadProjectStore() throws Exception {
+
+    }
+
+    @Test
+    public void testLoadFileStore() throws Exception {
+
+    }
+
+    @Test
+    public void testAddProject() throws Exception {
+
+    }
+
+    @Test
+    public void testAddSnapshot() throws Exception {
+
+    }
+
+    @Test
+    public void testAddFileNodeBlob() throws Exception {
+
+    }
+
+    @Test
+    public void testAddFileNodeExternal() throws Exception {
+
+    }
+
+    @Test
+    public void testAddURLIndex() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectNames() throws Exception {
+
+    }
+
+    @Test
+    public void testGetVersionIDsForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetFileNodesForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetURLIndexTableForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteFileNodesForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteURLIndexesForProjectName() throws Exception {
+
+    }
+}

+ 61 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/SQLiteWLDatabaseTest.java

@@ -0,0 +1,61 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql;
+
+import org.junit.Test;
+
+public class SQLiteWLDatabaseTest {
+
+    @Test
+    public void testAddProject() throws Exception {
+
+    }
+
+    @Test
+    public void testAddSnapshot() throws Exception {
+
+    }
+
+    @Test
+    public void testAddFileNodeBlob() throws Exception {
+
+    }
+
+    @Test
+    public void testAddFileNodeExternal() throws Exception {
+
+    }
+
+    @Test
+    public void testAddURLIndex() throws Exception {
+
+    }
+
+    @Test
+    public void testGetProjectNames() throws Exception {
+
+    }
+
+    @Test
+    public void testGetVersionIDsForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetFileNodesForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testGetURLIndexTableForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteFileNodesForProjectName() throws Exception {
+
+    }
+
+    @Test
+    public void testDeleteURLIndexesForProjectName() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetFileNodesForProjectNameSQLQueryTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class GetFileNodesForProjectNameSQLQueryTest {
+
+    @Test
+    public void testProcessResultSet() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetProjectNamesSQLQueryTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class GetProjectNamesSQLQueryTest {
+
+    @Test
+    public void testProcessResultSet() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetURLIndexTableForProjectNameSQLQueryTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class GetURLIndexTableForProjectNameSQLQueryTest {
+
+    @Test
+    public void testProcessResultSet() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 23 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/query/GetVersionIDsForProjectNameSQLQueryTest.java

@@ -0,0 +1,23 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.query;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class GetVersionIDsForProjectNameSQLQueryTest {
+
+    @Test
+    public void testProcessResultSet() throws Exception {
+
+    }
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateFileNodeTableSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class CreateFileNodeTableSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateProjectsTableSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class CreateProjectsTableSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateSnapshotsTableSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class CreateSnapshotsTableSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateURLIndexStoreSQLUpdateTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create;
+
+import org.junit.Test;
+
+public class CreateURLIndexStoreSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/delete/DeleteFileNodesForProjectNameSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.delete;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class DeleteFileNodesForProjectNameSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/delete/DeleteURLIndexesForProjectNameSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.delete;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class DeleteURLIndexesForProjectNameSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddFileNodeBlobSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.insert;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class AddFileNodeBlobSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddFileNodeExternalSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.insert;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class AddFileNodeExternalSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddProjectSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.insert;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class AddProjectSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 18 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddSnapshotSQLUpdateTest.java

@@ -0,0 +1,18 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.insert;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+public class AddSnapshotSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

+ 16 - 0
services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/insert/AddURLIndexSQLUpdateTest.java

@@ -0,0 +1,16 @@
+package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.insert;
+
+import org.junit.Test;
+
+public class AddURLIndexSQLUpdateTest {
+
+    @Test
+    public void testGetSQL() throws Exception {
+
+    }
+
+    @Test
+    public void testAddParametersToStatement() throws Exception {
+
+    }
+}

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است