[
https://issues.apache.org/jira/browse/SHINDIG-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Boston updated SHINDIG-412:
-------------------------------
Attachment: SHINDIG-412.patch
This is a first pass at the set of validator classes, I will be testing this
further against real message to see if it provides a real mechanism to validate
the JSON.
> JSON validator to loading features and validating JSON messages against the
> JSON API
> ------------------------------------------------------------------------------------
>
> Key: SHINDIG-412
> URL: https://issues.apache.org/jira/browse/SHINDIG-412
> Project: Shindig
> Issue Type: Improvement
> Components: RESTful API (Java)
> Reporter: Ian Boston
> Attachments: SHINDIG-412.patch
>
>
> This patch adds the ability to load a feature.xml into a Javascript context
> and scope within the JVM, and then use that loaded Javascript context to
> inspect the JSON tree and evaluate parts of the feature. The aim being to be
> able to write generic Unit tests that can use the Javascript JSON API's to
> act as an 'in unit test' javascript context that will read the json messages
> as if they were inside the browser.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.