-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding YAML Test Cases - Nov 10th (#11627)
* Adding test scripts 1.Test_TC_BI_2_2 2.Test_TC_TSTAT_2_1 3.Test_TC_DIAGSW_3_2 * Adding auto generated script artifacts
- Loading branch information
1 parent
a530591
commit e5c09e4
Showing
7 changed files
with
5,761 additions
and
19 deletions.
There are no files selected for viewing
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
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,134 @@ | ||
# 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: 18.2.2. [TC-BI-2.2] Primary functionality with server as DUT | ||
|
||
config: | ||
cluster: "Binary Input (Basic)" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "Reads PresentValue attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "present value" | ||
response: | ||
value: 0 | ||
|
||
- label: "Reads OutOfService attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "out of service" | ||
response: | ||
value: 0 | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 0 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to change the sensor value to TRUE" | ||
disabled: true | ||
|
||
- label: "Reads PresentValue attribute from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "present value" | ||
response: | ||
value: 1 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to change the sensor value to FALSE" | ||
disabled: true | ||
|
||
- label: "Reads PresentValue attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "present value" | ||
response: | ||
value: 0 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to Trigger an OutOfService state" | ||
disabled: true | ||
|
||
- label: "Reads OutOfService attribute from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "out of service" | ||
response: | ||
value: 1 | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 4 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to Clear the OutOfService state if possible" | ||
disabled: true | ||
|
||
- label: "Reads OutOfService attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "out of service" | ||
response: | ||
value: 0 | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 0 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to Trigger an Alarm state" | ||
disabled: true | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 1 | ||
|
||
- label: "Operate on device to Clear the Alarm state if possible" | ||
disabled: true | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 0 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to Trigger an Fault state" | ||
disabled: true | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 2 | ||
|
||
#issue #11475 User action needed, need to implement in YAML framework | ||
- label: "Operate on device to Clear the Fault state if possible" | ||
disabled: true | ||
|
||
- label: "Reads StatusFlags attribute from DUT" | ||
command: "readAttribute" | ||
attribute: "status flags" | ||
response: | ||
value: 0 |
46 changes: 46 additions & 0 deletions
46
src/app/tests/suites/certification/Test_TC_DIAGSW_3_2.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,46 @@ | ||
# 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: 48.1.4. [TC-DIAGSW-3.2] Command received functionality with server as DUT | ||
|
||
config: | ||
cluster: "Software Diagnostics" | ||
endpoint: 1 | ||
|
||
tests: | ||
#issue #11578 ResetWatermarks command is Failing | ||
- label: "Sends ResetWatermarks to DUT" | ||
disabled: true | ||
command: "ResetWatermarks" | ||
|
||
- label: "Reads a list of ThreadMetrics struct attribute from DUT." | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "ThreadMetrics" | ||
response: | ||
value: 0 | ||
|
||
- label: "Reads CurrentHeapUsed attribute value from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "CurrentHeapUsed" | ||
response: | ||
value: 0 | ||
|
||
- label: "Reads CurrentHeapHighWaterMark attribute value from DUT" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "CurrentHeapHighWatermark" | ||
response: | ||
value: 0 |
Oops, something went wrong.