Mercurial > lada > lada-server
changeset 520:688d91792c63
Added tests for koordinatenart services.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 19 Feb 2015 14:21:28 +0100 |
parents | 9ed02cacd020 |
children | 9046b3986e5a |
files | src/test/java/de/intevation/lada/LadaStammTest.java src/test/java/de/intevation/lada/test/stamm/Stammdaten.java |
diffstat | 2 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/test/java/de/intevation/lada/LadaStammTest.java Thu Feb 19 14:15:14 2015 +0100 +++ b/src/test/java/de/intevation/lada/LadaStammTest.java Thu Feb 19 14:21:28 2015 +0100 @@ -185,6 +185,18 @@ @Test @RunAsClient + public final void testKoordinatenartAll(@ArquillianResource URL baseUrl) { + stammdatenTest.getAll(baseUrl, "koordinatenart", testProtocol); + } + + @Test + @RunAsClient + public final void testKoordinatenartById(@ArquillianResource URL baseUrl) { + stammdatenTest.getById(baseUrl, "koordinatenart", 2, testProtocol); + } + + @Test + @RunAsClient public final void testLocation1CreateService(@ArquillianResource URL baseUrl) throws Exception { System.out.print(".");
--- a/src/test/java/de/intevation/lada/test/stamm/Stammdaten.java Thu Feb 19 14:15:14 2015 +0100 +++ b/src/test/java/de/intevation/lada/test/stamm/Stammdaten.java Thu Feb 19 14:21:28 2015 +0100 @@ -65,6 +65,9 @@ "\"nutsCode\":\"DE731\",\"unscharf\":\"0\",\"netzbetreiberId\":" + "null,\"staatId\":0,\"verwaltungseinheitId\":\"06611000\"," + "\"otyp\":\"Z\",\"koordinatenartId\":5}"); + compare.put("koordinatenart", + "{\"id\":2,\"idfGeoKey\":\"D\",\"koordinatenart\":" + + "\"geografisch-gradiell (WGS84)\"}"); } /**