Skip to content

Commit

Permalink
Updated CC cluster Scripts (#17957)
Browse files Browse the repository at this point in the history
* Added update cc cluster scripts

* Added Auto generated files

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Sep 5, 2023
1 parent fd1437a commit aea2054
Show file tree
Hide file tree
Showing 16 changed files with 10,511 additions and 1,860 deletions.
210 changes: 201 additions & 9 deletions src/app/tests/suites/certification/Test_TC_CC_3_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests:
response:
value: 1

- label: "Reads CurrentHue attribute from DUT."
- label: "Reads CurrentHue attribute from DUT"
command: "readAttribute"
attribute: "current hue"
response:
Expand All @@ -63,14 +63,62 @@ tests:
- name: "optionsOverride"
value: 0

- label: "Wait 290ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 290

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 295ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 295

- label:
"Check current hue attribute value matched the value sent by the last
command"
disabled: true
command: "readAttribute"
attribute: "current hue"
response:
value: 150
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 300ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 300

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Move to hue longest distance command"
command: "MoveToHue"
Expand All @@ -87,14 +135,62 @@ tests:
- name: "optionsOverride"
value: 0

- label: "Wait 290ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 290

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 295ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 295

- label:
"Check current hue attribute value matched the value sent by the last
command"
disabled: true
command: "readAttribute"
attribute: "current hue"
response:
value: 150
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 300ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 300

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Move to hue up command"
command: "MoveToHue"
Expand All @@ -111,14 +207,62 @@ tests:
- name: "optionsOverride"
value: 0

- label: "Wait 290ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 290

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 295ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 295

- label:
"Check current hue attribute value matched the value sent by the last
command"
disabled: true
command: "readAttribute"
attribute: "current hue"
response:
value: 250
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 300ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 300

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Move to hue down command"
command: "MoveToHue"
Expand All @@ -135,14 +279,62 @@ tests:
- name: "optionsOverride"
value: 0

- label: "Wait 290ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 290

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 295ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 295

- label:
"Check current hue attribute value matched the value sent by the last
command"
disabled: true
command: "readAttribute"
attribute: "current hue"
response:
value: 225
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Wait 300ms"
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
values:
- name: "ms"
value: 300

- label:
"Check current hue attribute value matched the value sent by the last
command"
command: "readAttribute"
attribute: "current hue"
response:
constraints:
type: uint8
minValue: 0
maxValue: 254

- label: "Turn off light that we turned on"
cluster: "On/Off"
Expand Down
Loading

0 comments on commit aea2054

Please sign in to comment.