Skip to content

Commit

Permalink
[YAML Tests] Update the casing of some properties in some tests (#23890)
Browse files Browse the repository at this point in the history
* [YAML Tests] Update the casing of some properties in some tests

* Update generated tests code
  • Loading branch information
vivien-apple authored and pull[bot] committed Jan 26, 2023
1 parent 8b9b599 commit 6f80ab5
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/app/tests/suites/TestArmFailSafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tests:
cluster: "Operational Credentials"
attribute: "Fabrics"
response:
value: [{ Label: "", nodeId: nodeId }]
value: [{ Label: "", NodeId: nodeId }]
constraints:
type: list

Expand Down
40 changes: 20 additions & 20 deletions src/app/tests/suites/TestClusterMultiFabric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ tests:
# Write in a bogus value for the fabric index. This should never actually make it across the wire,
# nor be meaningfully ingested by a correct receiver.
#
fabricIndex: 100,
FabricIndex: 100,
fabricSensitiveInt8u: 33,
optionalFabricSensitiveInt8u: 34,
nullableFabricSensitiveInt8u: null,
Expand All @@ -95,7 +95,7 @@ tests:
fabricSensitiveInt8uList: [1, 2, 3, 4],
},
{
fabricIndex: 100,
FabricIndex: 100,
fabricSensitiveInt8u: 43,
optionalFabricSensitiveInt8u: 44,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -125,7 +125,7 @@ tests:
value:
[
{
fabricIndex: 100,
FabricIndex: 100,
fabricSensitiveInt8u: 133,
optionalFabricSensitiveInt8u: 134,
nullableFabricSensitiveInt8u: null,
Expand All @@ -145,7 +145,7 @@ tests:
fabricSensitiveInt8uList: [11, 12, 13, 14],
},
{
fabricIndex: 100,
FabricIndex: 100,
fabricSensitiveInt8u: 143,
optionalFabricSensitiveInt8u: 144,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -175,7 +175,7 @@ tests:
value:
[
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 33,
optionalFabricSensitiveInt8u: 34,
nullableFabricSensitiveInt8u: null,
Expand All @@ -195,7 +195,7 @@ tests:
fabricSensitiveInt8uList: [1, 2, 3, 4],
},
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 43,
optionalFabricSensitiveInt8u: 44,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -225,7 +225,7 @@ tests:
value:
[
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 133,
optionalFabricSensitiveInt8u: 134,
nullableFabricSensitiveInt8u: null,
Expand All @@ -245,7 +245,7 @@ tests:
fabricSensitiveInt8uList: [11, 12, 13, 14],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 143,
optionalFabricSensitiveInt8u: 144,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -287,7 +287,7 @@ tests:
value:
[
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 33,
optionalFabricSensitiveInt8u: 34,
nullableFabricSensitiveInt8u: null,
Expand All @@ -307,7 +307,7 @@ tests:
fabricSensitiveInt8uList: [1, 2, 3, 4],
},
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 43,
optionalFabricSensitiveInt8u: 44,
nullableFabricSensitiveInt8u: null,
Expand All @@ -327,7 +327,7 @@ tests:
fabricSensitiveInt8uList: [2, 3, 4, 5],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 0,
nullableFabricSensitiveInt8u: null,
fabricSensitiveCharString: "",
Expand All @@ -345,7 +345,7 @@ tests:
fabricSensitiveInt8uList: [],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 0,
nullableFabricSensitiveInt8u: null,
fabricSensitiveCharString: "",
Expand Down Expand Up @@ -374,7 +374,7 @@ tests:
value:
[
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 0,
nullableFabricSensitiveInt8u: null,
fabricSensitiveCharString: "",
Expand All @@ -392,7 +392,7 @@ tests:
fabricSensitiveInt8uList: [],
},
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 0,
nullableFabricSensitiveInt8u: null,
fabricSensitiveCharString: "",
Expand All @@ -410,7 +410,7 @@ tests:
fabricSensitiveInt8uList: [],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 133,
optionalFabricSensitiveInt8u: 134,
nullableFabricSensitiveInt8u: null,
Expand All @@ -430,7 +430,7 @@ tests:
fabricSensitiveInt8uList: [11, 12, 13, 14],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 143,
optionalFabricSensitiveInt8u: 144,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -460,7 +460,7 @@ tests:
value:
[
{
fabricIndex: 100,
FabricIndex: 100,
fabricSensitiveInt8u: 53,
optionalFabricSensitiveInt8u: 54,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -490,7 +490,7 @@ tests:
value:
[
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 133,
optionalFabricSensitiveInt8u: 134,
nullableFabricSensitiveInt8u: null,
Expand All @@ -510,7 +510,7 @@ tests:
fabricSensitiveInt8uList: [11, 12, 13, 14],
},
{
fabricIndex: 2,
FabricIndex: 2,
fabricSensitiveInt8u: 143,
optionalFabricSensitiveInt8u: 144,
nullableFabricSensitiveInt8u: null,
Expand Down Expand Up @@ -540,7 +540,7 @@ tests:
value:
[
{
fabricIndex: 1,
FabricIndex: 1,
fabricSensitiveInt8u: 53,
optionalFabricSensitiveInt8u: 54,
nullableFabricSensitiveInt8u: null,
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/TestModeSelectCluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ tests:
response:
value:
[
{ Label: "Black", Mode: 0, SemanticTags: [{ "value": 0 }] },
{ Label: "Black", Mode: 0, SemanticTags: [{ "Value": 0 }] },
{
Label: "Cappuccino",
Mode: 4,
SemanticTags: [{ "value": 0 }],
SemanticTags: [{ "Value": 0 }],
},
{
Label: "Espresso",
Mode: 7,
SemanticTags: [{ "value": 0 }],
SemanticTags: [{ "Value": 0 }],
},
]
constraints:
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/TestMultiAdmin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ tests:
attribute: "Fabrics"
fabricFiltered: false
response:
value: [{ "nodeID": nodeId }]
value: [{ "NodeId": nodeId }]

- label: "Close Commissioning Window after failed commissioning"
cluster: "AdministratorCommissioning"
Expand Down
7 changes: 7 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.

18 changes: 18 additions & 0 deletions zzz_generated/darwin-framework-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 6f80ab5

Please sign in to comment.