Mercurial > lada > lada-server
annotate src/test/resources/messprogrammquery.json @ 832:59c51da59b30
Refactored test environment.
Land tests are using arquillian persistence extension (built on DBUnit).
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 18 Dec 2015 18:01:00 +0100 |
parents | 72c4510c3d4d |
children |
rev | line source |
---|---|
642
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 [ |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 { "id": "1", |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 "name": "Kein Filter", |
832
59c51da59b30
Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
642
diff
changeset
|
4 "type": "messprogramm", |
642
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 "description": "Abfrage der Messprogramme ohne Filter", |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 "sql": "select m.id as id, m.name as name, m.mst_id as mstId, m.umw_id as umwId from land.messprogramm m", |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 "result": [ |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 {"dataIndex": "name", "header": "Name", "width": 100}, |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 {"dataIndex": "mstId", "header": "MST", "width": 100}, |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100} |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 ], |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 "filters": [ |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 ] |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 } |
72c4510c3d4d
Added resources for filter queries to test env.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 ] |