Skip to content

Commit

Permalink
Fix YAML script issues (#29339)
Browse files Browse the repository at this point in the history
* Fix script issue: 649, 650, 651, 652, 653, 654,
Modified tests:
TC_ACL_2_10
TC_ACL_2_7
TC_ACL_2_8
TC_DGWIFI_3_2_Simulated
TC_FLW_2_1
TC_LUNIT_3_1
TC_RH_2_1
TC_SC_4_1
Automated test:
TC_RVCCLEANM_3_3
Semi-automated tests:
TC_REFALM_2_1
Fixes issue: 29331

* Auto generated files

* The following YAMLs are removed
 since there are Python script for the testcases.
TC-DT-1.1
TC-IDM-10.1
TC-IDM-11.1
TC-SM-1.1
TC-SM-1.2

* Fixes issue: 656 & 658
Modified tests:
TC-GRPKEY-2.1
Removed test:
TC-LVL-2.3_Simulated

* Modified testcase TC-SC-5.1

* Fixes issue: 655, 660
Modified tests:
TC-ACL-2.4
TC-ACL-2.5
TC-ACL-2.6
TC-ACL-2.7
TC-SC-5.2
Revert back the DGGEN-2.1 testcase

* Modified test FLW-2.1

* Fixes YAML script issue: 664, 668, 671, 672, 673
TC-DGGEN-2.1
TC-TSTAT-1.1
TC-TSUIC-1.1
TC-TSTAT-2.1
TC-WNCV-3.4
TC-WNCV-3.5
Manual tests:
TC-REFALM-2.2
TC-REFALM-2.3

* Restyled by whitespace

* Fixes issue 984
TC-TCTL-1.1

* Reverted back changes for tests:
TC-DGGEN-2.1
TC-REFALM-2.1
TC-RVCCLEANM-3.3

* Modify ciTest.json file

* Fix type

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
2 people authored and pull[bot] committed Apr 15, 2024
1 parent 3049d2c commit 5f86043
Show file tree
Hide file tree
Showing 38 changed files with 594 additions and 2,480 deletions.
5 changes: 4 additions & 1 deletion examples/darwin-framework-tool/templates/tests/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"Test_AddNewFabricFromExistingFabric",
"Disabled because darwin-framework-tool does not support EqualityCommands pseudo-cluster",
"Test_TC_TCCM_3_1",
"Test_TC_TCTL_2_1"
"Test_TC_TCTL_2_1",
"Disabled because darwin-framework-tool does not support constraints arithmetic operations",
"Test_TC_FLW_2_1",
"Test_TC_RH_2_1"
]
}
1 change: 0 additions & 1 deletion examples/placeholder/linux/apps/app1/ciTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"Test_TC_CC_7_5_Simulated",
"Test_TC_CC_9_4_Simulated",
"Test_TC_DGTHREAD_3_4_Simulated",
"Test_TC_LVL_2_3_Simulated",
"Test_TC_OO_3_2_Simulated"
],
"collection": ["Test"]
Expand Down
1 change: 1 addition & 0 deletions scripts/tests/chiptest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def _GetChipReplUnsupportedTests() -> Set[str]:
"TestClusterMultiFabric.yaml",
"Test_TC_ACL_2_5.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884
"Test_TC_ACL_2_6.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884
"Test_TC_RVCCLEANM_3_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
}


Expand Down
120 changes: 4 additions & 116 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7156,51 +7156,13 @@ PICS:
# server / manually
#
- label: "Does the device support the TemperatureUnit Fahrenheit ?"
id: LUNIT.TempUnit.Fahrenheit
id: LUNIT.S.M.Fahrenheit

- label: "Does the device support the TemperatureUnit Celsius ?"
id: LUNIT.TempUnit.Celsius
id: LUNIT.S.M.Celsius

- label: "Does the device support the TemperatureUnit Kelvin ?"
id: LUNIT.TempUnit.Kelvin

#
# client / attributes
#
- label:
"Does the DUT(client) have access privileges for the TemperatureUnit
attribute implemented on the server ?"
id: LUNIT.C.A0000

- label:
"Does the DUT(client) have access privileges for the (0xFFF8)
GeneratedCommandList attribute implemented on the server ?"
id: LUNIT.C.Afff8

