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

[IS-12] Add auto tests for validating MS-05 standard class and datatype definitions #819

Merged
merged 63 commits into from
Jul 18, 2023

Conversation

jonathan-r-thorpe
Copy link
Contributor

  • Overrides "auto" tests to dynamically check all standard classes and datatypes
  • Creates JSON schemas for each datatype on the fly from MS-05 descriptor models
  • Queries ClassManager for all classes and datatypes
  • Validates against JSON schema and MS-05 descriptor models

jonathan-r-thorpe and others added 30 commits April 25, 2023 14:11
Handle WebSocket urls in api definition
Use of compare_urls to test Control Protocol `href`
Use NMOSUtils.do_test_device_control
@jonathan-r-thorpe jonathan-r-thorpe marked this pull request as ready for review June 23, 2023 15:15
@jonathan-r-thorpe
Copy link
Contributor Author

Added tests for checking Node handles following errors:

  • Incorrect protocol version
  • Invalid command handle
  • Invalid command type
  • Invalid JSON
  • Invalid Oid
  • Invalid property identifier
  • Invalid method identifier
  • Read only error

@jonathan-r-thorpe jonathan-r-thorpe merged commit c033475 into AMWA-TV:is-12 Jul 18, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants