Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite assumes IDs are long #40

Open
hylkevds opened this issue Dec 28, 2017 · 1 comment
Open

Test suite assumes IDs are long #40

hylkevds opened this issue Dec 28, 2017 · 1 comment
Labels

Comments

@hylkevds
Copy link
Contributor

The test suite assumes IDs are Long (or int) and fails on implementations that use Strings as IDs, such as UUIDs.

org.json.JSONException: JSONObject["@iot.id"] is not a number.
	at org.json.JSONObject.getDouble(JSONObject.java:543)
	at org.json.JSONObject.getLong(JSONObject.java:612)
	at org.opengis.cite.sta10.sensingCore.Capability1Tests.readRelatedEntity(Capability1Tests.java:268)

I'll probably follow up with a pull request fixing the issue soon.

@hylkevds
Copy link
Contributor Author

I've updated PR #32 to include the fixes.
I've also updated #28 (MultiDatastream tests), #27 (DataArray tests) and #26 (Geospatial tests)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants