Skip to content

Commit

Permalink
Fix some typos in src/app/tests/suites/certification/Test_TC_CADMIN_1… (
Browse files Browse the repository at this point in the history
#24471)

* Fix some typos in src/app/tests/suites/certification/Test_TC_CADMIN_1_*.yaml

* Update generated tests content
  • Loading branch information
vivien-apple authored and pull[bot] committed Jun 9, 2023
1 parent ba42d22 commit 5371134
Show file tree
Hide file tree
Showing 13 changed files with 179 additions and 141 deletions.
44 changes: 18 additions & 26 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

#Check for DNS-SD advertisement CM is not possible in YAML
Expand Down Expand Up @@ -148,11 +148,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR2 starts a commissioning process with DUT_CE"
Expand Down Expand Up @@ -188,11 +188,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label:
Expand All @@ -209,11 +209,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"
response:
error: FAILURE
Expand All @@ -228,9 +228,9 @@ tests:
response:
value:
[
{ Label: "", nodeId: nodeId },
{ Label: "", nodeId: nodeId3 },
{ Label: "", nodeID: nodeId2 },
{ Label: "", NodeId: nodeId },
{ Label: "", NodeId: nodeId3 },
{ Label: "", NodeId: nodeId2 },
]
constraints:
type: list
Expand All @@ -256,8 +256,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

#Check for DNS-SD advertisement CM is not possible in YAML
- label: "Verify that the DNS-SD advertisement shows CM=1"
Expand Down Expand Up @@ -294,8 +292,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator
response:
error: FAILURE
clusterError: 2
Expand All @@ -319,9 +315,9 @@ tests:
response:
value:
[
{ Label: "", nodeId: nodeId },
{ Label: "", nodeId: nodeId3 },
{ Label: "", nodeID: nodeId2 },
{ Label: "", NodeId: nodeId },
{ Label: "", NodeId: nodeId3 },
{ Label: "", NodeId: nodeId2 },
]
constraints:
type: list
Expand All @@ -335,8 +331,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label:
"Before the expiration of PIXIT.CADMIN.CwDuration seconds that was set
Expand All @@ -351,8 +345,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator
response:
error: FAILURE
clusterError: 2
48 changes: 21 additions & 27 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR1 reads WindowStatus attribute from DUT_CE"
cluster: "AdministratorCommissioning"
Expand Down Expand Up @@ -238,8 +236,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR2 starts a commissioning process with DUT_CE"
identity: "beta"
Expand Down Expand Up @@ -271,8 +267,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR1 opens a 2nd commissioning window on DUT_CE"
identity: "alpha"
Expand All @@ -286,11 +280,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"
response:
error: FAILURE
Expand All @@ -306,9 +300,9 @@ tests:
response:
value:
[
{ Label: "", nodeId: nodeId },
{ Label: "", nodeId: nodeId2 },
{ Label: "", nodeID: nodeId3 },
{ Label: "", NodeId: nodeId },
{ Label: "", NodeId: nodeId2 },
{ Label: "", NodeId: nodeId3 },
]
constraints:
type: list
Expand All @@ -333,11 +327,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR1 reads WindowStatus attribute from DUT_CE"
Expand Down Expand Up @@ -388,11 +382,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"
response:
error: FAILURE
Expand All @@ -408,9 +402,9 @@ tests:
response:
value:
[
{ Label: "", nodeId: nodeId },
{ Label: "", nodeId: nodeId2 },
{ Label: "", nodeID: nodeId3 },
{ Label: "", NodeId: nodeId },
{ Label: "", NodeId: nodeId2 },
{ Label: "", NodeId: nodeId3 },
]
constraints:
type: list
Expand All @@ -435,11 +429,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR2 opens a 2nd commissioning window on DUT_CE using ECM"
Expand All @@ -454,11 +448,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"
response:
error: FAILURE
Expand Down
34 changes: 17 additions & 17 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR2 starts a commissioning process with DUT_CE"
Expand Down Expand Up @@ -120,11 +120,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR3 Commissions with DUT_CE"
Expand Down Expand Up @@ -159,9 +159,9 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 2, nodeId: nodeId2 },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 2, NodeId: nodeId2 },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
Expand Down Expand Up @@ -222,8 +222,8 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
Expand Down Expand Up @@ -270,11 +270,11 @@ tests:
value: 180
- name: "PAKEPasscodeVerifier"
value: PakeVerifier
- name: "discriminator"
- name: "Discriminator"
value: discriminator
- name: "iterations"
- name: "Iterations"
value: 1000
- name: "salt"
- name: "Salt"
value: "SPAKE2P Key Salt"

- label: "TH_CR2 starts a commissioning process with DUT_CE"
Expand Down Expand Up @@ -309,9 +309,9 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 4, nodeId: nodeId2 },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 4, NodeId: nodeId2 },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
22 changes: 8 additions & 14 deletions src/app/tests/suites/certification/Test_TC_CADMIN_1_16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR2 starts a commissioning process with DUT_CE"
identity: "beta"
Expand Down Expand Up @@ -110,8 +108,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR3 Commissions with DUT_CE"
PICS: CADMIN.S
Expand Down Expand Up @@ -145,9 +141,9 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 2, nodeId: nodeId2 },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 2, NodeId: nodeId2 },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
Expand Down Expand Up @@ -208,8 +204,8 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
Expand All @@ -224,8 +220,6 @@ tests:
values:
- name: "CommissioningTimeout"
value: 180
- name: "discriminator"
value: discriminator

- label: "TH_CR2 starts a commissioning process with DUT_CE"
identity: "beta"
Expand Down Expand Up @@ -259,9 +253,9 @@ tests:
response:
value:
[
{ Label: "", FabricIndex: 1, nodeId: nodeId },
{ Label: "", FabricIndex: 4, nodeId: nodeId2 },
{ Label: "", FabricIndex: 3, nodeID: nodeId3 },
{ Label: "", FabricIndex: 1, NodeId: nodeId },
{ Label: "", FabricIndex: 4, NodeId: nodeId2 },
{ Label: "", FabricIndex: 3, NodeId: nodeId3 },
]
constraints:
type: list
Loading

0 comments on commit 5371134

Please sign in to comment.