Skip to content

Commit

Permalink
Modified YAML Test Scripts - Dec 1st (#12397)
Browse files Browse the repository at this point in the history
* Modified Test Scripts
1. TC-BI-1.1
2. TC-BOOL-1.1
3. TC-CC-1.1
4. TC-CC-4.2
5. TC-DIAGTH-1.1
6. TC-EMR-1.1
7. TC-FLW-1.1
8. TC-ILL-1.1
9. TC-LVL-1.1
10. TC-MC-1.1
11. TC-OCC-1.1
12. TC-OO-1.1
13. TC-PCC-1.1
14. TC-PRS-1.1
15. TC-RH-1.1
16. TC-TM-1.1
17. TC-TSTAT-1.1
18. TC-TSUIC-1.1
19. TC-WNCV-1.1

* Adding auto generated files
  • Loading branch information
manjunathambiger23 authored and pull[bot] committed Aug 11, 2022
1 parent 5735167 commit 2171698
Show file tree
Hide file tree
Showing 21 changed files with 2,596 additions and 435 deletions.
56 changes: 56 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BI_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ tests:
response:
value: 1

- label: "Read the global attribute constraints: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

- label:
"write the default values to mandatory global attribute:
ClusterRevision"
Expand All @@ -44,3 +51,52 @@ tests:
attribute: "ClusterRevision"
response:
value: 1

#issue #11053 disabled steps below Global attributes missing from YAML framework
- label: "Read the global attribute: AttributeList"
disabled: true
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list

- label: "Read the global attribute: CommandList"
disabled: true
command: "readAttribute"
attribute: "CommandList"
response:
constraints:
type: list

- 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:
constraints:
type: map32
56 changes: 56 additions & 0 deletions src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ tests:
response:
value: 1

- label: "Read the global attribute constraints: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

- label:
"write the default values to mandatory global attribute:
ClusterRevision"
Expand All @@ -44,3 +51,52 @@ tests:
attribute: "ClusterRevision"
response:
value: 1

#issue #11053 disabled steps below Global attributes missing from YAML framework
- label: "Read the global attribute: AttributeList"
disabled: true
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list

- label: "Read the global attribute: CommandList"
disabled: true
command: "readAttribute"
attribute: "CommandList"
response:
constraints:
type: list

- 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:
constraints:
type: map32
56 changes: 56 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ tests:
response:
value: 4

- label: "Read the global attribute constraints : ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

- label:
"write the default values to mandatory global attribute:
ClusterRevision"
Expand All @@ -47,13 +54,62 @@ tests:
response:
value: 4

#issue #11053 disabled steps below Global attributes missing from YAML framework
- label: "Read the global attribute: AttributeList"
disabled: true
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list

- label: "Read the global attribute: CommandList"
disabled: true
command: "readAttribute"
attribute: "CommandList"
response:
constraints:
type: list

- 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

- label: "write the default values to optional global attribute: FeatureMap"
disabled: true
command: "writeAttribute"
Expand Down
87 changes: 87 additions & 0 deletions src/app/tests/suites/certification/Test_TC_CC_4_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,93 @@ tests:
- name: "optionsOverride"
value: 0

- label: "Read CurrentSaturation attribute from DUT several times"
disabled: true
command: "readAttribute"
attribute: "current saturation"
response:
value: 0

- label: "Move saturation up command"
command: "MoveSaturation"
arguments:
values:
- name: "moveMode"
value: 1
- name: "rate"
value: 5
- name: "optionsMask"
value: 0
- name: "optionsOverride"
value: 0

- label: "Read CurrentSaturation attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "current saturation"
response:
value: 0

- label: "Move saturation stop command"
command: "MoveSaturation"
arguments:
values:
- name: "moveMode"
value: 0
- name: "rate"
value: 5
- name: "optionsMask"
value: 0
- name: "optionsOverride"
value: 0

- label: "Read CurrentSaturation attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "current saturation"
response:
value: 0

- label: "Move saturation down command"
command: "MoveSaturation"
arguments:
values:
- name: "moveMode"
value: 3
- name: "rate"
value: 5
- name: "optionsMask"
value: 0
- name: "optionsOverride"
value: 0

- label: "Read CurrentSaturation attribute from DUT several times"
disabled: true
command: "readAttribute"
attribute: "current saturation"
response:
value: 0

- label: "Move saturation stop command"
command: "MoveSaturation"
arguments:
values:
- name: "moveMode"
value: 0
- name: "rate"
value: 5
- name: "optionsMask"
value: 0
- name: "optionsOverride"
value: 0

- label: "Read CurrentSaturation attribute from DUT"
disabled: true
command: "readAttribute"
attribute: "current saturation"
response:
value: 0

- label: "Turn off light that we turned on"
cluster: "On/Off"
command: "off"
Expand Down
56 changes: 56 additions & 0 deletions src/app/tests/suites/certification/Test_TC_DIAGTH_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ tests:
response:
value: 1

- label: "Read the global attribute constraints: ClusterRevision"
command: "readAttribute"
attribute: "ClusterRevision"
response:
constraints:
type: uint16

- label:
"write the default values to mandatory global attribute:
ClusterRevision"
Expand All @@ -45,13 +52,62 @@ tests:
response:
value: 1

#issue #11053 disabled steps below Global attributes missing from YAML framework
- label: "Read the global attribute: AttributeList"
disabled: true
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list

- label: "Read the global attribute: CommandList"
disabled: true
command: "readAttribute"
attribute: "CommandList"
response:
constraints:
type: list

- 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

- label: "write the default values to optional global attribute: FeatureMap"
disabled: true
command: "writeAttribute"
Expand Down
Loading

0 comments on commit 2171698

Please sign in to comment.