diff --git a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java index fe7bc319aa..a168eb6f73 100644 --- a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java +++ b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/base/RequestTest.java @@ -1,9 +1,6 @@ package uk.ac.ic.wlgitbridge.writelatex.api.request.base; import org.junit.Test; -import uk.ac.ic.wlgitbridge.writelatex.api.request.getdoc.SnapshotGetDocRequest; -import uk.ac.ic.wlgitbridge.writelatex.api.request.getforversion.SnapshotGetForVersionRequest; -import uk.ac.ic.wlgitbridge.writelatex.api.request.getsavedvers.SnapshotGetSavedVersRequest; /** * Created by Winston on 06/11/14. @@ -12,22 +9,22 @@ public class RequestTest { @Test public void nothingToTest() { - String projectName = "1826rqgsdb"; - Request getDoc = new SnapshotGetDocRequest(projectName); - Request getSavedVers = new SnapshotGetSavedVersRequest(projectName); - Request getForVersion = new SnapshotGetForVersionRequest(projectName, 76); - - getDoc.request(); - getSavedVers.request(); - getForVersion.request(); - - try { - System.out.println(getDoc.getResult()); - System.out.println(getSavedVers.getResult()); - System.out.println(getForVersion.getResult()); - } catch (Throwable e) { - e.printStackTrace(); - } +// String projectName = "1826rqgsdb"; +// Request getDoc = new SnapshotGetDocRequest(projectName); +// Request getSavedVers = new SnapshotGetSavedVersRequest(projectName); +// Request getForVersion = new SnapshotGetForVersionRequest(projectName, 76); +// +// getDoc.request(); +// getSavedVers.request(); +// getForVersion.request(); +// +// try { +// System.out.println(getDoc.getResult()); +// System.out.println(getSavedVers.getResult()); +// System.out.println(getForVersion.getResult()); +// } catch (Throwable e) { +// e.printStackTrace(); +// } } } diff --git a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java index 77403f1454..04cc556a4e 100644 --- a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java +++ b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getforversion/SnapshotGetForVersionRequestTest.java @@ -9,13 +9,13 @@ public class SnapshotGetForVersionRequestTest { @Test public void nothingToTest() { - SnapshotGetForVersionRequest request = new SnapshotGetForVersionRequest("1826rqgsdb", 76); - request.request(); - try { - SnapshotGetForVersionResult result = request.getResult(); - } catch (Throwable throwable) { - throwable.printStackTrace(); - } +// SnapshotGetForVersionRequest request = new SnapshotGetForVersionRequest("1826rqgsdb", 76); +// request.request(); +// try { +// SnapshotGetForVersionResult result = request.getResult(); +// } catch (Throwable throwable) { +// throwable.printStackTrace(); +// } } diff --git a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java index c797ffbb61..25d86f62d2 100644 --- a/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java +++ b/services/git-bridge/test/uk/ac/ic/wlgitbridge/writelatex/api/request/getsavedvers/SnapshotGetSavedVersRequestTest.java @@ -9,13 +9,13 @@ public class SnapshotGetSavedVersRequestTest { @Test public void nothingToTest() { - SnapshotGetSavedVersRequest request = new SnapshotGetSavedVersRequest("1826rqgsdb"); - request.request(); - try { - System.out.println(request.getResult()); - } catch (Throwable throwable) { - throwable.printStackTrace(); - } +// SnapshotGetSavedVersRequest request = new SnapshotGetSavedVersRequest("1826rqgsdb"); +// request.request(); +// try { +// System.out.println(request.getResult()); +// } catch (Throwable throwable) { +// throwable.printStackTrace(); +// } } }