|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class CronJobScheduleTest. More...
Inheritance diagram for CronJobScheduleTest:
Collaboration diagram for CronJobScheduleTest:Public Member Functions | |
| jobProvider () | |
| testSchedule (ilCronJob $job_instance, bool $is_manual_run, ?DateTimeImmutable $last_run_datetime, CronJobScheduleType $schedule_type, ?int $schedule_value, bool $should_be_due) | |
| jobProvider More... | |
| weeklyScheduleProvider () | |
| testWeeklySchedules (ilCronJob $job_instance, callable $last_run_datetime_provider, bool $should_be_due) | |
| weeklyScheduleProvider More... | |
Private Member Functions | |
| getJob (bool $has_flexible_schedule, CronJobScheduleType $default_schedule_type, ?int $default_schedule_value, CronJobScheduleType $schedule_type, ?int $schedule_value) | |
Private Attributes | |
| DateTimeImmutable | $now |
| DateTimeImmutable | $this_quarter_start |
Class CronJobScheduleTest.
Definition at line 28 of file CronJobScheduleTest.php.
|
private |
Definition at line 34 of file CronJobScheduleTest.php.
References $now, ILIAS\MetaData\Repository\Validation\Data\__construct(), and ILIAS\Survey\Mode\getId().
Referenced by jobProvider(), and weeklyScheduleProvider().
Here is the call graph for this function:
Here is the caller graph for this function:| CronJobScheduleTest::jobProvider | ( | ) |
Definition at line 101 of file CronJobScheduleTest.php.
References $now, getJob(), ILIAS\Repository\int(), and ILIAS\Cron\Schedule\SCHEDULE_TYPE_YEARLY.
Here is the call graph for this function:| CronJobScheduleTest::testSchedule | ( | ilCronJob | $job_instance, |
| bool | $is_manual_run, | ||
| ?DateTimeImmutable | $last_run_datetime, | ||
| CronJobScheduleType | $schedule_type, | ||
| ?int | $schedule_value, | ||
| bool | $should_be_due | ||
| ) |
jobProvider
Definition at line 260 of file CronJobScheduleTest.php.
References ilCronJob\isDue().
Here is the call graph for this function:| CronJobScheduleTest::testWeeklySchedules | ( | ilCronJob | $job_instance, |
| callable | $last_run_datetime_provider, | ||
| bool | $should_be_due | ||
| ) |
weeklyScheduleProvider
| callable() | DateTimeImmutable $last_run_datetime_provider |
Definition at line 342 of file CronJobScheduleTest.php.
References ilCronJob\getScheduleType(), ilCronJob\getScheduleValue(), and ilCronJob\isDue().
Here is the call graph for this function:| CronJobScheduleTest::weeklyScheduleProvider | ( | ) |
Definition at line 275 of file CronJobScheduleTest.php.
References getJob().
Here is the call graph for this function:
|
private |
Definition at line 30 of file CronJobScheduleTest.php.
Referenced by getJob(), and jobProvider().
|
private |
Definition at line 32 of file CronJobScheduleTest.php.