Skip to content

Commit

Permalink
Add test steps 50-60 from the Thermostat test plan to the Thermostat …
Browse files Browse the repository at this point in the history
…YAML script

- Remove Test_TC_TSTAT_4_1.yaml
  • Loading branch information
nivi-apple committed Jan 11, 2025
1 parent 448930e commit 542d7ec
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 113 deletions.
18 changes: 15 additions & 3 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6489,21 +6489,33 @@ PICS:
- label: "Does the device implement the PresetTypes attribute?"
id: TSTAT.S.A0048

- label: "Does the device implement the ScheduleTypes attribute?"
id: TSTAT.S.A0049

- label: "Does the device implement the NumberOfPresets attribute?"
id: TSTAT.S.A004a

- label: "Does the device implement the NumberOfSchedules attribute?"
id: TSTAT.S.A004b

- label: "Does the device implement the NumberOfScheduleTransitions attribute?"
id: TSTAT.S.A004c

- label: "Does the device implement the NumberOfScheduleTransitionPerDay attribute?"
id: TSTAT.S.A004d

- label: "Does the device implement the ActivePresetHandle attribute?"
id: TSTAT.S.A004e

- label: "Does the device implement the ActiveScheduleHandle attribute?"
id: TSTAT.S.A004f

- label: "Does the device implement the Presets attribute?"
id: TSTAT.S.A0050

- label: "Does the device implement the Schedules attribute?"
id: TSTAT.S.A0051

- label: "Does the device implement the Schedules attribute?"
id: TSTAT.S.A0051

- label:
"Does the device implement the SetpointHoldExpiryTimestamp attribute?"
id: TSTAT.S.A0052
Expand Down
88 changes: 88 additions & 0 deletions src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -730,3 +730,91 @@ tests:
value: 0
constraints:
type: enum8

- label: "Step 52: TH reads the PresetTypes attribute from the DUT"
PICS: TSTAT.S.F08 && TSTAT.S.A0048
command: "readAttribute"
attribute: "PresetTypes"
response:
constraints:
type: list

- label: "Step 53: TH reads the ScheduleTypes attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A0049
command: "readAttribute"
attribute: "ScheduleTypes"
response:
constraints:
type: list

- label: "Step 54: TH reads the NumberOfPresets attribute from the DUT"
PICS: TSTAT.S.F08 && TSTAT.S.A004a
command: "readAttribute"
attribute: "NumberOfPresets"
response:
constraints:
type: int8u

- label: "Step 55: TH reads the NumberOfSchedules attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A004b
command: "readAttribute"
attribute: "NumberOfSchedules"
response:
constraints:
type: int8u

- label: "Step 56: TH reads the NumberOfScheduleTransitions attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A004c
command: "readAttribute"
attribute: "NumberOfScheduleTransitions"
response:
constraints:
type: int8u

- label: "Step 57: TH reads the NumberOfScheduleTransitionPerDay attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A004d
command: "readAttribute"
attribute: "NumberOfScheduleTransitionPerDay"
response:
constraints:
type: int8u

- label: "Step 58: TH reads the ActivePresetHandle attribute from the DUT"
PICS: TSTAT.S.F08 && TSTAT.S.A004e
command: "readAttribute"
attribute: "ActivePresetHandle"
response:
constraints:
type: octstr

- label: "Step 59: TH reads the ActiveScheduleHandle attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A004f
command: "readAttribute"
attribute: "ActiveScheduleHandle"
response:
constraints:
type: octstr

- label: "Step 60: TH reads the Presets attribute from the DUT"
PICS: TSTAT.S.F08 && TSTAT.S.A0050
command: "readAttribute"
attribute: "Presets"
response:
constraints:
type: list

- label: "Step 61: TH reads the Schedules attribute from the DUT"
PICS: TSTAT.S.F07 && TSTAT.S.A0051
command: "readAttribute"
attribute: "Schedules"
response:
constraints:
type: list

- label: "Step 62: TH reads the SetpointHoldExpiryTimestamp attribute from the DUT"
PICS: TSTAT.S.A0052
command: "readAttribute"
attribute: "SetpointHoldExpiryTimestamp"
response:
constraints:
type: int32u
110 changes: 0 additions & 110 deletions src/app/tests/suites/certification/Test_TC_TSTAT_4_1.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions src/app/tests/suites/certification/ci-pics-values
Original file line number Diff line number Diff line change
Expand Up @@ -1988,8 +1988,13 @@ TSTAT.S.A0045=0
TSTAT.S.A0046=0
TSTAT.S.A0047=0
TSTAT.S.A0048=1
TSTAT.S.A0049=0
TSTAT.S.A004a=1
TSTAT.S.A004b=0
TSTAT.S.A004c=0
TSTAT.S.A004d=0
TSTAT.S.A004e=1
TSTAT.S.A004f=0
TSTAT.S.A0050=1
TSTAT.S.A0051=0
TSTAT.S.A0052=0
Expand Down

0 comments on commit 542d7ec

Please sign in to comment.