m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java
diff options
context:
space:
mode:
authorMartin <marcin.j.chrzanowski@gmail.com>2020-01-11 21:22:59 +0100
committerGitHub <noreply@github.com>2020-01-11 21:22:59 +0100
commit100e3d23b47d9d772d64dd0c7e596cd20de218b9 (patch)
tree993075dc9df26b3e3206d9d4a075e0adb83e586d /src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java
parent9cf66b17165e3b4251dce84500e60f5ef090ba30 (diff)
parent0feb481f6dac0a7318b6d57f11574f2aaa658ef7 (diff)
Merge pull request #103 from m-chrzan/use-fallbacks
Fix things
Diffstat (limited to 'src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java')
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java6
1 files changed, 3 insertions, 3 deletions
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);