|
|
|
@ -1,6 +1,7 @@
|
|
|
|
package seng302;
|
|
|
|
package seng302;
|
|
|
|
|
|
|
|
|
|
|
|
import org.junit.Before;
|
|
|
|
import org.junit.Before;
|
|
|
|
|
|
|
|
import org.junit.Ignore;
|
|
|
|
import org.junit.Test;
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
|
|
|
|
import static org.testng.Assert.*;
|
|
|
|
import static org.testng.Assert.*;
|
|
|
|
@ -18,7 +19,11 @@ public class RaceConnectionTest {
|
|
|
|
offlineConnection = new RaceConnection("localhost", 4942);
|
|
|
|
offlineConnection = new RaceConnection("localhost", 4942);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Host is not online for CI, ignore when committing.
|
|
|
|
|
|
|
|
*/
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
|
|
|
|
@Ignore
|
|
|
|
public void onlineConnectionStatusReady() {
|
|
|
|
public void onlineConnectionStatusReady() {
|
|
|
|
assertTrue(onlineConnection.check());
|
|
|
|
assertTrue(onlineConnection.check());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|