From cafcc4242fe6b6bc72a65b1012527fb1c0ebb3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Wed, 25 Dec 2019 14:40:15 +0100 Subject: Add tests skeleton values --- .../pl/edu/mimuw/cloudatlas/client/ClientTest.java | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'src/test/java/pl') diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java index 750e2cb..13b9fd7 100644 --- a/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java +++ b/src/test/java/pl/edu/mimuw/cloudatlas/client/ClientTest.java @@ -56,15 +56,33 @@ public class ClientTest { @Test public void homeMessageCheck() throws Exception { - Thread.sleep(100); String response = this.restTemplate.getForObject("http://localhost:" + port + "/", String.class); assertThat(response, CoreMatchers.containsString("Welcome to CloudaAtlas client interface")); } @Test public void attributeValuesMessageCheck() throws Exception { - Thread.sleep(100); String response = this.restTemplate.getForObject("http://localhost:" + port + "/values", String.class); assertThat(response, CoreMatchers.containsString("Attribute values")); } + + @Test + public void queryInstallationCheck() throws Exception { + // TODO + } + + @Test + public void queryUninstallationCheck() throws Exception { + // TODO + } + + @Test + public void numericalRESTApiCheck() throws Exception { + // TODO + } + + @Test + public void allValuesRESTApiCheck() throws Exception { + // TODO + } } -- cgit v1.2.3