forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests disabled tests (project-chip#7640)
* Add more explicit failures when generating tests * Add the ability to disable some tests in the yaml file * Replace OnOffCluster yaml test by Test_3_1_1, Test_3_2_1, Test_3_2_2 * Update gen/ folders
- Loading branch information
1 parent
d39933c
commit 5f79529
Showing
10 changed files
with
1,742 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,66 @@ | ||
# 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: 3.1.1. [TC-OO-1] Global attributes with server as DUT | ||
|
||
config: | ||
cluster: "On/Off" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "read the global attribute: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "Cluster Revision" | ||
response: | ||
value: 2 | ||
|
||
- label: | ||
"write the default values to mandatory global attribute: | ||
ClusterRevision" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "Cluster Revision" | ||
arguments: | ||
value: 2 | ||
response: | ||
error: 1 | ||
|
||
- label: "reads back global attribute: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "Cluster Revision" | ||
response: | ||
value: 2 | ||
|
||
- label: "read the optional global attribute: FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Feature Map" | ||
response: | ||
value: 0 | ||
|
||
- label: "write the default values to optional global attribute: FeatureMap" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "Feature Map" | ||
arguments: | ||
value: 0 | ||
response: | ||
error: 1 | ||
|
||
- label: "reads back optional global attribute: FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Feature Map" | ||
response: | ||
value: 0 |
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,127 @@ | ||
# 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: 3.2.1. [TC-OO-2] Attributes with server as DUT | ||
|
||
config: | ||
cluster: "On/Off" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "read the mandatory attribute: OnOff" | ||
command: "readAttribute" | ||
attribute: "On/Off" | ||
response: | ||
value: 0 | ||
|
||
- label: "write the default value of mandatory attribute: OnOff" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "On/Off" | ||
arguments: | ||
value: 0 | ||
response: | ||
error: 1 | ||
|
||
- label: "reads back mandatory attribute: OnOff" | ||
command: "readAttribute" | ||
attribute: "On/Off" | ||
response: | ||
value: 0 | ||
|
||
- label: "read LT attribute: GlobalSceneControl" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Global Scene Control" | ||
response: | ||
value: 1 | ||
|
||
- label: "read LT attribute: OnTime" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "On Time" | ||
response: | ||
value: 0 | ||
|
||
- label: "read LT attribute: OffWaitTime" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Off Wait Time" | ||
response: | ||
value: 0 | ||
|
||
- label: "read LT attribute: StartUpOnOff" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Start Up On Off" | ||
response: | ||
value: 0 | ||
|
||
- label: "write the default value to LT attribute: GlobalSceneControl" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "Global Scene Control" | ||
arguments: | ||
value: 0 | ||
response: | ||
error: 1 | ||
|
||
- label: "write the default value to LT attribute: OnTime" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "On Time" | ||
arguments: | ||
value: 0 | ||
|
||
- label: "write the default value to LT attribute: OffWaitTime" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "Off Wait Time" | ||
arguments: | ||
value: 0 | ||
|
||
- label: "write the default value to LT attribute: StartUpOnOff" | ||
disabled: true | ||
command: "writeAttribute" | ||
attribute: "Start Up On Off" | ||
arguments: | ||
value: 0 | ||
|
||
- label: "reads back LT attribute: GlobalSceneControl" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Global Scene Control" | ||
response: | ||
value: 1 | ||
|
||
- label: "reads back LT attribute: OnTime" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "On Time" | ||
response: | ||
value: 0 | ||
|
||
- label: "reads back LT attribute: OffWaitTime" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Off Wait Time" | ||
response: | ||
value: 0 | ||
|
||
- label: "reads back LT attribute: StartUpOnOff" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "Start Up On Off" | ||
response: | ||
value: 0 |
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
Oops, something went wrong.