Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Jun 18, 2024
1 parent ca0d0fa commit e76503f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 6 additions & 2 deletions src/app/tests/suites/TestCASERecovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ tests:
command: "readAttribute"
attribute: "DataModelRevision"
response:
value: 17
constraints:
type: int16u
minValue: 17

- label: "Reboot the server"
cluster: "SystemCommands"
Expand Down Expand Up @@ -72,4 +74,6 @@ tests:
command: "readAttribute"
attribute: "DataModelRevision"
response:
value: 17
constraints:
type: int16u
minValue: 17
10 changes: 4 additions & 6 deletions src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,10 @@ tests:
command: "readAttribute"
attribute: "DataModelRevision"
response:
value: 17
value: 18
saveAs: DataModelRevisionValue
constraints:
type: int16u
minValue: 0
maxValue: 65534

- label: "Step 3: TH writes DataModelRevision as '0x1124' "
PICS: BINFO.S.A0000
Expand Down Expand Up @@ -746,17 +744,17 @@ tests:

- label:
"Step 62: SpecificationVersion value should in the inclusive range of
(0 to 4294967295) and the initial 7 bits are set to zero."
(0x01040000 to 0x01050000) and the lower 8 bits are set to zero."
runIf: "!IsExpectedValue"
PICS: BINFO.S.A0015
command: "readAttribute"
attribute: "SpecificationVersion"
response:
value: SpecificationVersionValue
constraints:
minValue: 0
minValue: 0x0104000000
maxValue: 4294967295
hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40]
hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80]

- label:
"Step 63: TH sends Write request message to DUT to change the value of
Expand Down

0 comments on commit e76503f

Please sign in to comment.