mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Removed slow tests.
This commit is contained in:
parent
50f01e1cf5
commit
86d5843ff4
3 changed files with 30 additions and 33 deletions
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue