Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0eaf87d

Browse files
committedApr 16, 2024·
add CalendarPeriods, CurrentPeakPeriod, NextPeakPeriod attributes validaiton; remove TimeReference, PeakPeriodStatus, PeakPeriodEndTime attributes validation based on PR #7829
Signed-off-by: Dmitry Maslov <dmitry.maslov@dsr-corporation.com>
1 parent 8626561 commit 0eaf87d

File tree

1 file changed

+20
-35
lines changed

1 file changed

+20
-35
lines changed
 

‎src/app/tests/suites/certification/Test_TC_ECAL_2_1.yaml

+20-35
Original file line numberDiff line numberDiff line change
@@ -71,78 +71,63 @@ tests:
7171
attribute: "StartDate"
7272
response:
7373
constraints:
74-
type: epoch_s
74+
type: date
7575

76-
- label: "Step 7: TH reads the TimeReference attribute from the DUT"
76+
- label: "Step 7: TH reads the CalendarPeriods attribute from the DUT"
7777
PICS: ECAL.S.A0005
7878
command: "readAttribute"
79-
attribute: "TimeReference"
80-
response:
81-
constraints:
82-
type: enum8
83-
minValue: 0
84-
maxValue: 2
85-
86-
- label: "Step 8: TH reads the CalendarPeriods attribute from the DUT"
87-
PICS: ECAL.S.A0006
88-
command: "readAttribute"
8979
attribute: "CalendarPeriods"
9080
response:
9181
constraints:
9282
type: list
83+
minLength: 1
84+
maxLength: 4
9385

94-
- label: "Step 9: TH reads the SpecialDays attribute from the DUT"
95-
PICS: ECAL.S.A0008
86+
- label: "Step 8: TH reads the SpecialDays attribute from the DUT"
87+
PICS: ECAL.S.A0006
9688
command: "readAttribute"
9789
attribute: "SpecialDays"
9890
response:
9991
constraints:
10092
type: list
93+
maxLength: 50
10194

102-
- label: "Step 10: TH reads the CurrentDay attribute from the DUT"
95+
- label: "Step 9: TH reads the CurrentDay attribute from the DUT"
10396
PICS: ECAL.S.A0007
10497
command: "readAttribute"
10598
attribute: "CurrentDay"
10699
response:
107100
constraints:
108101
type: DayStruct
109102

110-
- label: "Step 11: TH reads the NextDay attribute from the DUT"
111-
PICS: ECAL.S.A0009
103+
- label: "Step 10: TH reads the NextDay attribute from the DUT"
104+
PICS: ECAL.S.A0008
112105
command: "readAttribute"
113106
attribute: "NextDay"
114107
response:
115108
constraints:
116109
type: DayStruct
117110

118-
- label: "Step 12: TH reads the CurrentTransition attribute from the DUT"
119-
PICS: ECAL.S.A000A
111+
- label: "Step 11: TH reads the CurrentTransition attribute from the DUT"
112+
PICS: ECAL.S.A0009
120113
command: "readAttribute"
121114
attribute: "CurrentTransition"
122115
response:
123116
constraints:
124117
type: TransitionStruct
125118

126-
- label: "Step 13: TH reads the PeakPeriodStatus attribute from the DUT"
127-
PICS: ECAL.S.A000B && ECAL.S.F03
128-
command: "readAttribute"
129-
attribute: "PeakPeriodStatus"
130-
response:
131-
constraints:
132-
type: PeakPeriodStatusStruct
133-
134-
- label: "Step 14: TH reads the PeakPeriodStartTime attribute from the DUT"
135-
PICS: ECAL.S.A000B && ECAL.S.F03
119+
- label: "Step 12: TH reads the CurrentPeakPeriod attribute from the DUT"
120+
PICS: ECAL.S.A000A
136121
command: "readAttribute"
137-
attribute: "PeakPeriodStartTime"
122+
attribute: "CurrentPeakPeriod"
138123
response:
139124
constraints:
140-
type: epoch_s
125+
type: PeakPeriodStruct
141126

142-
- label: "Step 15: TH reads the PeakPeriodEndTime attribute from the DUT"
143-
PICS: ECAL.S.A000D && ECAL.S.F03
127+
- label: "Step 13: TH reads the NextPeakPeriod attribute from the DUT"
128+
PICS: ECAL.S.A000B
144129
command: "readAttribute"
145-
attribute: "PeakPeriodEndTime"
130+
attribute: "NextPeakPeriod"
146131
response:
147132
constraints:
148-
type: epoch_s
133+
type: PeakPeriodStruct

0 commit comments

Comments
 (0)
Please sign in to comment.