- label:
"Does the DUT(client) have access privileges for the (0xFFF9)
AcceptedCommandList attribute implemented on the server ?"
id: LUNIT.C.Afff9

- label:
"Does the DUT(client) have access privileges for the (0xFFFA)
EventList attribute implemented on the server ?"
id: LUNIT.C.Afffa

- label:
"Does the DUT(client) have access privileges for the (0xFFFB)
AttributeList attribute implemented on the server ?"
id: LUNIT.C.Afffb

- label:
"Does the DUT(client) have access privileges for the (0xFFFC)
FeatureMap attribute implemented on the server ?"
id: LUNIT.C.Afffc

- label:
"Does the DUT(client) have access privileges for the (0xFFFD)
ClusterRevision attribute implemented on the server ?"
id: LUNIT.C.Afffd
id: LUNIT.S.M.Kelvin

# User Label Cluster Test Plan
- label: "Does the device implement the User Label cluster as a server?"
Expand Down Expand Up @@ -7342,88 +7304,14 @@ PICS:
of packets on the ethernet interface."
id: DGWIFI.S.F01

#
# client / attributes
#
- label:
"Does the DUT(client) have access privileges for the BSSID attribute
implemented on the server?"
id: DGWIFI.C.A0000

- label:
"Does the DUT(client) have access privileges for the SecurityType
attribute implemented on the server?"
id: DGWIFI.C.A0001

- label:
"Does the DUT(client) have access privileges for the WiFiVersion
attribute implemented on the server?"
id: DGWIFI.C.A0002

- label:
"Does the DUT(client) have access privileges for the ChannelNumber
attribute implemented on the server?"
id: DGWIFI.C.A0003

- label:
"Does the DUT(client) have access privileges for the RSSI attribute
implemented on the server?"
id: DGWIFI.C.A0004

- label:
"Does the DUT(client) have access privileges for the BeaconLostCount
attribute implemented on the server?"
id: DGWIFI.C.A0005

- label:
"Does the DUT(client) have access privileges for the BeaconRxCount
attribute implemented on the server?"
id: DGWIFI.C.A0006

- label:
"Does the DUT(client) have access privileges for the
PacketMulticastRxCount attribute implemented on the server?"
id: DGWIFI.C.A0007

- label:
"Does the DUT(client) have access privileges for the
PacketMulticastTxCount attribute implemented on the server?"
id: DGWIFI.C.A0008

- label:
"Does the DUT(client) have access privileges for the
PacketUnicastRxCount attribute implemented on the server?"
id: DGWIFI.C.A0009

- label:
"Does the DUT(client) have access privileges for the
PacketUnicastTxCount attribute implemented on the server?"
id: DGWIFI.C.A000a

- label:
"Does the DUT(client) have access privileges for the CurrentMaxRate
attribute implemented on the server?"
id: DGWIFI.C.A000b

- label:
"Does the DUT(client) have access privileges for the OverrunCount
attribute implemented on the server?"
id: DGWIFI.C.A000c

#
# client / commandsGenerated
#
- label:
"Reset the following attributes to 0; BeaconLostCount, BeaconRxCount,
PacketMulticastRxCount, PacketMulticastTxCount, PacketUnicastRxCount,
PacketUnicastTxCount"
id: DGWIFI.C.C00.Tx

#
# client / manually
#
- label: ""
id: DGWIFI.C.A
id: DGWIFI.S.C00.Tx

# Window Covering Cluster Test Plan
- label:
Expand Down
12 changes: 6 additions & 6 deletions src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@ tests:
value: "y"

- label:
"Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"
"Step 10:TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"
PICS: ACL.S.A0000
command: "writeAttribute"
command: "readAttribute"
attribute: "ACL"
arguments:
response:
value:
[
{
Expand Down Expand Up @@ -639,11 +639,11 @@ tests:
value: "y"

- label:
"Step 16:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"
"Step 16:TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"
PICS: ACL.S.A0000
command: "writeAttribute"
command: "readAttribute"
attribute: "ACL"
arguments:
response:
value:
[
{
Expand Down
Loading

0 comments on commit 5f86043

Please sign in to comment.