forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
125 additions
and
0 deletions.
There are no files selected for viewing
125 changes: 125 additions & 0 deletions
125
src/app/tests/suites/certification/test_TC_DISHALM_3_1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: 197.2.2. [TC-DISHALM-3.1] Inflow alarm functionality with DUT as Server | ||
|
||
PICS: | ||
- MOD.S | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Dishwasher Alarm" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "Wait for the commissioned device to be retrieved" | ||
cluster: "DelayCommands" | ||
command: "WaitForCommissionee" | ||
arguments: | ||
values: | ||
- name: "nodeId" | ||
value: nodeId | ||
|
||
- label: "Operate device to set State attribute bit 0 (Inflow) to 1" | ||
PICS: DISHALM.M.ManuallyControlled | ||
command: "writeAttribute" | ||
attribute: "State" | ||
arguments: | ||
value: 1 | ||
|
||
- label: "TH reads from the DUT the State attribute" | ||
PICS: DISHALM.S.A0002 | ||
command: "readAttribute" | ||
attribute: "State" | ||
response: | ||
constraints: | ||
value: 1 | ||
|
||
- label: "Operate device to set State attribute bit 0 (Inflow) to 0" | ||
PICS: DISHALM.M.ManuallyControlled | ||
command: "writeAttribute" | ||
attribute: "State" | ||
arguments: | ||
value: 0 | ||
|
||
- label: "TH reads from the DUT the State attribute" | ||
PICS: " !DISHALM.S.A0001 && DISHALM.S.A0002 " | ||
command: "readAttribute" | ||
attribute: "State" | ||
response: | ||
constraints: | ||
value: 0 | ||
|
||
- label: "TH reads from the DUT the State attribute" | ||
PICS: DISHALM.S.A0001 && DISHALM.S.A0002 | ||
command: "readAttribute" | ||
attribute: "State" | ||
response: | ||
constraints: | ||
value: 1 | ||
|
||
- label: "TH sends command Reset to DUT with bit 0 (Inflow) of Alarms set to 1" | ||
PICS: DISHALM.S.F00 && DISHALM.S.C00.Rsp | ||
command: "reset" | ||
arguments: | ||
value: 1 | ||
|
||
- label: "TH reads from the DUT the State attribute" | ||
PICS: DISHALM.S.F00 && DISHALM.S.A0002 | ||
command: "readAttribute" | ||
attribute: "State" | ||
response: | ||
constraints: | ||
value: 0 | ||
|
||
- label: "Set up subscription to Notify event" | ||
PICS: DISHALM.S.E00 | ||
command: "subcribeEvent" | ||
event: notify | ||
minInterval: 0 | ||
maxInterval: 100 | ||
|
||
- label: "Operate device to set State attribute bit 0 (Inflow) to 1" | ||
PICS: DISHALM.S.A0002 && DISHALM.S.E00 | ||
command: "writeAttribute" | ||
attribute: "State" | ||
arguments: | ||
value: 1 | ||
response: | ||
value: { Notify: TRUE } | ||
|
||
- label: "TH reads from the DUT the State attribute" | ||
PICS: DISHALM.S.A0001 && DISHALM.S.A0002 | ||
command: "readAttribute" | ||
attribute: "State" | ||
response: | ||
constraints: | ||
value: 1 | ||
|
||
- label: "Operate device to set State attribute bit 0 (Inflow) to 1" | ||
PICS: DISHALM.S.A0002 && DISHALM.S.C00.Rsp | ||
command: "writeAttribute" | ||
attribute: "State" | ||
arguments: | ||
value: 0 | ||
response: | ||
value: { Notify: FALSE } | ||
|
||
- label: "TH sends command Reset to DUT with bit 0 (Inflow) of Alarms set to 1" | ||
PICS: DISHALM.S.F00 && DISHALM.S.C00.Rsp | ||
command: "reset" | ||
arguments: | ||
value: 1 | ||
response: | ||
value: { Notify: FALSE } |