Methods

testFactoryRecognizesTemplates()

testFactoryRecognizesTemplates() 

testParsesCronSchedule()

testParsesCronSchedule() 

testParsesCronScheduleThrowsAnException()

testParsesCronScheduleThrowsAnException() 

testParsesCronScheduleWithAnySpaceCharsAsSeparators()

testParsesCronScheduleWithAnySpaceCharsAsSeparators(  $schedule, array  $expected) 

Parameters

$schedule
array $expected

scheduleWithDifferentSeparatorsProvider()

scheduleWithDifferentSeparatorsProvider() : array

Data provider for testParsesCronScheduleWithAnySpaceCharsAsSeparators

Returns

array

testInvalidCronsWillFail()

testInvalidCronsWillFail() 

testInvalidPartsWillFail()

testInvalidPartsWillFail() 

scheduleProvider()

scheduleProvider() : array

Data provider for cron schedule

Returns

array

testDeterminesIfCronIsDue()

testDeterminesIfCronIsDue(  $schedule,   $relativeTime,   $nextRun,   $isDue) 

Parameters

$schedule
$relativeTime
$nextRun
$isDue

testIsDueHandlesDifferentDates()

testIsDueHandlesDifferentDates() 

testIsDueHandlesDifferentDefaultTimezones()

testIsDueHandlesDifferentDefaultTimezones() 

testIsDueHandlesDifferentSuppliedTimezones()

testIsDueHandlesDifferentSuppliedTimezones() 

testIsDueHandlesDifferentTimezonesAsArgument()

testIsDueHandlesDifferentTimezonesAsArgument() 

testRecognisesTimezonesAsPartOfDateTime()

testRecognisesTimezonesAsPartOfDateTime() 

testCanGetPreviousRunDates()

testCanGetPreviousRunDates() 

testProvidesMultipleRunDates()

testProvidesMultipleRunDates() 

testProvidesMultipleRunDatesForTheFarFuture()

testProvidesMultipleRunDatesForTheFarFuture() 

testCanIterateOverNextRuns()

testCanIterateOverNextRuns() 

testSkipsCurrentDateByDefault()

testSkipsCurrentDateByDefault() 

testStripsForSeconds()

testStripsForSeconds() 

testFixesPhpBugInDateIntervalMonth()

testFixesPhpBugInDateIntervalMonth() 

testIssue29()

testIssue29() 

testIssue20()

testIssue20() 

testKeepOriginalTime()

testKeepOriginalTime() 

testValidationWorks()

testValidationWorks() 

testDoubleZeroIsValid()

testDoubleZeroIsValid() 

Makes sure that 00 is considered a valid value for 0-based fields cronie allows numbers with a leading 0, so adding support for this as well

testRangesWrapAroundWithLargeSteps()

testRangesWrapAroundWithLargeSteps() 

Ranges with large steps should "wrap around" to the appropriate value cronie allows for steps that are larger than the range of a field, with it wrapping around like a ring buffer. We should do the same.