Attempted to write test for calls to MockOutput
-Struggling because we use animation timers to run the race, and these don't seem to work from a JUnit context #story[778]
This commit is contained in:
@@ -36,13 +36,8 @@ public class MockOutput implements Runnable
|
||||
private int raceStatusSequenceNumber = 1;
|
||||
|
||||
public MockOutput() throws IOException {
|
||||
//start Time
|
||||
|
||||
|
||||
lastHeartbeatTime = System.currentTimeMillis();
|
||||
serverSocket = new ServerSocket(5003);
|
||||
|
||||
|
||||
}
|
||||
/**
|
||||
* calculates the time since last heartbeat
|
||||
|
||||
Reference in New Issue
Block a user