ConfigTest.java 707 B

1234567891011121314151617181920212223242526272829303132
  1. package uk.ac.ic.wlgitbridge.application;
  2. import org.junit.Test;
  3. import java.io.IOException;
  4. public class ConfigTest {
  5. @Test
  6. public void isReadingConfigCorrectly() throws IOException {
  7. // Config config = new Config("/Users/Roxy/Code/java/writelatex-git-bridge/bin/config.json");
  8. // Assert.assertEquals(80, config.getPort());
  9. // Assert.assertEquals("/var/wlgb/git", config.getRootGitDirectory());
  10. // Assert.assertEquals("", config.getAPIKey());
  11. }
  12. @Test
  13. public void testGetPort() throws Exception {
  14. }
  15. @Test
  16. public void testGetRootGitDirectory() throws Exception {
  17. }
  18. @Test
  19. public void testGetAPIKey() throws Exception {
  20. }
  21. }