Skip to content

Commit

Permalink
updated Scripts july 23 (#21132)
Browse files Browse the repository at this point in the history
* Added Updated scripts

* Added Auto generated files

* Restyled by whitespace

* Restyled by clang-format

* Added Auto generated file

* Restyled by clang-format

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Jul 17, 2023
1 parent f83d24c commit 2191356
Show file tree
Hide file tree
Showing 118 changed files with 8,944 additions and 4,598 deletions.
96 changes: 92 additions & 4 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2080,15 +2080,15 @@ PICS:

- label:
"Does the DUT support the Media Playback server cluster Play command?"
id: MEDIAPLAYBACK.S.C0000
id: MEDIAPLAYBACK.S.C00.Rsp

- label:
"Does the DUT support the Media Playback server cluster Pause command?"
id: MEDIAPLAYBACK.S.C0001
id: MEDIAPLAYBACK.S.C01.Rsp

- label:
"Does the DUT support the Media Playback server cluster Stop command?"
id: MEDIAPLAYBACK.S.C0002
id: MEDIAPLAYBACK.S.C02.Rsp

- label:
"Does the DUT support the Media Playback server cluster StartOver
Expand Down Expand Up @@ -2834,6 +2834,49 @@ PICS:
- label: "Does the Commissioner support Discovery Capability over BLE?"
id: MCORE.DD.DISCOVERY_BLE

- label: "Does the device support discovery over Wi-Fi?"
id: MCORE.DD.WIFI

- label: "Does the device have a vendor specific information element (IE)?"
id: MCORE.DD.IE

- label:
"Does the device support TXT Key 'DN' (Device Name) in it’s DNS-SD TXT
Records for Commissionable Node Discovery?"
id: MCORE.DD.TXT_KEY_DN

- label:
"Does the device support TXT Key 'RI' (Rotating Identifier) in it’s
DNS-SD TXT Records for Commissionable Node Discovery?"
id: MCORE.DD.TXT_KEY_RI

- label:
"Does the device support TXT Key 'PH' (Pairing Hint) in it’s DNS-SD
TXT Records for Commissionable Node Discovery?"
id: MCORE.DD.TXT_KEY_PH

- label:
"Does the device support TXT Key 'PI' (Pairing Instruction) in it’s
DNS-SD TXT Records for Commissionable Node Discovery?"
id: MCORE.DD.TXT_KEY_PI

- label:
"Does the device support Extended Discovery through DNS-SD
advertisements when device is not in commissioning mode?"
id: MCORE.DD.EXTENDED_DISCOVERY

- label:
"Does the device support advertising the Vendor ID Commissioning
Subtype in Commissionable Node Discovery through DNS-SD
advertisements?"
id: MCORE.DD.COMMISSIONING_SUBTYPE_V

- label:
"Does the device support advertising the Device Type Commissioning
Subtype in Commissionable Node Discovery through DNS-SD
advertisements?"
id: MCORE.DD.COMMISSIONING_SUBTYPE_T

#Ethernet Network Diagnostics Cluster
- label: "Does the device implement the ResetCounts command?"
id: DGETH.S.C00.Rsp
Expand Down Expand Up @@ -4501,7 +4544,6 @@ PICS:
- label: "Does the DUT support the AccessControlExtensionChanged Event?"
id: ACL.S.E01

#Mode select
#Mode select
- label: "Does the DUT support the StartUpMode attribute?"
id: MOD.S.A0004
Expand Down Expand Up @@ -4539,3 +4581,49 @@ PICS:
"Does commissionee provide a Firmware Information field in the
AttestationResponse?"
id: MCORE.DA.ATTESTELEMENT_FW_INFO

#Descriptor Cluster TestPlan
#server
- label: "Does the DUT(server) support the DEVICETYPELIST attribute?"
id: DESC.S.A0000

- label: "Does the DUT(server) support the SERVERLIST attribute?"
id: DESC.S.A0001

- label: "Does the DUT(server) support the CLIENTLIST attribute?"
id: DESC.S.A0002

- label: "Does the DUT(server) support the PARTSLIST attribute?"
id: DESC.S.A0003

- label: "Does the DUT(server) support the REVISIONFIELD attribute?"
id: DESC.S.A0004

#cluster
- label: "Does the DUT(client) support the DEVICETYPELIST attribute?"
id: DESC.C.A0000

- label: "Does the DUT(client) support the SERVERLIST attribute?"
id: DESC.C.A0001

- label: "Does the DUT(client) support the CLIENTLIST attribute?"
id: DESC.C.A0002

- label: "Does the DUT(client) support the PARTSLIST attribute?"
id: DESC.C.A0003

- label: "Does the DUT(client) support the REVISIONFIELD attribute?"
id: DESC.C.A0004

#Secure Channel
- label:
"Does device support optional key SII in operational discovery mDNS?"
id: MCORE.SC.SII_OP_DISCOVERY_KEY

- label:
"Does device support optional key SII in operational discovery mDNS?"
id: MCORE.SC.SAI_OP_DISCOVERY_KEY

- label:
"Does device support optional key SII in operational discovery mDNS?"
id: MCORE.SC.T_KEY
678 changes: 388 additions & 290 deletions src/app/tests/suites/certification/Test_TC_ACL_2_4.yaml

Large diffs are not rendered by default.

261 changes: 132 additions & 129 deletions src/app/tests/suites/certification/Test_TC_ACL_2_7.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,30 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: ACT.S.A0002
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1, 2]
contains: [0, 1]

