Skip to content

Commit

Permalink
Revert testdata changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MJJoyce committed Oct 26, 2021
1 parent 3abd4d9 commit 511fa7e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ait/core/test/testdata/val/testCmdValidator1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
units: none
type: MSB_U16
bytes: [0,1]

# Following command has same name as the first
- !Command
name: AIT_DUPLICATE_COMMAND
Expand Down
30 changes: 19 additions & 11 deletions ait/core/test/testdata/val/testSchemaLoad1.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Command Dictionary Schema",
"description": "Command Dictionary Schema",
"type": "object",
"properties": {
"name": {"type": "string"},
"opcode": {"type": "integer"},
"subsystem": {"type": "string"},
"desc": {"type": "string"},
},
}
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Command Dictionary Schema",
"description": "Command Dictionary Schema",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"opcode": {
"type": "integer"
},
"subsystem": {
"type": "string"
},
"desc": {
"type": "string"
}
}
}
2 changes: 1 addition & 1 deletion ait/core/test/testdata/val/testTlmValidator6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
fields:
- !Field
name: version
desc:
desc:
bytes: 0
type: U8
mask: 0xE0
Expand Down
2 changes: 1 addition & 1 deletion ait/core/test/testdata/val/testTlmValidator7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
- !Field
name: baz
bytes: [9,10]
type: MSB_U16
type: MSB_U16
1 change: 1 addition & 0 deletions ait/core/test/testdata/val/testValidCmd1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@
units: none
type: S16
bytes: [0,15]

0 comments on commit 511fa7e

Please sign in to comment.