Skip to content

Commit

Permalink
[TCTL] Change name from Mode to State (#31978)
Browse files Browse the repository at this point in the history
* Change name

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
rbultman and restyled-commits authored Feb 14, 2024
1 parent 820034e commit 7113c98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/app/tests/suites/certification/Test_TC_TCTL_3_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ tests:
Operate device such that a temperature number cannot be accepted
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInMode
PICS: PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInState
arguments:
values:
- name: "message"
Expand All @@ -147,7 +147,8 @@ tests:
"Step 10: TH sends command SetTemperatureCommand with a temperature
number between minTemp and maxTemp inclusive, saved as setTemp"
command: "SetTemperature"
PICS: TCTL.S.C00.Rsp && PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInMode
PICS:
TCTL.S.C00.Rsp && PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInState
arguments:
values:
- name: "TargetTemperature"
Expand All @@ -164,7 +165,7 @@ tests:
value: 5000

- label: "Step 11: TH reads from the DUT the TemperatureSetpoint attribute"
PICS: TCTL.S.A0000 && TCTL.S.M.SupportsInvalidInMode
PICS: TCTL.S.A0000 && TCTL.S.M.SupportsInvalidInState
command: "readAttribute"
attribute: "TemperatureSetpoint"
response:
Expand Down
8 changes: 4 additions & 4 deletions src/app/tests/suites/certification/Test_TC_TCTL_3_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ tests:
Operate device such that a temperature level cannot be accepted
cluster: "LogCommands"
command: "UserPrompt"
PICS: PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInMode
PICS: PICS_USER_PROMPT && TCTL.S.M.SupportsInvalidInState
arguments:
values:
- name: "message"
Expand All @@ -111,7 +111,7 @@ tests:

- label:
"Step 7: TH sends command SetTemperatureCommand with an invalid value"
PICS: TCTL.S.C00.Rsp && TCTL.S.M.SupportsInvalidInMode
PICS: TCTL.S.C00.Rsp && TCTL.S.M.SupportsInvalidInState
command: "SetTemperature"
arguments:
values:
Expand All @@ -121,7 +121,7 @@ tests:
error: CONSTRAINT_ERROR

- label: "Wait for 5s"
PICS: TCTL.S.C00.Rsp && TCTL.S.M.SupportsInvalidInMode
PICS: TCTL.S.C00.Rsp && TCTL.S.M.SupportsInvalidInState
cluster: "DelayCommands"
command: "WaitForMs"
arguments:
Expand All @@ -131,7 +131,7 @@ tests:

- label:
"Step 8: TH reads from the DUT the SelectedTemperatureLevel attribute"
PICS: TCTL.S.A0004 && TCTL.S.M.SupportsInvalidInMode
PICS: TCTL.S.A0004 && TCTL.S.M.SupportsInvalidInState
command: "readAttribute"
attribute: "SelectedTemperatureLevel"
response:
Expand Down

0 comments on commit 7113c98

Please sign in to comment.