diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 13:43:03 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-24 13:49:55 +0200 |
commit | 76c9a88c6bdd21cf1449aa362e7b6fea8d343e52 (patch) | |
tree | f698b8407e5b526e9947b047db8d0dfd4fe0ba37 /same/src/test/java/com | |
parent | 8c0633f4d9055c6710b170e40bb006ed8fc3a0c0 (diff) |
Remove unused code.
Diffstat (limited to 'same/src/test/java/com')
-rw-r--r-- | same/src/test/java/com/orbekk/same/ClientTest.java | 2 | ||||
-rw-r--r-- | same/src/test/java/com/orbekk/same/FunctionalTest.java | 2 | ||||
-rw-r--r-- | same/src/test/java/com/orbekk/same/MasterTest.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/same/src/test/java/com/orbekk/same/ClientTest.java b/same/src/test/java/com/orbekk/same/ClientTest.java index 1781ef3..4dbc408 100644 --- a/same/src/test/java/com/orbekk/same/ClientTest.java +++ b/same/src/test/java/com/orbekk/same/ClientTest.java @@ -18,7 +18,7 @@ public class ClientTest { private State state = new State("ClientNetwork"); private TestConnectionManager connections = new TestConnectionManager(); private Client client = new Client(state, connections, - "http://client/ClientService.json", "clientLocation", null); + "http://client/ClientService.json", "clientLocation"); private ClientService clientS = client.getService(); private MasterService mockMaster = mock(MasterService.class); diff --git a/same/src/test/java/com/orbekk/same/FunctionalTest.java b/same/src/test/java/com/orbekk/same/FunctionalTest.java index b0df4dc..da1faca 100644 --- a/same/src/test/java/com/orbekk/same/FunctionalTest.java +++ b/same/src/test/java/com/orbekk/same/FunctionalTest.java @@ -48,7 +48,7 @@ public class FunctionalTest { Client newClient(String clientName, String clientUrl, String location) { Client client = new Client(new State(clientName), connections, - clientUrl, location, broadcaster); + clientUrl, location); connections.clientMap.put(clientUrl, client.getService()); connections.clientMap0.put(location, client.getNewService()); clients.add(client); diff --git a/same/src/test/java/com/orbekk/same/MasterTest.java b/same/src/test/java/com/orbekk/same/MasterTest.java index f244d1b..b3cfb94 100644 --- a/same/src/test/java/com/orbekk/same/MasterTest.java +++ b/same/src/test/java/com/orbekk/same/MasterTest.java @@ -50,7 +50,7 @@ public class MasterTest { public void clientJoin() throws Exception { Client client = new Client( new State("ClientNetwork"), connections, - "http://client/ClientService.json", "clientLocation", null); + "http://client/ClientService.json", "clientLocation"); connections.clientMap0.put("clientLocation", client.getNewService()); client.joinNetwork(master.getMasterInfo()); master.performWork(); |