| 1234567891011121314151617181920212223242526272829303132 |
- package uk.ac.ic.wlgitbridge.application;
- import org.junit.Test;
- import java.io.IOException;
- public class ConfigTest {
- @Test
- public void isReadingConfigCorrectly() throws IOException {
- // Config config = new Config("/Users/Roxy/Code/java/writelatex-git-bridge/bin/config.json");
- // Assert.assertEquals(80, config.getPort());
- // Assert.assertEquals("/var/wlgb/git", config.getRootGitDirectory());
- // Assert.assertEquals("", config.getAPIKey());
- }
- @Test
- public void testGetPort() throws Exception {
- }
- @Test
- public void testGetRootGitDirectory() throws Exception {
- }
- @Test
- public void testGetAPIKey() throws Exception {
- }
- }
|