Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle [Yaml] WindowCovering: Fix and Update WNCV_1_1 and WNCV_2_1 #12097

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 28 additions & 13 deletions src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,45 +19,60 @@ config:
endpoint: 1

tests:
- label: "read the global attribute: ClusterRevision"
### MANDATORY GLOBAL Attributes
### Attribute[0xFFFD]: ClusterRevision =======================================
- label: "2: read the global attribute: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
value: 5
constraints:
type: uint16
minValue: 5
maxValue: 200

- label:
"write the default value to mandatory global attribute:
"3a: write a value into the RO mandatory global attribute:
ClusterRevision"
command: "writeAttribute"
attribute: "ClusterRevision"
arguments:
value: 5
value: 201
response:
error: 1

- label: "reads back global attribute: ClusterRevision"
- label: "3b: reads back global attribute: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
value: 5
constraints:
type: uint16
notValue: 201

- label: "read the global attribute: FeatureMap"
### Attribute[0xFFFC]: FeatureMap =======================================
- label: "2: read the global attribute: FeatureMap"
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 0
constraints:
type: uint32
minValue: 0
maxValue: 32768

- label: "write the default value to optional global attribute: FeatureMap"
disabled: true
- label:
"3a: write the default value to optional global attribute: FeatureMap"
command: "writeAttribute"
attribute: "FeatureMap"
arguments:
value: 5
value: 32769
response:
error: 1

- label: "reads back global attribute: FeatureMap"
- label: "3b: reads back global attribute: FeatureMap"
command: "readAttribute"
attribute: "FeatureMap"
response:
value: 0
constraints:
type: uint32
notValue: 32769
### OPTIONAL GLOBAL Attributes
### None =======================================
Loading