opengeospatial / ets-sta10

Repository for the Executable Test Suite for OGC Sensor Things API
Other
6 stars 8 forks source link

* Added two checks to see if the server respects the json type for Ob… #15

Closed hylkevds closed 1 year ago

hylkevds commented 8 years ago

…servation/result (for numbers and strings).

Sting result values should stay Strings, Numeric result values should stay numeric, since the server changing the value type would force the client to do "manual" re-parsing of the values.

taniakhalafbeigi commented 8 years ago

This test is not part of conformance test suite as of Annex A in the specification of OGC SensorThings API.

taniakhalafbeigi commented 7 years ago

We wait for this test to be added to spec and then merge it.

hylkevds commented 7 years ago

I've added tests for the other reslut types (object, array, boolean) as well, and moved them to a separate class for easier maintenance.

Not sure if boolean, array and object result types need to be tested though, that might need some discussion first. But I had to write the tests any way, to test our implementation. :)