Skip to content

Commit

Permalink
Test added sep13 (#22586)
Browse files Browse the repository at this point in the history
* Added Updated Scripts

* Added Auto generated script

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Oct 14, 2022
1 parent ae923da commit e7f10ec
Show file tree
Hide file tree
Showing 16 changed files with 427 additions and 443 deletions.
40 changes: 20 additions & 20 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -466,74 +466,74 @@ PICS:
id: CC.C.A003c

- label: "Does the device implement receiving the MoveToHue command?"
id: CC.C.C00.Rsp
id: CC.C.C00.Tx

- label: "Does the device implement receiving the MoveHue command?"
id: CC.C.C01.Rsp
id: CC.C.C01.Tx

- label: "Does the device implement receiving the MoveToHue command?"
id: CC.C.C02.Rsp
id: CC.C.C02.Tx

- label: "Does the device implement receiving the MoveToSaturation command?"
id: CC.C.C03.Rsp
id: CC.C.C03.Tx

- label: "Does the device implement receiving the MoveSaturation command?"
id: CC.C.C04.Rsp
id: CC.C.C04.Tx

- label: "Does the device implement receiving the StepSaturation command?"
id: CC.C.C05.Rsp
id: CC.C.C05.Tx

- label:
"Does the device implement receiving the MoveToHueAndSaturation
command?"
id: CC.C.C06.Rsp
id: CC.C.C06.Tx

- label: "Does the device implement receiving the MoveToColor command?"
id: CC.C.C07.Rsp
id: CC.C.C07.Tx

- label: "Does the device implement receiving the MoveColor command?"
id: CC.C.C08.Rsp
id: CC.C.C08.Tx

- label: "Does the device implement receiving the StopMoveStep command?"
id: CC.C.C47.Rsp
id: CC.C.C47.Tx

- label: "Does the device implement receiving the StepColor command?"
id: CC.C.C09.Rsp
id: CC.C.C09.Tx

- label:
"Does the device implement receiving the MoveToColorTemperature
command?"
id: CC.C.C0a.Rsp
id: CC.C.C0a.Tx

- label:
"Does the device implement receiving the MoveColorTemperature command?"
id: CC.C.C4b.Rsp
id: CC.C.C4b.Tx

- label:
"Does the device implement receiving the StepColorTemperature command?"
id: CC.C.C4c.Rsp
id: CC.C.C4c.Tx

- label:
"Does the device implement receiving the EnhancedMoveToHue command?"
id: CC.C.C40.Rsp
id: CC.C.C40.Tx

- label: "Does the device implement receiving the EnhancedMoveHue command?"
id: CC.C.C41.Rsp
id: CC.C.C41.Tx

- label: "Does the device implement receiving the EnhancedStepHue command?"
id: CC.C.C42.Rsp
id: CC.C.C42.Tx

- label:
"Does the device implement receiving the
EnhancedMoveToHueAndSaturation command?"
id: CC.C.C43.Rsp
id: CC.C.C43.Tx

- label: "Does the device implement receiving the ColorLoopSet command?"
id: CC.C.C44.Rsp
id: CC.C.C44.Tx

- label:
"Does the device implement sending the MoveToColorTemperature command?"
id: CC.C.C0a.Rsp
id: CC.C.C0a.Tx

# Relative Humidity cluster
- label: "Does the device implement the MeasuredValue attribute?"
Expand Down
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_ACL_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ tests:
- label: "TH1 commissions DUT using admin node ID N1"
verification: |
DUT
sudo ./chip-all-clusters-app
sudo ./chip-all-clusters-app --wifi
TH1
./chip-tool pairing ble-wifi 1 zigbee-thread matter123 20202021 3841
Expand Down Expand Up @@ -584,7 +584,7 @@ tests:
- label:
"TH1 writes DUT Endpoint 0 AccessControl cluster Extension attribute,
value is list of AccessControlExtensionStruct containing 1 element
1.struct Data field: D_BAD_NOnE"
1.struct Data field: D_BAD_NONE"
PICS: ACL.S.A0001
verification: |
./chip-tool accesscontrol write extension '[{"data":""}]' 1 0
Expand Down
230 changes: 122 additions & 108 deletions src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml

Large diffs are not rendered by default.

292 changes: 76 additions & 216 deletions src/app/tests/suites/certification/Test_TC_ACL_2_6.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ tests:
"TH2 reads DUT Endpoint 0 OperationalCredentials cluster
CurrentFabricIndex attribute"
verification: |
./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-name-beta
./chip-tool operationalcredentials read current-fabric-index 2 0 --commissioner-name beta
On TH2(Chiptool), verify CurrentFabricIndex attribute of operationalCredential cluster as 2
[1657186956.724761][3910:3915] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0005 DataVersion: 3161849734
Expand Down Expand Up @@ -203,7 +203,7 @@ tests:
[1657187433.621369][10890:10895] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Attribute 0x0000_0001 DataVersion: 3415499944
[1657187433.621422][10890:10895] CHIP:TOO: Extension: 1 entries
[1657187433.621470][10890:10895] CHIP:TOO: [1]: {
[1657187433.621498][10890:10895] CHIP:TOO: Data: 1000110010001100
[1657187433.621498][10890:10895] CHIP:TOO: Data: 1718
[1657187433.621534][10890:10895] CHIP:TOO: FabricIndex: 1
[1657187433.621557][10890:10895] CHIP:TOO: }
disabled: true
Expand Down Expand Up @@ -252,7 +252,7 @@ tests:
AccessControlExtensionChanged event"
PICS: ACL.S.E01
verification: |
./chip-tool accesscontrol read-event access-control-extension-changed 2 --commissioner-name beta
./chip-tool accesscontrol read-event access-control-extension-changed 2 0 --commissioner-name beta
On TH2(Chiptool) , Verify AccessControlExtensionChanged containing 1 element, and MUST NOT contain an element with FabricIndex F1
[1658327551.622018][4295:4300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001F Event 0x0000_0001
[1658327551.622043][4295:4300] CHIP:TOO: Event number: 6
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CC_3_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests:
disabled: true

- label: "DUT sends MoveToHue command to TH"
PICS: CC.C.C00.Rsp
PICS: CC.C.C00.Tx
verification: |
./chip-tool colorcontrol move-to-hue 1 0 300 0 0 1 1
Expand Down Expand Up @@ -81,7 +81,7 @@ tests:

- label:
"DUT reads CurrentHue attribute from TH (potentially multiple times)"
PICS: CC.C.C00.Rsp && CC.C.A0000
PICS: CC.C.C00.Tx && CC.C.A0000
verification: |
./chip-tool colorcontrol read current-hue 1 1
Expand Down Expand Up @@ -113,7 +113,7 @@ tests:
disabled: true

- label: "DUT sends MoveHue command to TH"
PICS: CC.C.C01.Rsp
PICS: CC.C.C01.Tx
verification: |
./chip-tool colorcontrol move-hue 1 10 0 0 1 1
Expand Down Expand Up @@ -153,7 +153,7 @@ tests:
disabled: true

- label: "DUT reads CurrentHue attribute (potentially multiple times)"
PICS: CC.C.C01.Rsp && CC.C.A0000
PICS: CC.C.C01.Tx && CC.C.A0000
verification: |
./chip-tool colorcontrol read current-hue 1 1
Expand Down Expand Up @@ -187,7 +187,7 @@ tests:
disabled: true

- label: "DUT sends StepHue command to TH"
PICS: CC.C.C02.Rsp
PICS: CC.C.C02.Tx
verification: |
./chip-tool colorcontrol step-hue 1 10 200 0 0 1 1
Expand Down Expand Up @@ -230,7 +230,7 @@ tests:

- label:
"DUT reads CurrentHue attribute from TH (potentially multiple times)"
PICS: CC.C.C02.Rsp && CC.C.A0000
PICS: CC.C.C02.Tx && CC.C.A0000
verification: |
./chip-tool colorcontrol read current-hue 1 1
Expand Down Expand Up @@ -263,7 +263,7 @@ tests:
disabled: true

- label: "DUT sends StopMoveStep command to TH."
PICS: CC.C.C47.Rsp
PICS: CC.C.C47.Tx
verification: |
./chip-tool colorcontrol stop-move-step 0 0 1 1
Expand Down Expand Up @@ -301,7 +301,7 @@ tests:
disabled: true

- label: "Over TransitionTime, DUT reads CurrentHue attribute from TH."
PICS: CC.C.C47.Rsp && CC.C.A0000
PICS: CC.C.C47.Tx && CC.C.A0000
verification: |
./chip-tool colorcontrol read current-hue 1 1
Expand Down
20 changes: 10 additions & 10 deletions src/app/tests/suites/certification/Test_TC_CC_4_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests:
disabled: true

- label: "DUT sends MoveToSaturation command to TH"
PICS: CC.C.C03.Rsp
PICS: CC.C.C03.Tx
verification: |
./chip-tool colorcontrol move-to-saturation 200 300 0 0 1 1
Expand Down Expand Up @@ -82,7 +82,7 @@ tests:
- label:
"DUT reads CurrentSaturation attribute from TH (potentially multiple
times)"
PICS: CC.C.C03.Rsp && CC.C.A0001
PICS: CC.C.C03.Tx && CC.C.A0001
verification: |
./chip-tool colorcontrol read current-saturation 1 1
Expand Down Expand Up @@ -116,7 +116,7 @@ tests:
disabled: true

- label: "DUT sends MoveSaturation command to TH"
PICS: CC.C.C04.Rsp
PICS: CC.C.C04.Tx
verification: |
./chip-tool colorcontrol move-saturation 1 10 0 0 1 1
Expand Down Expand Up @@ -159,7 +159,7 @@ tests:

- label:
"DUT reads CurrentSaturation attribute (potentially multiple times)"
PICS: CC.C.C04.Rsp && CC.C.A0001
PICS: CC.C.C04.Tx && CC.C.A0001
verification: |
./chip-tool colorcontrol read current-saturation 1 1
Expand Down Expand Up @@ -193,7 +193,7 @@ tests:
disabled: true

- label: "DUT sends StepSaturation command to TH"
PICS: CC.C.C05.Rsp
PICS: CC.C.C05.Tx
verification: |
./chip-tool colorcontrol step-saturation 1 10 200 0 0 1 1
Expand Down Expand Up @@ -236,7 +236,7 @@ tests:
- label:
"DUT reads CurrentSaturation attribute from TH (potentially multiple
times)"
PICS: CC.C.C05.Rsp && CC.C.A0001
PICS: CC.C.C05.Tx && CC.C.A0001
verification: |
./chip-tool colorcontrol read current-saturation 1 1
Expand Down Expand Up @@ -268,7 +268,7 @@ tests:
disabled: true

