Add JavaDoc, minor refactor

This commit is contained in:
Winston Li
2016-10-09 21:13:11 +01:00
parent c23c11973a
commit 25a988daa3
83 changed files with 1449 additions and 480 deletions

View File

@@ -323,11 +323,11 @@ public class WLGitBridgeIntegrationTest {
public void canPushFilesSuccessfully() throws IOException, GitAPIException, InterruptedException {
MockSnapshotServer server = new MockSnapshotServer(3866, getResource("/canPushFilesSuccessfully").toFile());
server.start();
server.setState(states.get("canPushFilesSuccessfully").get("state"));
GitBridgeApp wlgb = new GitBridgeApp(new String[] {
makeConfigFile(33866, 3866)
});
wlgb.run();
server.setState(states.get("canPushFilesSuccessfully").get("state"));
File dir = folder.newFolder();
File testprojDir = cloneRepository("testproj", 33866, dir);
assertTrue(FileUtil.gitDirectoriesAreEqual(getResource("/canPushFilesSuccessfully/state/testproj"), testprojDir.toPath()));