commit | 5d06cf275269deeb87ca7c53f71cf7a7f571ae39 | [log] [tgz] |
---|---|---|
author | Christophe Munilla <cmunilla@cmssi.fr> | Fri Aug 06 00:43:31 2021 +0200 |
committer | Christophe Munilla <cmunilla@cmssi.fr> | Fri Aug 06 00:43:31 2021 +0200 |
tree | a6cac28b755b11f3cf3256a5c42fcdf123a7f665 | |
parent | 8a807e1105c7bd2d8d0b45bcccc140de680df73d [diff] |
Update DESCRIBE RestAccess WS test
diff --git a/platform/northbound/rest-access/src/test/java/org/eclipse/sensinact/gateway/nthbnd/rest/TestRestGETAccess.java b/platform/northbound/rest-access/src/test/java/org/eclipse/sensinact/gateway/nthbnd/rest/TestRestGETAccess.java index 7bed5f8..ba2a1d9 100644 --- a/platform/northbound/rest-access/src/test/java/org/eclipse/sensinact/gateway/nthbnd/rest/TestRestGETAccess.java +++ b/platform/northbound/rest-access/src/test/java/org/eclipse/sensinact/gateway/nthbnd/rest/TestRestGETAccess.java
@@ -126,12 +126,9 @@ @Test public void testWsAccessMethodRawDescription() throws Exception { - String simulated; WsServiceTestClient client = new WsServiceTestClient(); - new Thread(client).start(); - simulated = this.synchronizedRequest(client, WS_ROOTURL + "/providers?rawDescribe=true", null); - + String simulated = this.synchronizedRequest(client, WS_ROOTURL + "/providers?rawDescribe=true", null); System.out.println(simulated); JSONArray response = new JSONArray("[\"slider\",\"light\"]"); JSONAssert.assertEquals(response, new JSONArray(simulated), false);