Search in sources :

Example 6 with ObservationDecoder

use of org.n52.svalbard.decode.json.ObservationDecoder in project arctic-sea by 52North.

the class TruthObservationDecodingTest method before.

@Before
public void before() throws DecodingException {
    this.decoder = new ObservationDecoder();
    this.observation = decoder.decodeJSON(json, true);
}
Also used : ObservationDecoder(org.n52.svalbard.decode.json.ObservationDecoder) Before(org.junit.Before)

Example 7 with ObservationDecoder

use of org.n52.svalbard.decode.json.ObservationDecoder in project arctic-sea by 52North.

the class CategoryObservationDecodingTest method before.

@Before
public void before() throws DecodingException {
    this.decoder = new ObservationDecoder();
    this.observation = decoder.decodeJSON(json, true);
}
Also used : ObservationDecoder(org.n52.svalbard.decode.json.ObservationDecoder) Before(org.junit.Before)

Example 8 with ObservationDecoder

use of org.n52.svalbard.decode.json.ObservationDecoder in project arctic-sea by 52North.

the class CountObservationDecodingTest method before.

@Before
public void before() throws DecodingException {
    this.decoder = new ObservationDecoder();
    this.observation = decoder.decodeJSON(json, true);
}
Also used : ObservationDecoder(org.n52.svalbard.decode.json.ObservationDecoder) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)8 ObservationDecoder (org.n52.svalbard.decode.json.ObservationDecoder)8 DecoderRepository (org.n52.svalbard.decode.DecoderRepository)2 InsertObservationRequestDecoder (org.n52.svalbard.decode.json.InsertObservationRequestDecoder)2 XmlOptions (org.apache.xmlbeans.XmlOptions)1 GmlDecoderv311 (org.n52.svalbard.decode.GmlDecoderv311)1 SensorMLDecoderV101 (org.n52.svalbard.decode.SensorMLDecoderV101)1 SweCommonDecoderV101 (org.n52.svalbard.decode.SweCommonDecoderV101)1 BatchRequestDecoder (org.n52.svalbard.decode.json.BatchRequestDecoder)1 FieldDecoder (org.n52.svalbard.decode.json.FieldDecoder)1 InsertResultRequestDecoder (org.n52.svalbard.decode.json.InsertResultRequestDecoder)1 InsertResultTemplateRequestDecoder (org.n52.svalbard.decode.json.InsertResultTemplateRequestDecoder)1 InsertSensorRequestDecoder (org.n52.svalbard.decode.json.InsertSensorRequestDecoder)1