annotate src/test/resources/datasets/dbUnit_messung.json @ 956:539eb174bf23

Avoid NPE if requested object does not exist.
author Tom Gottfried <tom@intevation.de>
date Wed, 25 May 2016 18:10:14 +0200
parents 59c51da59b30
children ea550e9a09a3
rev   line source
832
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 {
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 "land.messung": [{
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 "id": 1200,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 "probe_id": 1000,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 "nebenproben_nr": "T100",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 "mmt_id": "G1",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 "messdauer": 3600,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 "messzeitpunkt": "2012-05-06 14:00:00",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 "fertig": false,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 "letzte_aenderung": "2012-05-08 12:00:00",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 "geplant": true,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 "tree_modified": "2012-05-09 12:00:00"
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 }],
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 "land.messung_translation": [{
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 "id": 1200,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 "messungs_id": 1200,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 "messungs_id_alt": 453
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 }],
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 "land.status_protokoll": [{
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 "id": 1000,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 "erzeuger": "06010",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 "datum": "2012-05-08 11:00:00",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 "text": "Initialer Status",
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 "messungs_id": 1200,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 "status_stufe": 1,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 "status_wert": 0,
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27 "tree_modified": "2012-05-09 12:00:00"
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
28 }]
59c51da59b30 Refactored test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
29 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)