Skip to content

Commit

Permalink
Fix typos in Test_TC_ACL_2_10.yaml and Test_TC_ACL_2_8.yaml (project-…
Browse files Browse the repository at this point in the history
…chip#24881)

* Fix typos in Test_TC_ACL_2_10.yaml and Test_TC_ACL_2_8.yaml

* Update generated tests content
  • Loading branch information
vivien-apple authored Feb 6, 2023
1 parent 8e13d81 commit e43bc32
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 24 deletions.
10 changes: 5 additions & 5 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ tests:
- label:
"Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"
PICS: ACL.S.A0000
command: "readAttribute"
command: "writeAttribute"
attribute: "ACL"
arguments:
value:
Expand All @@ -233,13 +233,13 @@ tests:
]

- label:
"Step 11:TH1 resds DUT Endpoint 0 AccessControl cluster Extension
"Step 11:TH1 reads DUT Endpoint 0 AccessControl cluster Extension
attribute, value is list of AccessControlExtensionStruct containing 1
element"
PICS: ACL.S.A0001
command: "readAttribute"
attribute: "Extension"
arguments:
response:
value: [{ Data: D_OK_EMPTY, FabricIndex: TH1FabricIndex }]

- label:
Expand Down Expand Up @@ -333,8 +333,8 @@ tests:
PICS: ACL.S.A0001
command: "readAttribute"
attribute: "Extension"
arguments:
value: [{ Data: D_OK_EMPTY, FabricIndex: CurrentFabricIndex }]
response:
value: [{ Data: D_OK_EMPTY, FabricIndex: TH1FabricIndex }]

- label:
"Step 18: If DUT is an app on host, examine persistent storage in
Expand Down
20 changes: 10 additions & 10 deletions src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -116,8 +116,8 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId, 2222],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand All @@ -128,12 +128,12 @@ tests:
PICS: ACL.S.A0000
command: "readAttribute"
attribute: "ACL"
arguments:
response:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -145,12 +145,12 @@ tests:
identity: "beta"
command: "readAttribute"
attribute: "ACL"
arguments:
response:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId, 2222],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand Down
116 changes: 107 additions & 9 deletions zzz_generated/chip-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e43bc32

Please sign in to comment.