Skip to content

Commit

Permalink
Update various YAML files such that they do not save the result of a …
Browse files Browse the repository at this point in the history
…read attribute with the exact same name than the attribute itself
  • Loading branch information
vivien-apple committed Sep 11, 2023
1 parent 7c2483d commit 9c3d189
Show file tree
Hide file tree
Showing 26 changed files with 621 additions and 609 deletions.
62 changes: 31 additions & 31 deletions src/app/tests/suites/DL_Schedules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tests:
command: "readAttribute"
attribute: "NumberOfTotalUsersSupported"
response:
saveAs: NumberOfTotalUsersSupported
saveAs: NumberOfTotalUsersSupportedValue
value: 10

- label:
Expand All @@ -67,7 +67,7 @@ tests:
command: "readAttribute"
attribute: "NumberOfWeekDaySchedulesSupportedPerUser"
response:
saveAs: NumberOfWeekDaySchedulesSupportedPerUser
saveAs: NumberOfWeekDaySchedulesSupportedPerUserValue
value: 10

- label:
Expand All @@ -76,14 +76,14 @@ tests:
command: "readAttribute"
attribute: "NumberOfYearDaySchedulesSupportedPerUser"
response:
saveAs: NumberOfYearDaySchedulesSupportedPerUser
saveAs: NumberOfYearDaySchedulesSupportedPerUserValue
value: 10

- label: "Get Max number of Holiday schedules and verify default value"
command: "readAttribute"
attribute: "NumberOfHolidaySchedulesSupported"
response:
saveAs: NumberOfHolidaySchedulesSupported
saveAs: NumberOfHolidaySchedulesSupportedValue
value: 10

#
Expand Down Expand Up @@ -115,7 +115,7 @@ tests:
arguments:
values:
- name: "WeekDayIndex"
value: NumberOfWeekDaySchedulesSupportedPerUser + 1
value: NumberOfWeekDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
- name: "DaysMask"
Expand Down Expand Up @@ -159,7 +159,7 @@ tests:
- name: "WeekDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
- name: "DaysMask"
value: 0x01
- name: "StartHour"
Expand Down Expand Up @@ -427,13 +427,13 @@ tests:
arguments:
values:
- name: "WeekDayIndex"
value: NumberOfWeekDaySchedulesSupportedPerUser + 1
value: NumberOfWeekDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
response:
values:
- name: "WeekDayIndex"
value: NumberOfWeekDaySchedulesSupportedPerUser + 1
value: NumberOfWeekDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
- name: "Status"
Expand Down Expand Up @@ -463,13 +463,13 @@ tests:
- name: "WeekDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
response:
values:
- name: "WeekDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
- name: "Status"
value: 0x85

Expand Down Expand Up @@ -513,7 +513,7 @@ tests:
arguments:
values:
- name: "YearDayIndex"
value: NumberOfYearDaySchedulesSupportedPerUser + 1
value: NumberOfYearDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
- name: "LocalStartTime"
Expand Down Expand Up @@ -545,7 +545,7 @@ tests:
- name: "YearDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
- name: "LocalStartTime"
value: 12345
- name: "LocalEndTime"
Expand Down Expand Up @@ -625,13 +625,13 @@ tests:
arguments:
values:
- name: "YearDayIndex"
value: NumberOfYearDaySchedulesSupportedPerUser + 1
value: NumberOfYearDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
response:
values:
- name: "YearDayIndex"
value: NumberOfYearDaySchedulesSupportedPerUser + 1
value: NumberOfYearDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
- name: "Status"
Expand Down Expand Up @@ -661,13 +661,13 @@ tests:
- name: "YearDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
response:
values:
- name: "YearDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
- name: "Status"
value: 0x85

Expand Down Expand Up @@ -711,7 +711,7 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported + 1
value: NumberOfHolidaySchedulesSupportedValue + 1
- name: "LocalStartTime"
value: 12345
- name: "LocalEndTime"
Expand Down Expand Up @@ -785,11 +785,11 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported + 1
value: NumberOfHolidaySchedulesSupportedValue + 1
response:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported + 1
value: NumberOfHolidaySchedulesSupportedValue + 1
- name: "Status"
value: 0x85

Expand Down Expand Up @@ -925,7 +925,7 @@ tests:
arguments:
values:
- name: "WeekDayIndex"
value: NumberOfWeekDaySchedulesSupportedPerUser + 1
value: NumberOfWeekDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
response:
Expand All @@ -949,7 +949,7 @@ tests:
- name: "WeekDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
response:
error: INVALID_COMMAND

Expand Down Expand Up @@ -1050,7 +1050,7 @@ tests:
arguments:
values:
- name: "YearDayIndex"
value: NumberOfYearDaySchedulesSupportedPerUser + 1
value: NumberOfYearDaySchedulesSupportedPerUserValue + 1
- name: "UserIndex"
value: 1
response:
Expand All @@ -1074,7 +1074,7 @@ tests:
- name: "YearDayIndex"
value: 1
- name: "UserIndex"
value: NumberOfTotalUsersSupported + 1
value: NumberOfTotalUsersSupportedValue + 1
response:
error: INVALID_COMMAND

Expand Down Expand Up @@ -1171,7 +1171,7 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfYearDaySchedulesSupportedPerUser + 1
value: NumberOfYearDaySchedulesSupportedPerUserValue + 1
response:
error: INVALID_COMMAND

Expand Down Expand Up @@ -1896,7 +1896,7 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
- name: "LocalStartTime"
value: 1
- name: "LocalEndTime"
Expand All @@ -1909,11 +1909,11 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
response:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
- name: "Status"
value: 0x0
- name: "LocalStartTime"
Expand Down Expand Up @@ -2027,11 +2027,11 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
response:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
- name: "Status"
value: 0x0
- name: "LocalStartTime"
Expand Down Expand Up @@ -2129,11 +2129,11 @@ tests:
arguments:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
response:
values:
- name: "HolidayIndex"
value: NumberOfHolidaySchedulesSupported
value: NumberOfHolidaySchedulesSupportedValue
- name: "Status"
value: 0x8B

Expand Down
Loading

0 comments on commit 9c3d189

Please sign in to comment.