-
Notifications
You must be signed in to change notification settings - Fork 48
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 Test Suites #810
Open
jonathan-r-thorpe
wants to merge
191
commits into
master
Choose a base branch
from
is-12
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
IS-12 Test Suites #810
Changes from 66 commits
Commits
Show all changes
191 commits
Select commit
Hold shift + click to select a range
ec40a1d
[IS-12] Initial Commit for IS-12 Test Suite (#800)
jonathan-r-thorpe 419ef85
[IS-12] Check Root Block and ClassManager (#814)
jonathan-r-thorpe c033475
[IS-12] Add auto tests for validating MS-05 standard class and dataty…
jonathan-r-thorpe dadf52b
Merge pull request #812 from AMWA-TV/zeroconf-marmoset
garethsb e36e6cc
[IS 12] Add Get/Set/Add/Remove/Find methods (#822)
jonathan-r-thorpe f841bb7
[IS-12] Specify explicit URL path for WebSocket endpoint (#827)
jonathan-r-thorpe f8c63b6
Check response from Find methods is an array
jonathan-r-thorpe c28ee82
Handle errors where control classes are not advertised by Class Manager
jonathan-r-thorpe d22005d
Fixed detection of authority keys in non-standard classes
jonathan-r-thorpe 8073aa2
Handle missing device model properties
jonathan-r-thorpe 2bbd542
Defend against missing properties or datatype definitions
jonathan-r-thorpe fa810fa
Improved error handling,
jonathan-r-thorpe 34678c8
Bump Node 12.x to Node 16.x
garethsb db8c8cf
python-zeroconf 0.75.0 strict=False for _nmos-registration._tcp
garethsb 6cb8f7c
Python 3.6 (and 3.7!) is End-Of-Life, and so is Node.js 14.x
garethsb b3008ad
Pass IP address of API under test to testssl.sh
garethsb 353e746
Add MOCK_SERVICES_WARM_UP_DELAY
garethsb 23110f1
Delay running tests until after MOCK_SERVICES_WARM_UP_DELAY
garethsb ab07908
Tweak message
garethsb 049d674
Fixed send_command function as per suggestion from @alabou
jonathan-r-thorpe b165316
Add config option to bypass IS12 interactive testing
jonathan-r-thorpe 19f71a8
Add constraints classes
jonathan-r-thorpe b73cd22
added xeger library
jonathan-r-thorpe ddc17d7
Add IS1202 test suite
jonathan-r-thorpe b081bb0
Add primitives to datatype models
jonathan-r-thorpe aa6faa9
Enhance test_35 (subscription and notification mechanism test) to all…
lo-simon d862805
Tweaked test_35
jonathan-r-thorpe 6dd111d
Pass **kwargs to ControllerTest
jonathan-r-thorpe 19d5b86
Pass **kwargs to ControllerTest
jonathan-r-thorpe e581283
Test sequences; remove non UTF-8 character from comment
jonathan-r-thorpe ce8afc0
Added constrained sequence tests
jonathan-r-thorpe a0937e1
Additional sequence checks
jonathan-r-thorpe 7f84e40
Add runtime constraints to device model. Fix handling of primitive ty…
jonathan-r-thorpe a7af313
Added property and datatype constraints checking
jonathan-r-thorpe fe032c0
Removed disabled tests
jonathan-r-thorpe 995e292
make datatype_schemas an object property
jonathan-r-thorpe cedacb8
Check for default value sequences when validating class descriptors
jonathan-r-thorpe 1bb41bd
Flake8 formatting
jonathan-r-thorpe 8409b8e
Cache class_manager. Simplify constraint checking.
jonathan-r-thorpe e0c6d7f
Merge remote-tracking branch 'nmos-testing-amwa/is-12' into is-12-inv…
jonathan-r-thorpe 30d8059
Fix Block object construction. Fix Test_02
jonathan-r-thorpe 72d070b
add missing primitive descriptor path
jonathan-r-thorpe 9a0f6bd
reorder specs in NMOS Testing interface
jonathan-r-thorpe c5d43f7
Fix constraint violation error message
jonathan-r-thorpe 83afc3b
Disable Testing Facade host and port if not interactively testing
jonathan-r-thorpe 96aaaa9
Flake8 formatting
jonathan-r-thorpe c8caa23
Fix constraint violation error message
jonathan-r-thorpe 049d62a
Refactor property testing
jonathan-r-thorpe 5f2cb63
Handle property and method deprecated status codes
jonathan-r-thorpe 7c93b49
Check deprecated properties
jonathan-r-thorpe 12f556b
Report unchecked device model in tests
jonathan-r-thorpe 738021f
Renumbered tests
jonathan-r-thorpe ef33d0f
updated spec URLs in comments
jonathan-r-thorpe 23b3512
Handle property and method deprecated status codes
jonathan-r-thorpe 0841000
Check deprecated properties
jonathan-r-thorpe 63bafa7
Report unchecked device model in tests
jonathan-r-thorpe e673449
Renumbered tests
jonathan-r-thorpe dc2d30a
updated spec URLs in comments
jonathan-r-thorpe 8234809
Merge remote-tracking branch 'origin/is-12-invasive' into is-12
jonathan-r-thorpe 088b22e
Updated to conform merged branch
jonathan-r-thorpe af8d55e
Guard against missing class properties
jonathan-r-thorpe 3640690
Add annotation to check properties test
jonathan-r-thorpe b53b562
Better error reporting for test_22 and test_23
jonathan-r-thorpe d5348e0
formatting
jonathan-r-thorpe 3fa3fed
Fix spelling mistake in interactive testing config
jonathan-r-thorpe b1c91f4
Fixed Blocks with no members being set to None
jonathan-r-thorpe 09f2d39
Fixed config spelling error
jonathan-r-thorpe b5205ac
Rename _execute_command to execute_command
jonathan-r-thorpe 35cde03
Test discovered methods in Device Model
jonathan-r-thorpe fd8c9d3
Only test non-standard methods.
jonathan-r-thorpe 95fe9e5
Moved some functions to IS12Utils
jonathan-r-thorpe 245e3c6
Added more error reporting
jonathan-r-thorpe 3483863
Guard against ControllerTest being run in non-interactive mode
jonathan-r-thorpe 5a15d84
Added check constraints hierarchy test
jonathan-r-thorpe 3260af4
Fixed do_check_property_test
jonathan-r-thorpe 98b0a64
Add check read only properties and sequences
jonathan-r-thorpe 3fad9a7
Made sequence tests tolerant to empty or null sequences
jonathan-r-thorpe a5350cd
Typo and formatting
jonathan-r-thorpe 5ba312d
Initial add of IS-14-01 test suite
jonathan-r-thorpe af0c67a
Flake8 formatting
jonathan-r-thorpe 7405325
Added Node API to IS-14 (for testing control endpoint)
jonathan-r-thorpe 55eeb69
Initial refactoring
jonathan-r-thorpe 7bb6a5f
Added additional specs to IS-14-01 test suite definition
jonathan-r-thorpe a9ed819
Move common functions from IS12Utils to MS05Utils
jonathan-r-thorpe 03d411a
Delegate to MS0501Test for auto tests
jonathan-r-thorpe 2fb54b2
API key now required when loading resources
jonathan-r-thorpe 0062040
Delegate to MS0501Test for auto tests
jonathan-r-thorpe 84959a6
flake8 formatting
jonathan-r-thorpe 95a1eac
Move MS-05 tests into MS0501Test
jonathan-r-thorpe ee4888a
Fixed get_sequence_item
jonathan-r-thorpe 223b29d
Refactor IS-14 API utility functions
jonathan-r-thorpe 2dd9973
generalize get_control_class and get_datatype. Improve error handling.
jonathan-r-thorpe 089a2b0
Implement IS-14 http request helper functions
jonathan-r-thorpe dc9608a
Formatting
jonathan-r-thorpe 80dedb0
Moved error handling tests to MS0501Test
jonathan-r-thorpe 36cec82
Add invoke method utility function.
jonathan-r-thorpe 0e2f8f5
Do not cache spec_branch in construction
jonathan-r-thorpe ffc7ea0
Simplify utilities initialization
jonathan-r-thorpe 1599e8d
Add reset so that state is reset on set_up_tests
jonathan-r-thorpe d5b5851
Initiailize IS-12 websocket on set_up_tests so failure is reported on…
jonathan-r-thorpe ddb1e7f
make base class generic
jonathan-r-thorpe ee57347
Updated comments
jonathan-r-thorpe 9813fba
Changed " embedd3ed in f-strings to '
jonathan-r-thorpe e9aa570
Changed SET to PUT
jonathan-r-thorpe c3d58d9
Changed " embedded in f-strings to '
jonathan-r-thorpe 37301ea
Fix IS-14 utility functions
jonathan-r-thorpe bad7453
Add missing sequence methods
jonathan-r-thorpe f9aa23a
Add role_path to get_sequence_length call
jonathan-r-thorpe 5eda47f
Add device-configuration feature set to feature set tests
jonathan-r-thorpe e228800
Add additional validation of class descriptors
jonathan-r-thorpe 80bcca4
Add is_block helper.
jonathan-r-thorpe 013849d
Add initial IS-14 tests
jonathan-r-thorpe b32a401
Improve error reporting
jonathan-r-thorpe d96d424
Fix linting errors
jonathan-r-thorpe d276ec4
Add testing of enum ans struct sequences
jonathan-r-thorpe 91cf7a5
Moved _get_datatyoe_schema into MS05Utils
jonathan-r-thorpe 884d205
Make TestMetadata an inner class
jonathan-r-thorpe d9142a2
Use TestMetadata inner class. Remove unneeded data members.
jonathan-r-thorpe 8beaa9a
Added NcDescriptor and NcPropertyDescriptor classes
jonathan-r-thorpe 3e336bf
Refactor to use NcPropertyDescriptor class
jonathan-r-thorpe 824678a
Refactored NcPropertyId and NcTouchpoint types
jonathan-r-thorpe dd33d4c
Refactor dictionaries into classes
jonathan-r-thorpe a5d9ebc
Update formatting of strings
jonathan-r-thorpe 44b2724
Consistent quotes
jonathan-r-thorpe 958d962
Renamed test_data directory from IS1201 to MS05
jonathan-r-thorpe 9673baa
Refactored names of functions, improved consistency of strings
jonathan-r-thorpe 798dcad
Create NcFieldDescriptor, NcParameterDescriptor and NcMethodDescripto…
jonathan-r-thorpe 19008fc
Introduced constraint domain classes. Refactored test logic.
jonathan-r-thorpe 5983e67
Handle 'any' datatype in method descriptors
jonathan-r-thorpe d94de38
Consistent formatting of strings. Refactor to use domain classes
jonathan-r-thorpe 29310f8
Utility functions to format class ids and role paths. Create NcMethos…
jonathan-r-thorpe f5a5e42
Remove context parameter and use role_path instead
jonathan-r-thorpe 34c312b
Remove MS-05-02 error handling from IS12Utils
jonathan-r-thorpe b36a657
Add NcMethodResult types
jonathan-r-thorpe ac99d1b
Remove redundant imports
jonathan-r-thorpe 1184d46
Formatting
jonathan-r-thorpe 4acb74e
Handle MS-05-02 errors
jonathan-r-thorpe dad1335
get_property returns NcMethodResult object
jonathan-r-thorpe 12c6f3a
set_property returns NcMethodResult
jonathan-r-thorpe bd4099c
invoke_method returns NcMethodResult
jonathan-r-thorpe ebd79bc
get_sequence_item returns NcMethodResult
jonathan-r-thorpe cc3857a
get_sequence_length returns NcMethodResult
jonathan-r-thorpe 3b80b6f
set_sequence_item returns NcMethodResult
jonathan-r-thorpe 9dcd93d
add_sequence_item returns NcMethodResultId
jonathan-r-thorpe 9424fc3
remove_sequence_item returns NcMethodResult
jonathan-r-thorpe e66fa76
get_member_descriptor returns NcMethodResult
jonathan-r-thorpe f297309
find_members_by_path returns NcMethodResult
jonathan-r-thorpe 8ae7779
find_members_by_role returns NcMethodResult
jonathan-r-thorpe d061f4f
find_members_by_class_id returns NcMethodResult
jonathan-r-thorpe 8dbff44
get_control_class returns NcMethodResult
jonathan-r-thorpe ff03fd3
get_datatype returns NcMethodResult
jonathan-r-thorpe 33f499c
Use NcPropertyId and NcMethodId instead of raw dict
jonathan-r-thorpe 9455fd1
Implement IS12Notification class
jonathan-r-thorpe 82ebd13
Implement NcPropertyChangedEventData
jonathan-r-thorpe ec3c2a1
Implement IS12CommandResponse class
jonathan-r-thorpe c5b5d31
Check subscription response
jonathan-r-thorpe e397fde
Refactor checking of Block members
jonathan-r-thorpe edaa948
Formatting
jonathan-r-thorpe 411d9c4
Implement IS12Error class. Formatting
jonathan-r-thorpe 80ed30f
Refine IS14Utils error handling
jonathan-r-thorpe 9148e63
Fix method invocation JSON
jonathan-r-thorpe df3bf37
Simplify property constraints checking
jonathan-r-thorpe d989b4b
Fix dicts embedded in f-strings
jonathan-r-thorpe 0a0ab71
Add spec links to test failures
jonathan-r-thorpe f74eb31
Fix dicts embedded in f-strings
jonathan-r-thorpe 2bac92d
Fix embedded code strings in f-strings
jonathan-r-thorpe e391efa
Fix embedded code strings in f-strings
jonathan-r-thorpe 916336a
Format error messages
jonathan-r-thorpe f1261d1
Refactored constraints testing
jonathan-r-thorpe 05f24f2
Improve notifications handling
alabou 6777734
Flake8 formatting
jonathan-r-thorpe 9d1d3b6
Rename context to error_msg_base
jonathan-r-thorpe ea7a5fa
consistent format of error messages
jonathan-r-thorpe 592b4f6
Better handling of IS-12 errors
jonathan-r-thorpe 2cbb4c0
Add robustness for missing classes and datatype definitions
jonathan-r-thorpe dbdc5df
Consistent formatting of error messages
jonathan-r-thorpe e53fa8e
Improve constraints testing
jonathan-r-thorpe 5da7575
Add NcEventDescriptor
jonathan-r-thorpe 6024577
Validate parameter constraints. Check for illegal non-standard datatypes
jonathan-r-thorpe 0322fb7
Minor bug fixes
jonathan-r-thorpe 2d49bfa
Merge branch 'master' into is-12
jonathan-r-thorpe a987151
Update comments
jonathan-r-thorpe becf193
Clearly indicate private helper functions
jonathan-r-thorpe edb91e4
Simplify constraints checking tests
jonathan-r-thorpe d140e05
Clearly indicate private helper functions
jonathan-r-thorpe 88ebc67
Improve error message
jonathan-r-thorpe 3d85279
Allow calling test to explicitly set test method name reported in Tes…
jonathan-r-thorpe 3e6c263
Fix interaction with Testing Facade
jonathan-r-thorpe 1c6ee65
Format error message
jonathan-r-thorpe 089a33e
Remove IS-14 test suites
jonathan-r-thorpe d1403e2
Improve descriptor validation error reporting
jonathan-r-thorpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.