-
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.
* Added MF and LC tests TC-MF-1.29 TC-MF-30 Modified scripts TC-LC-2.2 * Added auto generated files * Modified tests * Auto generated files * Modified MF and LC tests * Auto generated files
- Loading branch information
1 parent
845a750
commit 1294928
Showing
8 changed files
with
977 additions
and
235 deletions.
There are no files selected for viewing
This file was deleted.
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
107 changes: 107 additions & 0 deletions
107
src/app/tests/suites/certification/Test_TC_ULABEL_1_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,107 @@ | ||
# 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: 92.1. [TC-ULABEL-1.1] Global Attributes [DUT-server] | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "User Label" | ||
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 | ||
constraints: | ||
type: uint16 | ||
|
||
#Issue 17807 | ||
- label: "Read the optional global attribute: FeatureMap" | ||
verification: | | ||
./chip-tool fixedlabel read feature-map 1 0 | ||
[1651124089.644987][2374:2379] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE) | ||
[1651124089.645078][2374:2379] CHIP:EM: Sending Standalone Ack for MessageCounter:4887314 on exchange 28800i | ||
cluster: "LogCommands" | ||
command: "UserPrompt" | ||
PICS: PICS_USER_PROMPT | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Please enter 'y' for success" | ||
- name: "expectedValue" | ||
value: "y" | ||
|
||
#Issue 17807 | ||
- label: "Read the global attribute: AttributeList" | ||
verification: | | ||
./chip-tool fixedlabel read attribute-list 1 0 | ||
[1651124128.610488][2381:2386] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0040 Attribute 0x0000_FFFB DataVersion: 3688229931 | ||
[1651124128.610670][2381:2386] CHIP:TOO: AttributeList: 5 entries | ||
[1651124128.610719][2381:2386] CHIP:TOO: [1]: 0 | ||
[1651124128.610758][2381:2386] CHIP:TOO: [2]: 65528 | ||
[1651124128.610794][2381:2386] CHIP:TOO: [3]: 65529 | ||
[1651124128.610831][2381:2386] CHIP:TOO: [4]: 65531 | ||
[1651124128.610867][2381:2386] CHIP:TOO: [5]: 65533 | ||
[1651124128.611068][2381:2386] CHIP:EM: Sending Standalone Ack for MessageCounter:12258956 on exchange 48899i | ||
cluster: "LogCommands" | ||
command: "UserPrompt" | ||
PICS: PICS_USER_PROMPT | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Please enter 'y' for success" | ||
- name: "expectedValue" | ||
value: "y" | ||
|
||
#issue #15011 disabled steps below Global attributes missing from YAML framework | ||
- label: | ||
"Read EventList attribute from the DUT and Verify that the DUT | ||
response provides a list of supported events." | ||
verification: | | ||
Not implemented in chip-tool | ||
cluster: "LogCommands" | ||
command: "UserPrompt" | ||
PICS: PICS_USER_PROMPT | ||
arguments: | ||
values: | ||
- name: "message" | ||
value: "Please enter 'y' for success" | ||
- name: "expectedValue" | ||
value: "y" | ||
|
||
- label: "Read the global attribute: AcceptedCommandList" | ||
command: "readAttribute" | ||
attribute: "AcceptedCommandList" | ||
response: | ||
value: [] | ||
constraints: | ||
type: list | ||
|
||
- label: "Read the global attribute: GeneratedCommandList" | ||
command: "readAttribute" | ||
attribute: "GeneratedCommandList" | ||
response: | ||
value: [] | ||
constraints: | ||
type: list |
Oops, something went wrong.