Skip to content

Commit f499a14

Browse files
Fix more tests
1 parent e76503f commit f499a14

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

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

+3-33
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ tests:
8686
value: "y"
8787

8888
- label: "Step 2: TH reads DataModelRevision from the DUT."
89-
PICS: BINFO.S.A0000
9089
command: "readAttribute"
9190
attribute: "DataModelRevision"
9291
response:
@@ -96,7 +95,6 @@ tests:
9695
type: int16u
9796

9897
- label: "Step 3: TH writes DataModelRevision as '0x1124' "
99-
PICS: BINFO.S.A0000
10098
command: "writeAttribute"
10199
attribute: "DataModelRevision"
102100
arguments:
@@ -105,7 +103,6 @@ tests:
105103
error: UNSUPPORTED_WRITE
106104

107105
- label: "Step 4: TH reads DataModelRevision from the DUT."
108-
PICS: BINFO.S.A0000
109106
command: "readAttribute"
110107
attribute: "DataModelRevision"
111108
response:
@@ -718,48 +715,22 @@ tests:
718715
response:
719716
value: ProductAppearancevalue
720717

721-
- label: "Step 62: TH reads SpecificationVersion from the DUT."
722-
PICS: BINFO.S.A0015
723-
command: "readAttribute"
724-
attribute: "SpecificationVersion"
725-
response:
726-
saveAs: SpecificationVersionValue
727-
728-
- label:
729-
"Step 62: If the SpecificationVersion value is absent or zero this
730-
step cannot be verified, move on to the next step"
731-
PICS: BINFO.S.A0015
732-
cluster: "EqualityCommands"
733-
command: "UnsignedNumberEquals"
734-
arguments:
735-
values:
736-
- name: "Value1"
737-
value: SpecificationVersionValue
738-
- name: "Value2"
739-
value: null
740-
response:
741-
- values:
742-
- name: "Equals"
743-
saveAs: IsExpectedValue
744-
745718
- label:
746719
"Step 62: SpecificationVersion value should in the inclusive range of
747-
(0x01040000 to 0x01050000) and the lower 8 bits are set to zero."
720+
(0x01040000 to 0x0104FF00) and the lower 8 bits are set to zero."
748721
runIf: "!IsExpectedValue"
749-
PICS: BINFO.S.A0015
750722
command: "readAttribute"
751723
attribute: "SpecificationVersion"
752724
response:
753725
value: SpecificationVersionValue
754726
constraints:
755-
minValue: 0x0104000000
756-
maxValue: 4294967295
727+
minValue: 0x01040000
728+
maxValue: 0x0104FF00
757729
hasMasksClear: [0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80]
758730

759731
- label:
760732
"Step 63: TH sends Write request message to DUT to change the value of
761733
SpecificationVersion to '0x0103AAF1'."
762-
PICS: BINFO.S.A0015
763734
command: "writeAttribute"
764735
attribute: "SpecificationVersion"
765736
arguments:
@@ -768,7 +739,6 @@ tests:
768739
error: UNSUPPORTED_WRITE
769740

770741
- label: "Step 64: TH reads SpecificationVersion attribute from DUT"
771-
PICS: BINFO.S.A0015
772742
command: "readAttribute"
773743
attribute: "SpecificationVersion"
774744
response:

0 commit comments

Comments
 (0)