Skip to content

Commit a40b53c

Browse files
Fix YAML script issues (project-chip#29339)
* 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>
1 parent cd6f5b0 commit a40b53c

38 files changed

+594
-2480
lines changed

examples/darwin-framework-tool/templates/tests/ciTests.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
"Test_AddNewFabricFromExistingFabric",
5454
"Disabled because darwin-framework-tool does not support EqualityCommands pseudo-cluster",
5555
"Test_TC_TCCM_3_1",
56-
"Test_TC_TCTL_2_1"
56+
"Test_TC_TCTL_2_1",
57+
"Disabled because darwin-framework-tool does not support constraints arithmetic operations",
58+
"Test_TC_FLW_2_1",
59+
"Test_TC_RH_2_1"
5760
]
5861
}

examples/placeholder/linux/apps/app1/ciTests.json

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"Test_TC_CC_7_5_Simulated",
1515
"Test_TC_CC_9_4_Simulated",
1616
"Test_TC_DGTHREAD_3_4_Simulated",
17-
"Test_TC_LVL_2_3_Simulated",
1817
"Test_TC_OO_3_2_Simulated"
1918
],
2019
"collection": ["Test"]

scripts/tests/chiptest/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def _GetChipReplUnsupportedTests() -> Set[str]:
195195
"TestClusterMultiFabric.yaml",
196196
"Test_TC_ACL_2_5.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884
197197
"Test_TC_ACL_2_6.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884
198+
"Test_TC_RVCCLEANM_3_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
198199
}
199200

200201

src/app/tests/suites/certification/PICS.yaml

+4-116
Original file line numberDiff line numberDiff line change
@@ -7156,51 +7156,13 @@ PICS:
71567156
# server / manually
71577157
#
71587158
- label: "Does the device support the TemperatureUnit Fahrenheit ?"
7159-
id: LUNIT.TempUnit.Fahrenheit
7159+
id: LUNIT.S.M.Fahrenheit
71607160

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

71647164
- label: "Does the device support the TemperatureUnit Kelvin ?"
7165-
id: LUNIT.TempUnit.Kelvin
7166-
7167-
#
7168-
# client / attributes
7169-
#
7170-
- label:
7171-
"Does the DUT(client) have access privileges for the TemperatureUnit
7172-
attribute implemented on the server ?"
7173-
id: LUNIT.C.A0000
7174-
7175-
- label:
7176-
"Does the DUT(client) have access privileges for the (0xFFF8)
7177-
GeneratedCommandList attribute implemented on the server ?"
7178-
id: LUNIT.C.Afff8
7179-
7180-
- label:
7181-
"Does the DUT(client) have access privileges for the (0xFFF9)
7182-
AcceptedCommandList attribute implemented on the server ?"
7183-
id: LUNIT.C.Afff9
7184-
7185-
- label:
7186-
"Does the DUT(client) have access privileges for the (0xFFFA)
7187-
EventList attribute implemented on the server ?"
7188-
id: LUNIT.C.Afffa
7189-
7190-
- label:
7191-
"Does the DUT(client) have access privileges for the (0xFFFB)
7192-
AttributeList attribute implemented on the server ?"
7193-
id: LUNIT.C.Afffb
7194-
7195-
- label:
7196-
"Does the DUT(client) have access privileges for the (0xFFFC)
7197-
FeatureMap attribute implemented on the server ?"
7198-
id: LUNIT.C.Afffc
7199-
7200-
- label:
7201-
"Does the DUT(client) have access privileges for the (0xFFFD)
7202-
ClusterRevision attribute implemented on the server ?"
7203-
id: LUNIT.C.Afffd
7165+
id: LUNIT.S.M.Kelvin
72047166

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

