Skip to content

Commit

Permalink
Test modified june 27 (#20009)
Browse files Browse the repository at this point in the history
* Modified scripts
TC-ACT-1.1
TC-CC-1.1
TC-CGEN-1.1
TC-DESC-1.1
TC-FLW-1.1
TC-ILL-1.1
TC-MC-1.*
TC-PCC-1.1
TC-PRS-1.1
TC-TM-1.1
TC-TSTAT-1.1
TC-TSUIC-1.1
TC-WNCV-1.1

* Added auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Sep 6, 2023
1 parent a7af1c6 commit 62b1d9d
Show file tree
Hide file tree
Showing 32 changed files with 1,377 additions and 1,862 deletions.
119 changes: 56 additions & 63 deletions src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,74 +11,67 @@
# 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.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 3.1.1. [TC-ACT-1.1] Global attributes with server as DUT
name: 77.1.1. [TC-ACT-1.1] Global attributes with server as DUT

config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
cluster: "Bridged Actions"
endpoint: 1

tests:
- label: "Commission DUT to TH (can be skipped if done in a preceding test)"
verification: |
disabled: true

- label: "Read ClusterRevision (global attribute 65533)"
verification: |
./chip-tool bridgedactions read cluster-revision 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFD DataVersion: 3573360937
[1649664569.312693][8655:8660] CHIP:TOO: ClusterRevision: 1
disabled: true

- label: "Read FeatureMap (global attribute 65532)"
verification: |
./chip-tool bridgedactions read feature-map 1 1
Need to implement in SDK
disabled: true

- label: "Read AttributeList (global attribute 65531)"
verification: |
./chip-tool bridgedactions read attribute-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFFB DataVersion: 3573360937
[1649664685.946524][8671:8676] CHIP:TOO: AttributeList: 7 entries
[1649664685.946600][8671:8676] CHIP:TOO: [1]: 0
[1649664685.946649][8671:8676] CHIP:TOO: [2]: 1
[1649664685.946696][8671:8676] CHIP:TOO: [3]: 2
[1649664685.946744][8671:8676] CHIP:TOO: [4]: 65528
[1649664685.946790][8671:8676] CHIP:TOO: [5]: 65529
[1649664685.946836][8671:8676] CHIP:TOO: [6]: 65531
[1649664685.946901][8671:8676] CHIP:TOO: [7]: 65533
disabled: true

- label: "Read EventList (global attribute 65530)"
verification: |
./chip-tool bridgedactions read event-list 1 1
Need to implement in chip-tool
disabled: true

- 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

- label: "Read the global attribute: AttributeList"
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1]

- 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

#issue #15011
- label:
"Read AcceptedCommandList (global attribute 65529) ; retain this list
for reference in test [TC-ACT-2.2] step 4d"
"Read EventList attribute from the DUT and Verify that the DUT
response provides a list of supported events."
verification: |
./chip-tool bridgedactions read accepted-command-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF9 DataVersion: 2809940331
CHIP:TOO: AcceptedCommandList: 0 entries
CHIP:EM: Sending Standalone Ack for MessageCounter:3357407 on exchange 13031i
disabled: true

- label: "Read GeneratedCommandList (global attribute 65528)"
verification: |
./chip-tool bridgedactions read generated-command-list 1 1
CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0025 Attribute 0x0000_FFF8 DataVersion: 2809940331
CHIP:TOO: GeneratedCommandList: 0 entries
CHIP:EM: Sending Standalone Ack for MessageCounter:14920557 on exchange 16149i
disabled: true
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"
47 changes: 23 additions & 24 deletions src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,34 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "AttributeList"
response:
value:
[
0,
1,
3,
4,
7,
8,
15,
16384,
16385,
16386,
16394,
16395,
16396,
16397,
16400,
65528,
65529,
65531,
65532,
65533,
]
constraints:
type: list
contains:
[
0,
1,
3,
4,
7,
8,
15,
16384,
16385,
16386,
16394,
16395,
16396,
16397,
16400,
65528,
65529,
65531,
65532,
65533,
]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
Expand Down
40 changes: 17 additions & 23 deletions src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,48 +44,42 @@ tests:
constraints:
type: map32

#Issue 18002
- label: "Read the global attribute: AttributeList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "AttributeList"
response:
value: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65531, 65532, 65533]
constraints:
type: list
contains: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533]

#issue #15011
- 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"

#Issue 18002
- label: "Read the global attribute: AcceptedCommandList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: [0, 2, 4]
constraints:
type: list

#Issue 18002
- label: "Read the global attribute: GeneratedCommandList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
value: [1, 3, 5]
constraints:
type: list

#issue #15011
- 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"
32 changes: 16 additions & 16 deletions src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,6 @@ tests:
constraints:
type: list

#issue #11053 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"
Expand All @@ -84,3 +68,19 @@ tests:
value: []
constraints:
type: list

#issue #11053 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"
35 changes: 17 additions & 18 deletions src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,26 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "AttributeList"
response:
value: [0, 1, 8, 65528, 65529, 65531, 65533]
constraints:
type: list
contains: [0, 1, 8, 65528, 65529, 65531, 65533]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: [0]
constraints:
type: list

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
value: []
constraints:
type: list

Expand All @@ -70,19 +85,3 @@ tests:
value: "Please enter 'y' for success"
- name: "expectedValue"
value: "y"

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: [0]
constraints:
type: list

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
value: []
constraints:
type: list
9 changes: 9 additions & 0 deletions src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ tests:
constraints:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: " !FLW.S.A0003 "
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533]

- label: "Read the global attribute: AttributeList"
PICS: FLW.S.A0003
command: "readAttribute"
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ tests:
command: "readAttribute"
attribute: "AttributeList"
response:
value: [0, 1, 2, 3, 4, 65528, 65529, 65531, 65532, 65533]
constraints:
type: list
contains: [0, 1, 2, 65528, 65529, 65531, 65532, 65533]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
Expand Down
5 changes: 2 additions & 3 deletions src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,21 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: PICS_SKIP_SAMPLE_APP
command: "readAttribute"
attribute: "AttributeList"
response:
value: [0, 15, 17]
constraints:
type: list
contains: [0, 15, 17]

- label: "Read the global attribute: AcceptedCommandList"
PICS: LVL.S.F02
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: [0, 1, 2, 3, 4, 5, 6, 7]
constraints:
type: list
contains: [0, 1, 2, 3, 4, 5, 6, 7]

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
Expand Down
Loading

0 comments on commit 62b1d9d

Please sign in to comment.