- label: "Read the global attribute: AttributeList"
PICS: " !ACT.S.A0002 "
- label: "Read the optional attribute(SetupURL) in AttributeList"
PICS: ACT.S.A0002
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0, 1]
contains: [0, 1, 2]

# Checking only type check all attributes are optional
- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
value: []
constraints:
type: list
maxLength: 11

- label: "Read the global attribute: GeneratedCommandList"
command: "readAttribute"
Expand Down
28 changes: 27 additions & 1 deletion src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,40 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: APBSC.S.A0000 && APBSC.S.A0001 && APBSC.S.A0003
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [2, 4, 5, 6, 7, 65528, 65529, 65531, 65532, 65533]

- label: "Read the optional attribute(VendorName) in AttributeList"
PICS: APBSC.S.A0000
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [0]

- label: "Read the optional attribute(VendorID) in AttributeList"
PICS: APBSC.S.A0001
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [1]

- label: "Read the optional attribute(ProductID) in AttributeList"
PICS: APBSC.S.A0003
command: "readAttribute"
attribute: "AttributeList"
response:
constraints:
type: list
contains: [3]

- label: "Read the global attribute: AcceptedCommandList"
command: "readAttribute"
attribute: "AcceptedCommandList"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ tests:
type: map32

- label: "Read the global attribute: AttributeList"
PICS: APPLAUNCHER.S.A0000 && APPLAUNCHER.S.A0001
command: "readAttribute"
attribute: "AttributeList"
response:
Expand Down
21 changes: 15 additions & 6 deletions src/app/tests/suites/certification/Test_TC_BIND_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default

name: 117.1.1. [TC-BIND-1.1] Global Attributes [DUT-Controller]
name: 118.1.1. [TC-BIND-1.1] Global Attributes [DUT-Controllee]

config:
nodeId: 0x12344321
Expand All @@ -30,14 +30,17 @@ tests:
verification: |
./chip-tool binding read cluster-revision 1 0
On TH, verify DUT responsds ClusterRevision attribute as the value 1
[1649417989.863435][3040:3045] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFD DataVersion: 1411817517
[1649417989.863557][3040:3045] CHIP:TOO: ClusterRevision: 1
[1649417989.863691][3040:3045] CHIP:EM: Sending Standalone Ack for MessageCounter:2888019 on exchange 4263i
disabled: true

- label: "TH1 reads the FeatureMap from DUT"
verification: |
./chip-tool binding read feature-map 1 0
./chip-tool binding read feature-map 1 0
Verify on the TH Log:
[1653560808.265422][3439:3444] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFC DataVersion: 2519252823
[1653560808.265507][3439:3444] CHIP:TOO: FeatureMap: 0
Expand All @@ -47,6 +50,8 @@ tests:
verification: |
./chip-tool binding read attribute-list 1 0
Verify on the TH Log:
[1653560826.815841][3445:3450] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFFB DataVersion: 2519252823
[1653560826.816170][3445:3450] CHIP:TOO: AttributeList: 6 entries
[1653560826.816239][3445:3450] CHIP:TOO: [1]: 0
Expand All @@ -59,13 +64,15 @@ tests:

- label: "TH1 reads EventList from DUT"
verification: |
No Event-list is on attributes list
Out of scope for V1.0
disabled: true

- label: "TH1 reads AcceptedCommandList from DUT"
verification: |
./chip-tool binding read accepted-command-list 1 0
Verify on the TH Log:
[1653560851.890988][3451:3456] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFF9 DataVersion: 2519252823
[1653560851.891077][3451:3456] CHIP:TOO: AcceptedCommandList: 0 entries
disabled: true
Expand All @@ -74,6 +81,8 @@ tests:
verification: |
./chip-tool binding read generated-command-list 1 0
[1653560872.884952][3458:3463] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFF8 DataVersion: 2519252823
[1653560872.885073][3458:3463] CHIP:TOO: GeneratedCommandList: 0 entries
Verify on the TH Log:
[1653560872.884952][3458:3463] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001E Attribute 0x0000_FFF8 DataVersion: 2519252823
[1653560872.885073][3458:3463] CHIP:TOO: GeneratedCommandList: 0 entries
disabled: true
Loading

0 comments on commit 2191356

Please sign in to comment.