From 6a4ac32a2bb28fb0a5781d6756fe2be3ccc3a41c Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Fri, 3 Jan 2020 16:51:37 +0100 Subject: Cleanup --- .../cloudatlas/agent/NewApiImplementationTests.java | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/test/java/pl/edu/mimuw/cloudatlas') 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), "/"); - } - */ } -- cgit v1.2.3