- label: "DUT sends MoveToHueAndSaturation command to TH"
PICS: CC.C.C06.Rsp
PICS: CC.C.C06.Tx
verification: |
./chip-tool colorcontrol move-to-hue-and-saturation 100 200 200 0 0 1 1
Expand Down Expand Up @@ -312,7 +312,7 @@ tests:
- label:
"DUT reads CurrentHue and CurrentSaturation attributes from TH
(potentially multiple times)"
PICS: CC.C.C06.Rsp && CC.C.A0000 && CC.C.A0001
PICS: CC.C.C06.Tx && CC.C.A0000 && CC.C.A0001
verification: |
./chip-tool colorcontrol read current-hue 1 1
Expand Down Expand Up @@ -377,7 +377,7 @@ tests:
disabled: true

- label: "DUT sends StopMoveStep command to TH."
PICS: CC.C.C47.Rsp
PICS: CC.C.C47.Tx
verification: |
./chip-tool colorcontrol stop-move-step 0 0 1 1
Expand Down Expand Up @@ -416,7 +416,7 @@ tests:

- label:
"Over TransitionTime, DUT reads CurrentSaturation attribute from TH."
PICS: CC.C.C47.Rsp && CC.C.A0001
PICS: CC.C.C47.Tx && CC.C.A0001
verification: |
./chip-tool colorcontrol read current-saturation 1 1
Expand Down
16 changes: 8 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CC_5_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tests:
disabled: true

