diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-01-03 16:51:37 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-01-03 16:51:37 +0100 |
commit | 6a4ac32a2bb28fb0a5781d6756fe2be3ccc3a41c (patch) | |
tree | 7be44823b24f8b4f498d7885bad4b60f1b59b333 /src/test/java | |
parent | 2b480eed536c61a5188bf671641971211269e949 (diff) |
Cleanup
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java | 20 |
1 files changed, 0 insertions, 20 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 6f6bd0f..6330648 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/NewApiImplementationTests.java @@ -195,24 +195,4 @@ public class NewApiImplementationTests { assertTrue(timeBefore <= timestamp); assertTrue(timestamp <= timeAfter); } - - /* - @Test - public void testSetAttributeValueAdd() throws Exception { - Value numProcesses = new ValueInt(42l); - api.setAttributeValue("/uw/khaki13", "an_attribute", numProcesses); - AttributesMap attributes = api.getZoneAttributeValues("/uw/khaki13"); - assertEquals(numProcesses, attributes.get("an_attribute")); - } - - @Test - public void testSetAttributeValueRunsQueries() throws Exception { - api.installQuery("&query", "SELECT sum(num_processes) AS num_processes"); - Value numProcesses = new ValueInt(42l); - api.setAttributeValue("/uw/khaki13", "num_processes", numProcesses); - assertAttributeInZmiEquals("num_processes", new ValueInt(297l), "/uw"); - assertAttributeInZmiEquals("num_processes", new ValueInt(437l), "/pjwstk"); - assertAttributeInZmiEquals("num_processes", new ValueInt(734l), "/"); - } - */ } |