7345-
#
7346-
# client / attributes
7347-
#
7348-
- label:
7349-
"Does the DUT(client) have access privileges for the BSSID attribute
7350-
implemented on the server?"
7351-
id: DGWIFI.C.A0000
7352-
7353-
- label:
7354-
"Does the DUT(client) have access privileges for the SecurityType
7355-
attribute implemented on the server?"
7356-
id: DGWIFI.C.A0001
7357-
7358-
- label:
7359-
"Does the DUT(client) have access privileges for the WiFiVersion
7360-
attribute implemented on the server?"
7361-
id: DGWIFI.C.A0002
7362-
7363-
- label:
7364-
"Does the DUT(client) have access privileges for the ChannelNumber
7365-
attribute implemented on the server?"
7366-
id: DGWIFI.C.A0003
7367-
7368-
- label:
7369-
"Does the DUT(client) have access privileges for the RSSI attribute
7370-
implemented on the server?"
7371-
id: DGWIFI.C.A0004
7372-
7373-
- label:
7374-
"Does the DUT(client) have access privileges for the BeaconLostCount
7375-
attribute implemented on the server?"
7376-
id: DGWIFI.C.A0005
7377-
7378-
- label:
7379-
"Does the DUT(client) have access privileges for the BeaconRxCount
7380-
attribute implemented on the server?"
7381-
id: DGWIFI.C.A0006
7382-
7383-
- label:
7384-
"Does the DUT(client) have access privileges for the
7385-
PacketMulticastRxCount attribute implemented on the server?"
7386-
id: DGWIFI.C.A0007
7387-
7388-
- label:
7389-
"Does the DUT(client) have access privileges for the
7390-
PacketMulticastTxCount attribute implemented on the server?"
7391-
id: DGWIFI.C.A0008
7392-
7393-
- label:
7394-
"Does the DUT(client) have access privileges for the
7395-
PacketUnicastRxCount attribute implemented on the server?"
7396-
id: DGWIFI.C.A0009
7397-
7398-
- label:
7399-
"Does the DUT(client) have access privileges for the
7400-
PacketUnicastTxCount attribute implemented on the server?"
7401-
id: DGWIFI.C.A000a
7402-
7403-
- label:
7404-
"Does the DUT(client) have access privileges for the CurrentMaxRate
7405-
attribute implemented on the server?"
7406-
id: DGWIFI.C.A000b
7407-
7408-
- label:
7409-
"Does the DUT(client) have access privileges for the OverrunCount
7410-
attribute implemented on the server?"
7411-
id: DGWIFI.C.A000c
7412-
74137307
#
74147308
# client / commandsGenerated
74157309
#
74167310
- label:
74177311
"Reset the following attributes to 0; BeaconLostCount, BeaconRxCount,
74187312
PacketMulticastRxCount, PacketMulticastTxCount, PacketUnicastRxCount,
74197313
PacketUnicastTxCount"
7420-
id: DGWIFI.C.C00.Tx
7421-
7422-
#
7423-
# client / manually
7424-
#
7425-
- label: ""
7426-
id: DGWIFI.C.A
7314+
id: DGWIFI.S.C00.Tx
74277315

74287316
# Window Covering Cluster Test Plan
74297317
- label:

src/app/tests/suites/certification/Test_TC_ACL_2_10.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@ tests:
457457
value: "y"
458458

459459
- label:
460-
"Step 10:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"
460+
"Step 10:TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"
461461
PICS: ACL.S.A0000
462-
command: "writeAttribute"
462+
command: "readAttribute"
463463
attribute: "ACL"
464-
arguments:
464+
response:
465465
value:
466466
[
467467
{
@@ -639,11 +639,11 @@ tests:
639639
value: "y"
640640

641641
- label:
642-
"Step 16:TH1 writes DUT Endpoint 0 AccessControl cluster ACL attribute"
642+
"Step 16:TH1 reads DUT Endpoint 0 AccessControl cluster ACL attribute"
643643
PICS: ACL.S.A0000
644-
command: "writeAttribute"
644+
command: "readAttribute"
645645
attribute: "ACL"
646-
arguments:
646+
response:
647647
value:
648648
[
649649
{

0 commit comments

Comments
 (0)