Skip to content

Commit

Permalink
Modified scripts
Browse files Browse the repository at this point in the history
TC-I-1.1
TC-LVL-3.1
TC-LVL-4.1
TC-LVL-6.1
TC-OO-1.1
  • Loading branch information
manjunath-grl committed Jul 13, 2022
1 parent 51e41f9 commit 9150fdf
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 11 deletions.
4 changes: 4 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,10 @@ PICS:
- label: "Does the device implement sending the OnWithTimedOff command?"
id: OO.C.C42.Tx

#Features
- label: "Level Control for Lighting"
id: OO.S.F00

- label: "Does Dnssd advertisment broadcast Vendor ID"
id: VENDOR_SUBTYPE

Expand Down
10 changes: 10 additions & 0 deletions src/app/tests/suites/certification/Test_TC_I_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ tests:
contains: [0, 1, 65528, 65529, 65531, 65532, 65533]

- label: "Read the global attribute: AcceptedCommandList"
PICS: " !I.C.C40.Tx "
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
constraints:
type: list
contains: [0]

- label: "Read the global attribute: AcceptedCommandList"
PICS: I.C.C40.Tx
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ tests:
constraints:
type: uint8

- label: "sends a Move to level command"
- label: "sends a MoveToLevelWithOnOff command"
PICS: LVL.S.C00.Rsp
command: "MoveToLevel"
command: "MoveToLevelWithOnOff"
arguments:
values:
- name: "level"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ tests:
constraints:
type: uint8

- label: "sends a Move to level command"
- label: "sends a MoveToLevelWithOnOff command"
PICS: LVL.S.C00.Rsp
command: "MoveToLevel"
command: "MoveToLevelWithOnOff"
arguments:
values:
- name: "level"
Expand Down
10 changes: 5 additions & 5 deletions src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ tests:
arguments:
values:
- name: "optionMask"
value: 0
value: 1
- name: "optionOverride"
value: 0
value: 1

- label: "Physically verify that the device has stopped transitioning"
cluster: "LogCommands"
Expand All @@ -111,7 +111,7 @@ tests:
response:
constraints:
minValue: 22
maxValue: 32
maxValue: 28
notValue: CurrentLevelValue

- label: "Sends a move up command to DUT"
Expand Down Expand Up @@ -141,9 +141,9 @@ tests:
arguments:
values:
- name: "optionMask"
value: 0
value: 1
- name: "optionOverride"
value: 0
value: 1

- label: "Physically verify that the device has stopped transitioning"
cluster: "LogCommands"
Expand Down
23 changes: 21 additions & 2 deletions src/app/tests/suites/certification/Test_TC_OO_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ tests:
- label: "read the optional global attribute: FeatureMap"
command: "readAttribute"
attribute: "FeatureMap"
PICS: OO_LT
PICS: OO.S.F00
response:
value: 1
constraints:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: OO.S.F00
command: "readAttribute"
attribute: "AttributeList"
response:
Expand All @@ -65,15 +66,33 @@ tests:
65533,
]

- label: "Read the global attribute: AttributeList"
PICS: " !OO.S.F00 "
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 65528, 65529, 65531, 65532, 65533]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
PICS: OO_LT
PICS: OO.S.F00
response:
constraints:
type: list
contains: [0, 1, 2, 64, 65, 66]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
PICS: " !OO.S.F00 "
response:
constraints:
type: list
contains: [0, 1, 2]

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
attribute: "GeneratedCommandList"
Expand Down
1 change: 1 addition & 0 deletions src/app/tests/suites/certification/ci-pics-values
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,7 @@ OO.C.C02.Tx=1
OO.C.C40.Tx=1
OO.C.C41.Tx=1
OO.C.C42.Tx=1
OO.S.F00=1

#Actions Cluster
ACT.S.A0000=1
Expand Down

0 comments on commit 9150fdf

Please sign in to comment.