Skip to content

Commit

Permalink
Restyled by prettier-yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and cecille committed May 11, 2023
1 parent f074dfa commit e3ea0ec
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 15 deletions.
9 changes: 6 additions & 3 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7290,11 +7290,13 @@ PICS:

# Time Synchronization Cluster Test Plan
- label:
"Does the device implement the Time Synchronization cluster as a server?"
"Does the device implement the Time Synchronization cluster as a
server?"
id: TIMESYNC.S

- label:
"Does the device implement the Time Synchronization cluster as a client?"
"Does the device implement the Time Synchronization cluster as a
client?"
id: TIMESYNC.C

#
Expand Down Expand Up @@ -7360,7 +7362,8 @@ PICS:
- label: "Does the device implement receiving the SetUTCTime command?"
id: TIMESYNC.S.C00.Rsp

- label: "Does the device implement receiving the SetTrustedTimeSource command?"
- label:
"Does the device implement receiving the SetTrustedTimeSource command?"
id: TIMESYNC.S.C01.Rsp

- label: "Does the device implement receiving the SetTimeZone command?"
Expand Down
44 changes: 32 additions & 12 deletions src/app/tests/suites/certification/Test_TC_TIMESYNC_1_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ tests:
# TS 3: Feature map
##########################
# TZ
- label: "TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit set"
- label:
"TS3: Given TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit
set"
PICS: TIMESYNC.S.F00
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -53,7 +55,9 @@ tests:
type: bitmap32
hasMasksSet: [0x1]

- label: "TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit clear"
- label:
"TS3: Given !TIMESYNC.S.F00(TZ) ensure featuremap has the correct bit
clear"
PICS: "!TIMESYNC.S.F00"
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -62,7 +66,9 @@ tests:
type: bitmap32
hasMasksClear: [0x1]
# NTPC
- label: "TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit set"
- label:
"TS3: Given TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit
set"
PICS: TIMESYNC.S.F01
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -71,7 +77,9 @@ tests:
type: bitmap32
hasMasksSet: [0x2]

- label: "TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct bit clear"
- label:
"TS3: Given !TIMESYNC.S.F01(NTPC) ensure featuremap has the correct
bit clear"
PICS: "!TIMESYNC.S.F01"
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -81,7 +89,9 @@ tests:
hasMasksClear: [0x2]

# NTPS
- label: "TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit set"
- label:
"TS3: Given TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit
set"
PICS: TIMESYNC.S.F02
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -90,7 +100,9 @@ tests:
type: bitmap32
hasMasksSet: [0x4]

- label: "TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct bit clear"
- label:
"TS3: Given !TIMESYNC.S.F02(NTPS) ensure featuremap has the correct
bit clear"
PICS: "!TIMESYNC.S.F02"
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -100,7 +112,9 @@ tests:
hasMasksClear: [0x4]

# TSC
- label: "TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit set"
- label:
"TS3: Given TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit
set"
PICS: TIMESYNC.S.F03
command: "readAttribute"
attribute: "FeatureMap"
Expand All @@ -109,7 +123,9 @@ tests:
type: bitmap32
hasMasksSet: [0x8]

- label: "TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit clear"
- label:
"TS3: Given !TIMESYNC.S.F03(TSC) ensure featuremap has the correct bit
clear"
PICS: "!TIMESYNC.S.F03"
command: "readAttribute"
attribute: "FeatureMap"
Expand Down Expand Up @@ -288,7 +304,8 @@ tests:
constraints:
contains: [0x02, 0x04]

- label: "TS6: Check for TZ feature-based commands in not AcceptedCommandList"
- label:
"TS6: Check for TZ feature-based commands in not AcceptedCommandList"
PICS: "!TIMESYNC.S.F00"
command: "readAttribute"
attribute: "AcceptedCommandList"
Expand All @@ -305,7 +322,8 @@ tests:
constraints:
contains: [0x05]

- label: "TS6: Check for NTPC feature-based commands in not AcceptedCommandList"
- label:
"TS6: Check for NTPC feature-based commands in not AcceptedCommandList"
PICS: "!TIMESYNC.S.F01"
command: "readAttribute"
attribute: "AcceptedCommandList"
Expand All @@ -322,7 +340,8 @@ tests:
constraints:
contains: [0x01]

- label: "TS6: Check for TSC feature-based commands in not AcceptedCommandList"
- label:
"TS6: Check for TSC feature-based commands in not AcceptedCommandList"
PICS: "!TIMESYNC.S.F03"
command: "readAttribute"
attribute: "AcceptedCommandList"
Expand All @@ -344,7 +363,8 @@ tests:
constraints:
contains: [0x03]

- label: "TS6: Check for TZ feature-based commands in not AcceptedCommandList"
- label:
"TS6: Check for TZ feature-based commands in not AcceptedCommandList"
PICS: "!TIMESYNC.S.F00"
command: "readAttribute"
attribute: "GeneratedCommandList"
Expand Down

0 comments on commit e3ea0ec

Please sign in to comment.