Skip to content

Commit e76503f

Browse files
Fix more tests
1 parent ca0d0fa commit e76503f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/app/tests/suites/TestCASERecovery.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ tests:
3333
command: "readAttribute"
3434
attribute: "DataModelRevision"
3535
response:
36-
value: 17
36+
constraints:
37+
type: int16u
38+
minValue: 17
3739

3840
- label: "Reboot the server"
3941
cluster: "SystemCommands"
@@ -72,4 +74,6 @@ tests:
7274
command: "readAttribute"
7375
attribute: "DataModelRevision"
7476
response:
75-
value: 17
77+
constraints:
78+
type: int16u
79+
minValue: 17

src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml

+4-6
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,10 @@ tests:
9090
command: "readAttribute"
9191
attribute: "DataModelRevision"
9292
response:
93-
value: 17
93+
value: 18
9494
saveAs: DataModelRevisionValue
9595
constraints:
9696
type: int16u
97-
minValue: 0
98-
maxValue: 65534
9997

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

747745
- label:
748746
"Step 62: SpecificationVersion value should in the inclusive range of
749-
(0 to 4294967295) and the initial 7 bits are set to zero."
747+
(0x01040000 to 0x01050000) and the lower 8 bits are set to zero."
750748
runIf: "!IsExpectedValue"
751749
PICS: BINFO.S.A0015
752750
command: "readAttribute"
753751
attribute: "SpecificationVersion"
754752
response:
755753
value: SpecificationVersionValue
756754
constraints:
757-
minValue: 0
755+
minValue: 0x0104000000
758756
maxValue: 4294967295
759-
hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40]
757+
hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80]
760758

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

0 commit comments

Comments
 (0)