Skip to content

Commit

Permalink
Modified the test to make use of the contains check that now supports…
Browse files Browse the repository at this point in the history
… structs
  • Loading branch information
lpbeliveau-silabs committed Nov 3, 2023
1 parent 754a938 commit 6ea3a9b
Showing 1 changed file with 3 additions and 59 deletions.
62 changes: 3 additions & 59 deletions src/app/tests/suites/certification/Test_TC_S_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,9 @@ tests:
- name: "TransitionTime"
value: 0x0000
- name: "ExtensionFieldSets"
value:
[
constraints:
type: list
contains: [
{
ClusterID: 0x0006,
AttributeValueList:
Expand All @@ -461,64 +462,7 @@ tests:
AttributeValueList:
[{ AttributeID: 0x0000, AttributeValue: 0x64 }],
},
{
ClusterID: 0x0300,
AttributeValueList:
[
{
AttributeID: 0x0003,
AttributeValue: 0x616b,
},
{
AttributeID: 0x0004,
AttributeValue: 0x607d,
},
{
AttributeID: 0x4000,
AttributeValue: 0x0000,
},
{
AttributeID: 0x0001,
AttributeValue: 0x00,
},
{
AttributeID: 0x4002,
AttributeValue: 0x00,
},
{
AttributeID: 0x4003,
AttributeValue: 0x00,
},
{
AttributeID: 0x4004,
AttributeValue: 0x0019,
},
{
AttributeID: 0x0007,
AttributeValue: 0x00,
},
{
AttributeID: 0x4001,
AttributeValue: 0x02,
},
],
},
]
#TODO : Need to change the check for a check like below if possible
# constraints:
# type: list
# contains: [
# {
# ClusterID: 0x0006,
# AttributeValueList:
# [{ AttributeID: 0x0000, AttributeValue: 0x01 }],
# },
# {
# ClusterID: 0x0008,
# AttributeValueList:
# [{ AttributeID: 0x0000, AttributeValue: 0x64 }],
# },
# ]

- label:
"Step 5: TH sends a ViewScene command to DUT with the GroupID field
Expand Down

0 comments on commit 6ea3a9b

Please sign in to comment.