Skip to content

Commit

Permalink
Fix some typos related to the readEvent command in Test_TC_ACL_2_7.ya…
Browse files Browse the repository at this point in the history
…ml, Test_TC_ACL_2_8.yaml and Test_TC_ACL_2_10.yaml (#24780)

* Fix some typos related to the readEvent command in Test_TC_ACL_2_7.yaml and Test_TC_ACL_2_8.yaml

* Update generated tests content
  • Loading branch information
vivien-apple authored and pull[bot] committed Nov 13, 2023
1 parent 7599663 commit 9865129
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 50 deletions.
40 changes: 20 additions & 20 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
},
{
Privilege: "3",
AuthMode: "3",
Privilege: 3,
AuthMode: 3,
Subjects: [3333],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -137,15 +137,15 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId, 2222],
Targets: null,
FabricIndex: TH2FabricIndex,
},
{
Privilege: "3",
AuthMode: "3",
Privilege: 3,
AuthMode: 3,
Subjects: [4444],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand Down Expand Up @@ -217,15 +217,15 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
},
{
Privilege: "3",
AuthMode: "3",
Privilege: 3,
AuthMode: 3,
Subjects: [3333],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -252,15 +252,15 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId, 2222],
Targets: null,
FabricIndex: TH2FabricIndex,
},
{
Privilege: "3",
AuthMode: "3",
Privilege: 3,
AuthMode: 3,
Subjects: [4444],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand Down Expand Up @@ -311,15 +311,15 @@ tests:
value:
[
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
},
{
Privilege: "3",
AuthMode: "3",
Privilege: 3,
AuthMode: 3,
Subjects: [3333],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand Down
32 changes: 14 additions & 18 deletions src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,16 +144,14 @@ tests:
event: "AccessControlExtensionChanged"
response:
value:
[
{
AdminNodeID: TH1CommissionerNodeId,
AdminPasscodeID: null,
ChangeType: 1,
LatestValue:
{ Data: D_OK_EMPTY, FabricIndex: TH1FabricIndex },
},
{
AdminNodeID: TH1CommissionerNodeId,
AdminPasscodeID: null,
ChangeType: 1,
LatestValue:
{ Data: D_OK_EMPTY, FabricIndex: TH1FabricIndex },
FabricIndex: TH1FabricIndex,
]
}

- label:
"Step 11:TH2 reads DUT Endpoint 0 AccessControl cluster
Expand All @@ -164,13 +162,11 @@ tests:
event: "AccessControlExtensionChanged"
response:
value:
[
{
AdminNodeID: TH2CommissionerNodeId,
AdminPasscodeID: null,
ChangeType: 1,
LatestValue:
{ Data: D_OK_SINGLE, FabricIndex: TH2FabricIndex },
},
{
AdminNodeID: TH2CommissionerNodeId,
AdminPasscodeID: null,
ChangeType: 1,
LatestValue:
{ Data: D_OK_SINGLE, FabricIndex: TH2FabricIndex },
FabricIndex: TH2FabricIndex,
]
}
24 changes: 12 additions & 12 deletions src/app/tests/suites/certification/Test_TC_ACL_2_8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ tests:
ChangeType: 1,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -188,8 +188,8 @@ tests:
ChangeType: 2,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -204,8 +204,8 @@ tests:
ChangeType: 1,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH1CommissionerNodeId, 1111],
Targets: null,
FabricIndex: TH1FabricIndex,
Expand All @@ -229,8 +229,8 @@ tests:
ChangeType: 1,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand All @@ -245,8 +245,8 @@ tests:
ChangeType: 2,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand All @@ -261,8 +261,8 @@ tests:
ChangeType: 1,
LatestValue:
{
Privilege: "5",
AuthMode: "2",
Privilege: 5,
AuthMode: 2,
Subjects: [TH2CommissionerNodeId, 2222],
Targets: null,
FabricIndex: TH2FabricIndex,
Expand Down
31 changes: 31 additions & 0 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 9865129

Please sign in to comment.