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 e76503f commit f499a14
Showing 1 changed file with 3 additions and 33 deletions.
36 changes: 3 additions & 33 deletions src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ tests:
value: "y"

- label: "Step 2: TH reads DataModelRevision from the DUT."
PICS: BINFO.S.A0000
command: "readAttribute"
attribute: "DataModelRevision"
response:
Expand All @@ -96,7 +95,6 @@ tests:
type: int16u

- label: "Step 3: TH writes DataModelRevision as '0x1124' "
PICS: BINFO.S.A0000
command: "writeAttribute"
attribute: "DataModelRevision"
arguments:
Expand All @@ -105,7 +103,6 @@ tests:
error: UNSUPPORTED_WRITE

- label: "Step 4: TH reads DataModelRevision from the DUT."
PICS: BINFO.S.A0000
command: "readAttribute"
attribute: "DataModelRevision"
response:
Expand Down Expand Up @@ -718,48 +715,22 @@ tests:
response:
value: ProductAppearancevalue

- label: "Step 62: TH reads SpecificationVersion from the DUT."
PICS: BINFO.S.A0015
command: "readAttribute"
attribute: "SpecificationVersion"
response:
saveAs: SpecificationVersionValue

- label:
"Step 62: If the SpecificationVersion value is absent or zero this
step cannot be verified, move on to the next step"
PICS: BINFO.S.A0015
cluster: "EqualityCommands"
command: "UnsignedNumberEquals"
arguments:
values:
- name: "Value1"
value: SpecificationVersionValue
- name: "Value2"
value: null
response:
- values:
- name: "Equals"
saveAs: IsExpectedValue

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

- label:
"Step 63: TH sends Write request message to DUT to change the value of
SpecificationVersion to '0x0103AAF1'."
PICS: BINFO.S.A0015
command: "writeAttribute"
attribute: "SpecificationVersion"
arguments:
Expand All @@ -768,7 +739,6 @@ tests:
error: UNSUPPORTED_WRITE

- label: "Step 64: TH reads SpecificationVersion attribute from DUT"
PICS: BINFO.S.A0015
command: "readAttribute"
attribute: "SpecificationVersion"
response:
Expand Down

0 comments on commit f499a14

Please sign in to comment.