-
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.
- Loading branch information
Showing
23 changed files
with
6,268 additions
and
583 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
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,91 @@ | ||
# 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.1.10. [TC-MC-1.10] Global attributes - Application Basic Cluster (DUT as | ||
Server) | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Application Basic" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "Wait for the commissioned device to be retrieved" | ||
cluster: "DelayCommands" | ||
command: "WaitForCommissionee" | ||
arguments: | ||
values: | ||
- name: "nodeId" | ||
value: nodeId | ||
|
||
- label: "read the global attribute: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "ClusterRevision" | ||
response: | ||
value: 1 | ||
|
||
- label: "Read the global attribute constraints: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "ClusterRevision" | ||
response: | ||
constraints: | ||
type: uint16 | ||
|
||
- label: "Read the global attribute: AttributeList" | ||
command: "readAttribute" | ||
attribute: "AttributeList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
#issue #11053 disabled steps below Global attributes missing from YAML framework | ||
- label: "Read the global attribute: EventList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "EventList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "Read the global attribute: ClientGeneratedCommandList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "ClientGeneratedCommandList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "Read the global attribute: ServerGeneratedCommandList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "ServerGeneratedCommandList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "read the optional global attribute: FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "FeatureMap" | ||
response: | ||
value: 0 | ||
|
||
- label: "Read the optional global attribute : FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "FeatureMap" | ||
response: | ||
constraints: | ||
type: map32 |
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,91 @@ | ||
# 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.1.11. [TC-MC-1.11] Global attributes - Content Launcher Cluster (DUT as | ||
Server) | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Content Launcher" | ||
endpoint: 1 | ||
|
||
tests: | ||
- label: "Wait for the commissioned device to be retrieved" | ||
cluster: "DelayCommands" | ||
command: "WaitForCommissionee" | ||
arguments: | ||
values: | ||
- name: "nodeId" | ||
value: nodeId | ||
|
||
- label: "read the global attribute: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "ClusterRevision" | ||
response: | ||
value: 1 | ||
|
||
- label: "Read the global attribute constraints: ClusterRevision" | ||
command: "readAttribute" | ||
attribute: "ClusterRevision" | ||
response: | ||
constraints: | ||
type: uint16 | ||
|
||
- label: "Read the global attribute: AttributeList" | ||
command: "readAttribute" | ||
attribute: "AttributeList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
#issue #11053 disabled steps below Global attributes missing from YAML framework | ||
- label: "Read the global attribute: EventList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "EventList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "Read the global attribute: ClientGeneratedCommandList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "ClientGeneratedCommandList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "Read the global attribute: ServerGeneratedCommandList" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "ServerGeneratedCommandList" | ||
response: | ||
constraints: | ||
type: list | ||
|
||
- label: "read the optional global attribute: FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "FeatureMap" | ||
response: | ||
value: 0 | ||
|
||
- label: "Read the optional global attribute : FeatureMap" | ||
disabled: true | ||
command: "readAttribute" | ||
attribute: "FeatureMap" | ||
response: | ||
constraints: | ||
type: map32 |
Oops, something went wrong.