Skip to content

Commit

Permalink
Modified script Mar 31 (#25915)
Browse files Browse the repository at this point in the history
* Fixes issue: 2468
TC-DD-2.1
Fixes issue: 2508
TC-WNCV-2.1
Fixes issue: 752
TC-WAKEONLAN-4.1

* Auto generated files
  • Loading branch information
manjunath-grl authored and pull[bot] committed Feb 14, 2024
1 parent a268b11 commit 9923868
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 42 deletions.
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_DD_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tests:
"If (MCORE.DD.CHIP_DEV) then If !(MCORE.DD.CHIP_DEV) then If
(MCORE.DD.DEV_LOCK) then If (MCORE.DD.DEV_BARRIER) then"
PICS:
MCORE.DD.CHIP_DEV && !(MCORE.DD.CHIP_DEV) && MCORE.DD.DEV_LOCK &&
MCORE.DD.CHIP_DEV || !(MCORE.DD.CHIP_DEV) || MCORE.DD.DEV_LOCK ||
MCORE.DD.DEV_BARRIER
verification: |
If (MCORE.DD.CHIP_DEV) IP/BLE discovery tool should discover the DUT else it should not
Expand Down Expand Up @@ -521,7 +521,7 @@ tests:
'_services._dns-sd._udp' using a DNS-SD records command-line test tool
(i.e. 'dns-sd -B _services._dns-sd._udp' or 'avahi-browse
_services._dns-sd._udp -r')"
PICS: MCORE.DD.COMMISSIONING_SUBTYPE_V && MCORE.DD.COMMISSIONING_SUBTYPE_T
PICS: MCORE.DD.COMMISSIONING_SUBTYPE_V || MCORE.DD.COMMISSIONING_SUBTYPE_T
verification: |
Vendor specific, take DUT out of commissioning mode
dns-sd -B _services._dns-sd._udp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tests:
./chip-tool wakeonlan read macaddress 1 1
./chip-tv-casting-app wakeonlan read macaddress 1 1
On TH Verify that the response contains a 48-bit MAC Address. Record the MAC address.
On TH, verify that the response contains a 48-bit MAC Address of the DUT and verify if the value reported in this is matching with the actual Mac address.
[1654248817.394846][3637:3643] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0503 Attribute 0x0000_0000 DataVersion: 3900236652
[1654248817.394895][3637:3643] CHIP:TOO: MACAddress: e4:5f:01:69:61:b1
[1654248817.394982][3637:3643] CHIP:EM: Sending Standalone Ack for MessageCounter:15292555 on exchange 12123i
Expand Down
30 changes: 28 additions & 2 deletions src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ tests:
attribute: "InstalledOpenLimitLift"
PICS: WNCV.S.A0010
response:
saveAs: InstalledOpenLimitLift
constraints:
type: int16u
minValue: 0
Expand All @@ -169,6 +170,7 @@ tests:
attribute: "InstalledClosedLimitLift"
PICS: WNCV.S.A0011
response:
saveAs: InstalledClosedLimitLift
constraints:
type: int16u
minValue: 0
Expand All @@ -181,6 +183,7 @@ tests:
attribute: "InstalledOpenLimitTilt"
PICS: WNCV.S.A0012
response:
saveAs: InstalledOpenLimitTilt
constraints:
type: int16u
minValue: 0
Expand All @@ -193,6 +196,7 @@ tests:
attribute: "InstalledClosedLimitTilt"
PICS: WNCV.S.A0013
response:
saveAs: InstalledClosedLimitTilt
constraints:
type: int16u
minValue: 0
Expand Down Expand Up @@ -238,24 +242,46 @@ tests:
- label: "3d: read the RO optional attribute default: CurrentPositionLift"
command: "readAttribute"
attribute: "CurrentPositionLift"
PICS: WNCV.S.A0003
PICS: WNCV.S.A0003 && !WNCV.S.A0010 && !WNCV.S.A0011
response:
constraints:
type: int16u
minValue: 0
maxValue: 65535

### Attribute[ 3]: CurrentPositionLift ====================
- label: "3d: read the RO optional attribute default: CurrentPositionLift"
command: "readAttribute"
attribute: "CurrentPositionLift"
PICS: WNCV.S.A0003 && WNCV.S.A0010 && WNCV.S.A0011
response:
constraints:
type: int16u
minValue: InstalledOpenLimitLift
maxValue: InstalledClosedLimitLift

### Attribute[ 4]: CurrentPositionTilt ====================
- label: "3e: read the RO optional attribute default: CurrentPositionTilt"
command: "readAttribute"
attribute: "CurrentPositionTilt"
PICS: WNCV.S.A0004
PICS: WNCV.S.A0004 && !WNCV.S.A0012 && !WNCV.S.A0013
response:
constraints:
type: int16u
minValue: 0
maxValue: 65535

### Attribute[ 4]: CurrentPositionTilt ====================
- label: "3e: read the RO optional attribute default: CurrentPositionTilt"
command: "readAttribute"
attribute: "CurrentPositionTilt"
PICS: WNCV.S.A0004 && WNCV.S.A0012 && WNCV.S.A0013
response:
constraints:
type: int16u
minValue: InstalledOpenLimitTilt
maxValue: InstalledClosedLimitTilt

### Attribute[ 5]: NumberOfActuationsLift ====================
- label:
"3f: read the RO optional attribute default: NumberOfActuationsLift"
Expand Down
75 changes: 59 additions & 16 deletions zzz_generated/chip-tool/zap-generated/test/Commands.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9923868

Please sign in to comment.