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:
Erika Savell
2017-04-30 20:55:40 +12:00
parent bbd282bd9b
commit 067beed1e3
3 changed files with 205 additions and 184 deletions
@@ -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