- label: "DUT sends MoveToColor command to TH"
PICS: CC.C.C07.Rsp
PICS: CC.C.C07.Tx
verification: |
./chip-tool colorcontrol move-to-color 400 500 300 0 0 1 1
Expand Down Expand Up @@ -82,7 +82,7 @@ tests:
- label:
"DUT reads CurrentX and CurrentY attributes from TH (potentially
multiple times)"
PICS: CC.C.C07.Rsp && CC.C.A0003 && CC.C.A0004
PICS: CC.C.C07.Tx && CC.C.A0003 && CC.C.A0004
verification: |
./chip-tool colorcontrol read current-x 1 1
Expand Down Expand Up @@ -144,7 +144,7 @@ tests:
disabled: true

- label: "DUT sends MoveColor command to TH"
PICS: CC.C.C08.Rsp
PICS: CC.C.C08.Tx
verification: |
./chip-tool colorcontrol move-color 10 20 0 0 1 1
Verify success response in TH(all-clusters-app) Log:
Expand Down Expand Up @@ -185,7 +185,7 @@ tests:
- label:
"DUT reads CurrentX and CurrentY attributes from TH (potentially
multiple times)"
PICS: CC.C.C08.Rsp && CC.C.A0003 && CC.C.A0004
PICS: CC.C.C08.Tx && CC.C.A0003 && CC.C.A0004
verification: |
./chip-tool colorcontrol read current-x 1 1
Expand Down Expand Up @@ -247,7 +247,7 @@ tests:
disabled: true

- label: "DUT sends StepColor command to TH"
PICS: CC.C.C09.Rsp
PICS: CC.C.C09.Tx
verification: |
./chip-tool colorcontrol step-color 100 100 200 0 0 1 1
Expand Down Expand Up @@ -289,7 +289,7 @@ tests:
- label:
"DUT reads CurrentX and CurrentY attributes from TH (potentially
multiple times)"
PICS: CC.C.C09.Rsp && CC.C.A0003 && CC.C.A0004
PICS: CC.C.C09.Tx && CC.C.A0003 && CC.C.A0004
verification: |
./chip-tool colorcontrol read current-x 1 1
Expand Down Expand Up @@ -353,7 +353,7 @@ tests:
disabled: true

- label: "DUT sends StopMoveStep command to TH."
PICS: CC.C.C47.Rsp
PICS: CC.C.C47.Tx
verification: |
./chip-tool colorcontrol stop-move-step 0 0 1 1
Expand Down Expand Up @@ -393,7 +393,7 @@ tests:
- label:
"DUT reads CurrentX and CurrentY attributes from TH (potentially
multiple times)"
PICS: CC.C.C47.Rsp && CC.C.A0003 && CC.C.A0004
PICS: CC.C.C47.Tx && CC.C.A0003 && CC.C.A0004
verification: |
./chip-tool colorcontrol read current-x 1 1
Expand Down
Loading

0 comments on commit e7f10ec

Please sign in to comment.