From c631dee52c21df09816ece63d6e6816a408da2f5 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sat, 11 Jan 2020 21:02:34 +0100 Subject: Fix things --- .../pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java') diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java index 6330648..a5ecddd 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java @@ -58,7 +58,7 @@ public class NewApiImplementationTests { RequestStateMessage requestMessage = (RequestStateMessage) message; ZMI root = new ZMI(); - StateMessage responseMessage = new StateMessage("", ModuleType.RMI, 0, 0, root, null); + StateMessage responseMessage = new StateMessage("", ModuleType.RMI, 0, 0, root, null, null); requestMessage.getFuture().complete(responseMessage); apiThread.join(100); @@ -88,7 +88,7 @@ public class NewApiImplementationTests { ZMI zmi = new ZMI(); zmi.getAttributes().add("timestamp", new ValueTime(42l)); - StateMessage response = new StateMessage("", ModuleType.RMI, 0, 0, zmi, new HashMap()); + StateMessage response = new StateMessage("", ModuleType.RMI, 0, 0, zmi, new HashMap(), null); requestMessage.getFuture().complete(response); apiThread.join(100); @@ -122,7 +122,7 @@ public class NewApiImplementationTests { zmi.addSon(son); son.getAttributes().add("name", new ValueString("son")); son.getAttributes().add("timestamp", new ValueTime(43l)); - StateMessage response = new StateMessage("", ModuleType.RMI, 0, 0, zmi, new HashMap()); + StateMessage response = new StateMessage("", ModuleType.RMI, 0, 0, zmi, new HashMap(), null); requestMessage.getFuture().complete(response); apiThread.join(100); -- cgit v1.2.3