Skip to content

Commit

Permalink
Test modified may 24 (#18798)
Browse files Browse the repository at this point in the history
* Modified tests
TC-BOOL-2.1
TC-FLW-2.2
TC-MC-1.5
TC-MC-1.7
TC-MC-3.2
TC-MC-3.4
TC-OCC-2.1
TC-PCC-2.1
TC-PS-1.1
TC-RH-2.2
TC-SC-4.2
TC-SWTCH-2.1
TC-SWTCH-2.2
TC-TM-2.2
TC-TSTAT-2.2
TC-WNCV-2.4
TC-WNCV-2.5
TC-WNCV-3.4
TC-WNCV-3.5
TC-WNCV-4.3

* Added auto generated files

* Restyled by whitespace

* Modified after rebase

* Auto generated files

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jan 27, 2024
1 parent 302578f commit 2425608
Show file tree
Hide file tree
Showing 25 changed files with 9,497 additions and 7,983 deletions.
18 changes: 18 additions & 0 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,17 @@ PICS:
"Does the device implement receiving the SetpointRaiseLower command?"
id: CR_SetpointRaiseLower

- label:
"Does the device implement the UnoccupiedCoolingSetpoint attribute?"
id: A_UNOCCUPIEDCOOLINGSETPOINT

- label:
"Does the device implement the UnoccupiedHeatingSetpoint attribute?"
id: A_UNOCCUPIEDHEATINGSETPOINT

- label: "Does the device implement the MinSetpointDeadBand attribute?"
id: A_MINSETPOINTDEADBAND

# Occupency sensing cluster
- label: "Does the device implement the Occupancy attribute?"
id: A_OCCUPANCY
Expand Down Expand Up @@ -310,6 +321,7 @@ PICS:
"The optional key PI MAY provide additional information for pairing."
id: PI_KEY

#Prompt
- label: "Prompts user for input. Unable to run in CI"
id: PICS_USER_PROMPT

Expand All @@ -318,3 +330,9 @@ PICS:

- label: "Level Control for Lighting"
id: OO_LT

#Flow measurement
- label:
"Can the MeasuredValue attribute changed by physical control at the
device?"
id: MANUAL_FLOW_CHANGE
5 changes: 0 additions & 5 deletions src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,5 @@ tests:
attribute: "StateValue"
response:
value: 0

- label: "Read mandatory non-global attribute constraints: StateValue"
command: "readAttribute"
attribute: "StateValue"
response:
constraints:
type: bool
10 changes: 9 additions & 1 deletion src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,23 @@ tests:
command: "readAttribute"
attribute: "MeasuredValue"
response:
saveAs: ValueBeforeChange
constraints:
type: uint16

- label: "operate on DUT to change the flow significantly"
disabled: true
PICS: MANUAL_FLOW_CHANGE
cluster: "LogCommands"
command: "Log"
arguments:
values:
- name: "message"
value: "Operate on device to change the flow significantly"

- label: "read the mandatory attribute: MeasuredValue"
command: "readAttribute"
attribute: "MeasuredValue"
response:
constraints:
type: uint16
notValue: ValueBeforeChange
7 changes: 1 addition & 6 deletions src/app/tests/suites/certification/Test_TC_MC_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ tests:
attribute: "ClusterRevision"
response:
value: 1

- label: "Read the global attribute constraints: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

Expand All @@ -48,7 +43,7 @@ tests:
command: "readAttribute"
attribute: "AttributeList"
response:
value: [0, 1, 65528, 65529, 65531, 65532, 65533]
value: [0, 1, 65528, 65529, 65531, 65533]
constraints:
type: list

Expand Down
5 changes: 0 additions & 5 deletions src/app/tests/suites/certification/Test_TC_MC_1_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ tests:
attribute: "ClusterRevision"
response:
value: 1

- label: "Read the global attribute constraints: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

Expand Down
8 changes: 4 additions & 4 deletions src/app/tests/suites/certification/Test_TC_MC_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ tests:
value: nodeId

#Issue 17510
- label: "Send RootMenu"
- label: "TH sends CEC Settings Keys(0x0A) to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09
value: 0x0A

- label: "Send SetupMenu"
- label: "TH sends CEC Home Keys(0x09) to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x0A
value: 0x09
20 changes: 10 additions & 10 deletions src/app/tests/suites/certification/Test_TC_MC_3_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,79 +29,79 @@ tests:
value: nodeId

#Issue 17510
- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
values:
- name: "keyCode"
value: 0x09

- label: "Send RootMenu"
- label: "TH sends same KeyPad input codes to DUT"
PICS: PICS_SKIP_SAMPLE_APP
command: "SendKey"
arguments:
Expand Down
Loading

0 comments on commit 2425608

Please sign in to comment.