diff options
author | Martin <marcin.j.chrzanowski@gmail.com> | 2020-01-11 21:22:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-11 21:22:59 +0100 |
commit | 100e3d23b47d9d772d64dd0c7e596cd20de218b9 (patch) | |
tree | 993075dc9df26b3e3206d9d4a075e0adb83e586d /src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java | |
parent | 9cf66b17165e3b4251dce84500e60f5ef090ba30 (diff) | |
parent | 0feb481f6dac0a7318b6d57f11574f2aaa658ef7 (diff) |
Merge pull request #103 from m-chrzan/use-fallbacks
Fix things
Diffstat (limited to 'src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java')
-rw-r--r-- | src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java index 1e4fbda..a8d0ecb 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/modules/QurnikTest.java @@ -2,6 +2,7 @@ package pl.edu.mimuw.cloudatlas.agent.modules; import java.util.AbstractMap.SimpleImmutableEntry; import java.util.HashMap; +import java.util.HashSet; import java.util.Map; import java.util.Map.Entry; @@ -63,7 +64,7 @@ public class QurnikTest { new ValueTime(0l) ) ); - StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries); + StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries, new HashSet()); long timeBefore = System.currentTimeMillis(); qurnik.handleTyped(message); long timeAfter = System.currentTimeMillis(); @@ -168,7 +169,7 @@ public class QurnikTest { ZMI root = setupSampleHierarchy(); Map<Attribute, Entry<ValueQuery, ValueTime>> queries = setupSampleQueries(); - StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries); + StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries, new HashSet()); long timeBefore = System.currentTimeMillis(); qurnik.handleTyped(message); long timeAfter = System.currentTimeMillis(); @@ -224,7 +225,7 @@ public class QurnikTest { new ValueTime(44l) ) ); - StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries); + StateMessage message = new StateMessage("", ModuleType.QUERY, 0, 0, root, queries, new HashSet()); long timeBefore = System.currentTimeMillis(); qurnik.handleTyped(message); long timeAfter = System.currentTimeMillis(); |