-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Manual Scripts * Added Auto generated scripts * Restyled by whitespace * updated tDM script * Added Auto generate file * Restyled by whitespace * Restyled by clang-format Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
Showing
72 changed files
with
5,565 additions
and
4,294 deletions.
There are no files selected for viewing
161 changes: 161 additions & 0 deletions
161
src/app/tests/suites/certification/Test_TC_DGETH_1_1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# 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: 3.1.1. [TC-DGETH-1.1] Global attributes with server as DUT | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Commission DUT to TH" | ||
verification: | | ||
./chip-tool pairing ble-wifi NODEID SSID PASSWD 20202021 3840 (commissioner side) | ||
disabled: true | ||
|
||
- label: "TH reads the ClusterRevision from DUT" | ||
verification: | | ||
./chip-tool ethernetnetworkdiagnostics read cluster-revision 1 0 | ||
[1651786680.895436][240893:240898] CHIP:DMG: ReportDataMessage = | ||
[1651786680.895449][240893:240898] CHIP:DMG: { | ||
[1651786680.895459][240893:240898] CHIP:DMG: AttributeReportIBs = | ||
[1651786680.895476][240893:240898] CHIP:DMG: [ | ||
[1651786680.895487][240893:240898] CHIP:DMG: AttributeReportIB = | ||
[1651786680.895505][240893:240898] CHIP:DMG: { | ||
[1651786680.895515][240893:240898] CHIP:DMG: AttributeDataIB = | ||
[1651786680.895527][240893:240898] CHIP:DMG: { | ||
[1651786680.895538][240893:240898] CHIP:DMG: DataVersion = 0xb89e4c30, | ||
[1651786680.895548][240893:240898] CHIP:DMG: AttributePathIB = | ||
[1651786680.895559][240893:240898] CHIP:DMG: { | ||
[1651786680.895572][240893:240898] CHIP:DMG: Endpoint = 0x0, | ||
[1651786680.895585][240893:240898] CHIP:DMG: Cluster = 0x36, | ||
[1651786680.895603][240893:240898] CHIP:DMG: Attribute = 0x0000_FFFD, | ||
[1651786680.895615][240893:240898] CHIP:DMG: } | ||
[1651786680.895630][240893:240898] CHIP:DMG: | ||
[1651786680.895644][240893:240898] CHIP:DMG: Data = 1, | ||
[1651786680.895657][240893:240898] CHIP:DMG: }, | ||
[1651786680.895672][240893:240898] CHIP:DMG: | ||
[1651786680.895684][240893:240898] CHIP:DMG: }, | ||
[1651786680.895701][240893:240898] CHIP:DMG: | ||
[1651786680.895711][240893:240898] CHIP:DMG: ], | ||
[1651786680.895727][240893:240898] CHIP:DMG: | ||
[1651786680.895739][240893:240898] CHIP:DMG: SuppressResponse = true, | ||
[1651786680.895751][240893:240898] CHIP:DMG: InteractionModelRevision = 1 | ||
[1651786680.895762][240893:240898] CHIP:DMG: } | ||
disabled: true | ||
|
||
- label: "TH reads the FeatureMap from DUT" | ||
verification: | | ||
./chip-tool ethernetnetworkdiagnostics read feature-map 1 0 | ||
[1651786827.581901][240914:240920] CHIP:DMG: ReportDataMessage = | ||
[1651786827.581920][240914:240920] CHIP:DMG: { | ||
[1651786827.581933][240914:240920] CHIP:DMG: AttributeReportIBs = | ||
[1651786827.581959][240914:240920] CHIP:DMG: [ | ||
[1651786827.581977][240914:240920] CHIP:DMG: AttributeReportIB = | ||
[1651786827.582002][240914:240920] CHIP:DMG: { | ||
[1651786827.582020][240914:240920] CHIP:DMG: AttributeDataIB = | ||
[1651786827.582040][240914:240920] CHIP:DMG: { | ||
[1651786827.582060][240914:240920] CHIP:DMG: DataVersion = 0xa7929b20, | ||
[1651786827.582078][240914:240920] CHIP:DMG: AttributePathIB = | ||
[1651786827.582099][240914:240920] CHIP:DMG: { | ||
[1651786827.582121][240914:240920] CHIP:DMG: Endpoint = 0x0, | ||
[1651786827.582144][240914:240920] CHIP:DMG: Cluster = 0x37, | ||
[1651786827.582168][240914:240920] CHIP:DMG: Attribute = 0x0000_FFFC, | ||
[1651786827.582189][240914:240920] CHIP:DMG: } | ||
[1651786827.582213][240914:240920] CHIP:DMG: | ||
[1651786827.582234][240914:240920] CHIP:DMG: Data = 3, | ||
[1651786827.582255][240914:240920] CHIP:DMG: }, | ||
[1651786827.582278][240914:240920] CHIP:DMG: | ||
[1651786827.582294][240914:240920] CHIP:DMG: }, | ||
[1651786827.582319][240914:240920] CHIP:DMG: | ||
[1651786827.582334][240914:240920] CHIP:DMG: ], | ||
[1651786827.582358][240914:240920] CHIP:DMG: | ||
[1651786827.582376][240914:240920] CHIP:DMG: SuppressResponse = true, | ||
[1651786827.582393][240914:240920] CHIP:DMG: InteractionModelRevision = 1 | ||
[1651786827.582407][240914:240920] CHIP:DMG: } | ||
[1651786827.582555][240914:240920] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFC DataVersion: 2811403040 | ||
[1651786827.582608][240914:240920] CHIP:TOO: FeatureMap: 3 | ||
disabled: true | ||
|
||
- label: "TH reads AttribubteList from DUT" | ||
verification: | | ||
./chip-tool ethernetnetworkdiagnostics read attribute-list 1 0 | ||
[1651786900.043572][240929:240934] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFB DataVersion: 2811403040 | ||
[1651786900.043655][240929:240934] CHIP:TOO: AttributeList: 14 entries | ||
[1651786900.043689][240929:240934] CHIP:TOO: [1]: 0 | ||
[1651786900.043710][240929:240934] CHIP:TOO: [2]: 1 | ||
[1651786900.043730][240929:240934] CHIP:TOO: [3]: 2 | ||
[1651786900.043744][240929:240934] CHIP:TOO: [4]: 3 | ||
[1651786900.043757][240929:240934] CHIP:TOO: [5]: 4 | ||
[1651786900.043775][240929:240934] CHIP:TOO: [6]: 5 | ||
[1651786900.043796][240929:240934] CHIP:TOO: [7]: 6 | ||
[1651786900.043817][240929:240934] CHIP:TOO: [8]: 7 | ||
[1651786900.043838][240929:240934] CHIP:TOO: [9]: 8 | ||
[1651786900.043862][240929:240934] CHIP:TOO: [10]: 65528 | ||
[1651786900.043884][240929:240934] CHIP:TOO: [11]: 65529 | ||
[1651786900.043907][240929:240934] CHIP:TOO: [12]: 65531 | ||
[1651786900.043930][240929:240934] CHIP:TOO: [13]: 65532 | ||
[1651786900.043952][240929:240934] CHIP:TOO: [14]: 65533 | ||
disabled: true | ||
|
||
- label: "TH reads AcceptedCommandList from DUT" | ||
verification: | | ||
./chip-tool ethernetnetworkdiagnostics read accepted-command-list 1 0 | ||
[1651786971.201258][240944:240949] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFF9 DataVersion: 2811403040 | ||
[1651786971.201322][240944:240949] CHIP:TOO: AcceptedCommandList: 1 entries | ||
[1651786971.201347][240944:240949] CHIP:TOO: [1]: 0 | ||
disabled: true | ||
|
||
- label: "TH reads GeneratedCommandList from DUT" | ||
verification: | | ||
./chip-tool ethernetnetworkdiagnostics read generated-command-list 1 0 | ||
[1651787190.402854][240971:240976] CHIP:DMG: ReportDataMessage = | ||
[1651787190.402875][240971:240976] CHIP:DMG: { | ||
[1651787190.402891][240971:240976] CHIP:DMG: AttributeReportIBs = | ||
[1651787190.402917][240971:240976] CHIP:DMG: [ | ||
[1651787190.402933][240971:240976] CHIP:DMG: AttributeReportIB = | ||
[1651787190.402956][240971:240976] CHIP:DMG: { | ||
[1651787190.402970][240971:240976] CHIP:DMG: AttributeDataIB = | ||
[1651787190.402987][240971:240976] CHIP:DMG: { | ||
[1651787190.403007][240971:240976] CHIP:DMG: DataVersion = 0xa7929b20, | ||
[1651787190.403025][240971:240976] CHIP:DMG: AttributePathIB = | ||
[1651787190.403045][240971:240976] CHIP:DMG: { | ||
[1651787190.403065][240971:240976] CHIP:DMG: Endpoint = 0x0, | ||
[1651787190.403089][240971:240976] CHIP:DMG: Cluster = 0x37, | ||
[1651787190.403111][240971:240976] CHIP:DMG: Attribute = 0x0000_FFF8, | ||
[1651787190.403136][240971:240976] CHIP:DMG: } | ||
[1651787190.403158][240971:240976] CHIP:DMG: | ||
[1651787190.403177][240971:240976] CHIP:DMG: Data = [ | ||
[1651787190.403197][240971:240976] CHIP:DMG: | ||
[1651787190.403220][240971:240976] CHIP:DMG: ], | ||
[1651787190.403240][240971:240976] CHIP:DMG: }, | ||
[1651787190.403264][240971:240976] CHIP:DMG: | ||
[1651787190.403282][240971:240976] CHIP:DMG: }, | ||
[1651787190.403326][240971:240976] CHIP:DMG: | ||
[1651787190.403342][240971:240976] CHIP:DMG: ], | ||
[1651787190.403366][240971:240976] CHIP:DMG: | ||
[1651787190.403382][240971:240976] CHIP:DMG: SuppressResponse = true, | ||
[1651787190.403399][240971:240976] CHIP:DMG: InteractionModelRevision = 1 | ||
[1651787190.403420][240971:240976] CHIP:DMG: } | ||
[1651787190.403639][240971:240976] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFF8 DataVersion: 2811403040 | ||
[1651787190.403729][240971:240976] CHIP:TOO: GeneratedCommandList: 0 entries | ||
disabled: true | ||
|
||
- label: "TH reads EventList from DUT" | ||
verification: | | ||
Out of scope v1.0 | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# 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: 3.3.2. [TC-DGETH-3.2] Command generated functionality with client as DUT | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Commission DUT to TH" | ||
verification: | | ||
disabled: true | ||
|
||
- label: "TH sends ResetCounts to DUT" | ||
verification: | | ||
Verify Command data recieved from running the below command is a success | ||
./chip-tool ethernetnetworkdiagnostics reset-counts 1 1 | ||
CHIP:DMG: InvokeResponseMessage = | ||
[1649664146.639743][8173:8178] CHIP:DMG: { | ||
[1649664146.639789][8173:8178] CHIP:DMG: suppressResponse = false, | ||
[1649664146.639836][8173:8178] CHIP:DMG: InvokeResponseIBs = | ||
[1649664146.639895][8173:8178] CHIP:DMG: [ | ||
[1649664146.639941][8173:8178] CHIP:DMG: InvokeResponseIB = | ||
[1649664146.640006][8173:8178] CHIP:DMG: { | ||
[1649664146.640059][8173:8178] CHIP:DMG: CommandStatusIB = | ||
[1649664146.640119][8173:8178] CHIP:DMG: { | ||
[1649664146.640175][8173:8178] CHIP:DMG: CommandPathIB = | ||
[1649664146.640238][8173:8178] CHIP:DMG: { | ||
[1649664146.640302][8173:8178] CHIP:DMG: EndpointId = 0x0, | ||
[1649664146.640373][8173:8178] CHIP:DMG: ClusterId = 0x37, | ||
[1649664146.640438][8173:8178] CHIP:DMG: CommandId = 0x0, | ||
[1649664146.640500][8173:8178] CHIP:DMG: }, | ||
[1649664146.640574][8173:8178] CHIP:DMG: | ||
[1649664146.640632][8173:8178] CHIP:DMG: StatusIB = | ||
[1649664146.640693][8173:8178] CHIP:DMG: { | ||
[1649664146.640762][8173:8178] CHIP:DMG: status = 0x00 (SUCCESS), | ||
[1649664146.640824][8173:8178] CHIP:DMG: }, | ||
[1649664146.640886][8173:8178] CHIP:DMG: | ||
[1649664146.640943][8173:8178] CHIP:DMG: }, | ||
[1649664146.641007][8173:8178] CHIP:DMG: | ||
[1649664146.641058][8173:8178] CHIP:DMG: }, | ||
[1649664146.641126][8173:8178] CHIP:DMG: | ||
[1649664146.641174][8173:8178] CHIP:DMG: ], | ||
[1649664146.641230][8173:8178] CHIP:DMG: | ||
[1649664146.641275][8173:8178] CHIP:DMG: InteractionModelRevision = 1 | ||
[1649664146.641318][8173:8178] CHIP:DMG: }, | ||
[1649664146.641424][8173:8178] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0037 Command=0x0000_0000 Status=0x0 | ||
[1649664146.641499][8173:8178] CHIP:DMG: ICR moving to [AwaitingDe] | ||
disabled: true |
93 changes: 93 additions & 0 deletions
93
src/app/tests/suites/certification/Test_TC_DGWIFI_1_1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# 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: 3.1.1. [TC-DGWIFI-1.1] Global attributes with server as DUT | ||
|
||
config: | ||
nodeId: 0x12344321 | ||
cluster: "Basic" | ||
endpoint: 0 | ||
|
||
tests: | ||
- label: "Commission DUT to TH" | ||
verification: | | ||
./chip-tool pairing ble-wifi NODEID SSID PASSWD 20202021 3840 (commissioner side) | ||
disabled: true | ||
|
||
- label: "TH reads the ClusterRevision from DUT" | ||
verification: | | ||
./chip-tool wifinetworkdiagnostics read cluster-revision 1 0 | ||
[1651834623.658618][3910:3916] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFFD DataVersion: 2858283115 | ||
[1651834623.658776][3910:3916] CHIP:TOO: ClusterRevision: 1 | ||
disabled: true | ||
|
||
- label: "TH reads the FeatureMap from DUT" | ||
verification: | | ||
./chip-tool wifinetworkdiagnostics read feature-map 1 0 | ||
[1651834671.432383][3919:3924] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFFC DataVersion: 2858283115 | ||
[1651834671.432466][3919:3924] CHIP:TOO: FeatureMap: 3 | ||
disabled: true | ||
|
||
- label: "TH reads AttribubteList from DUT" | ||
verification: | | ||
./chip-tool wifinetworkdiagnostics read attribute-list 1 0 | ||
[1651834734.844051][3928:3933] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFFB DataVersion: 2858283115 | ||
[1651834734.844159][3928:3933] CHIP:TOO: AttributeList: 18 entries | ||
[1651834734.844193][3928:3933] CHIP:TOO: [1]: 0 | ||
[1651834734.844218][3928:3933] CHIP:TOO: [2]: 1 | ||
[1651834734.844240][3928:3933] CHIP:TOO: [3]: 2 | ||
[1651834734.844264][3928:3933] CHIP:TOO: [4]: 3 | ||
[1651834734.844287][3928:3933] CHIP:TOO: [5]: 4 | ||
[1651834734.844311][3928:3933] CHIP:TOO: [6]: 5 | ||
[1651834734.844335][3928:3933] CHIP:TOO: [7]: 6 | ||
[1651834734.844358][3928:3933] CHIP:TOO: [8]: 7 | ||
[1651834734.844382][3928:3933] CHIP:TOO: [9]: 8 | ||
[1651834734.844403][3928:3933] CHIP:TOO: [10]: 9 | ||
[1651834734.844427][3928:3933] CHIP:TOO: [11]: 10 | ||
[1651834734.844451][3928:3933] CHIP:TOO: [12]: 11 | ||
[1651834734.844475][3928:3933] CHIP:TOO: [13]: 12 | ||
[1651834734.844499][3928:3933] CHIP:TOO: [14]: 65528 | ||
[1651834734.844523][3928:3933] CHIP:TOO: [15]: 65529 | ||
[1651834734.844548][3928:3933] CHIP:TOO: [16]: 65531 | ||
[1651834734.844571][3928:3933] CHIP:TOO: [17]: 65532 | ||
[1651834734.844596][3928:3933] CHIP:TOO: [18]: 65533 | ||
disabled: true | ||
|
||
- label: "TH reads AcceptedCommandList from DUT" | ||
verification: | | ||
./chip-tool wifinetworkdiagnostics read accepted-command-list 1 0 | ||
[1651788161.332422][241228:241233] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFF9 DataVersion: 3097381936 | ||
[1651788161.332475][241228:241233] CHIP:TOO: AcceptedCommandList: 1 entries | ||
[1651788161.332500][241228:241233] CHIP:TOO: [1]: 0 | ||
disabled: true | ||
|
||
- label: "TH reads GeneratedCommandList from DUT" | ||
verification: | | ||
./chip-tool wifinetworkdiagnostics read generated-command-list 1 0 | ||
[1651788208.608429][241239:241244] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0036 Attribute 0x0000_FFF8 DataVersion: 3097381936 | ||
[1651788208.608490][241239:241244] CHIP:TOO: GeneratedCommandList: 0 entries | ||
disabled: true | ||
|
||
- label: "TH reads EventList from DUT" | ||
verification: | | ||
(Out of scope for v1.0) | ||
disabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.