Skip to content

Commit

Permalink
Updated JSON tests (#623)
Browse files Browse the repository at this point in the history
* Updated test versions to 8.3.0 and clarified conditions for TAG_INVALID

* Merged NODE_NAME_EMPTY into TAG_INVALID

* Corrected additional NODE_NAME_EMPTY_LINKS

* Lower the schema version on two tests back

* Made hed_error_codes.json only contain codes with json files

* Add hedID validation tests

* Updated some of invalid characters

* Updated the JSON tests to have all fields

* Updated tests to include warning and alt_code in non-schema tests

* Updated the tests with additional alt-codes

* Definition may have no inner group

* Minor update in appendix B errors

* Minor changes to tests

* Corrected a typo in the specification

* Correction to curly brace test

* Modified the test for definition with no group

* Updated consolidated json tests (#622)

* Updated tests and descriptions of duration handling (#620)

* Updated test versions to 8.3.0 and clarified conditions for TAG_INVALID

* Merged NODE_NAME_EMPTY into TAG_INVALID

* Corrected additional NODE_NAME_EMPTY_LINKS

* Lower the schema version on two tests back

* Made hed_error_codes.json only contain codes with json files

* Add hedID validation tests

* Updated some of invalid characters

* Updated the JSON tests to have all fields

* Updated tests to include warning and alt_code in non-schema tests

* Updated the tests with additional alt-codes

* Definition may have no inner group

* Minor update in appendix B errors

* Minor changes to tests

* Corrected a typo in the specification

* Correction to curly brace test

* Modified the test for definition with no group

---------

Co-authored-by: IanCa <ianrcallanan@gmail.com>

* Updated spec tests and description of Duration handling (#621)

* Updated test versions to 8.3.0 and clarified conditions for TAG_INVALID

* Merged NODE_NAME_EMPTY into TAG_INVALID

* Corrected additional NODE_NAME_EMPTY_LINKS

* Lower the schema version on two tests back

* Made hed_error_codes.json only contain codes with json files

* Add hedID validation tests

* Updated some of invalid characters

* Updated the JSON tests to have all fields

* Updated tests to include warning and alt_code in non-schema tests

* Updated the tests with additional alt-codes

* Definition may have no inner group

* Minor update in appendix B errors

* Minor changes to tests

* Corrected a typo in the specification

* Correction to curly brace test

* Modified the test for definition with no group

---------

Co-authored-by: IanCa <ianrcallanan@gmail.com>

* Reran consolidation tests

---------

Co-authored-by: IanCa <ianrcallanan@gmail.com>

---------

Co-authored-by: IanCa <ianrcallanan@gmail.com>
  • Loading branch information
VisLab and IanCa authored Sep 13, 2024
1 parent 6cddf1b commit 82bbcbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/json_tests/DEFINITION_INVALID.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
{
"error_code": "DEFINITION_INVALID",
"alt_codes": ["TAG_EMPTY"],
g "description": "A definition's enclosing tag group has an empty inner group (i.e., the definition's contents).",
"name": "definition-invalid-empty-inner-group",
"description": "A definition's enclosing tag group has an empty inner group (i.e., the definition's contents).",
"warning": false,
"schema": "8.3.0",
"definitions": ["(Definition/Acc/#, (Acceleration/#, Red))", "(Definition/MyColor, (Label/Pie))"],
Expand Down

0 comments on commit 82bbcbb

Please sign in to comment.