\Tests\Unit\CoreModule\ModelTaskTimeManagerTest

Tests for scheduler's task time specification manager

Summary

Methods
Properties
Constants
testCronToArrayAlias()
testCronToArrayAliasInvalid()
testCronToArrayWithoutSecondsAndYear()
testCronToArrayWithoutYear()
testCronToArrayWithoutSeconds()
testCronToArrayInvalid()
testCronToString()
testGetTimeCron()
testGetTimeOneShot()
testGetTimePeriodicSeconds()
testGetTimePeriodicMinutes()
testGetTimePeriodicHours()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testCronToArrayAlias()

testCronToArrayAlias() : 

Tests the function to convert CRON alias to an array

Returns

testCronToArrayAliasInvalid()

testCronToArrayAliasInvalid() : 

Tests the function to convert an invalid CRON alias to an array

Returns

testCronToArrayWithoutSecondsAndYear()

testCronToArrayWithoutSecondsAndYear() : 

Tests the function to convert CRON without seconds and year section to an array

Returns

testCronToArrayWithoutYear()

testCronToArrayWithoutYear() : 

Tests the function to convert CRON without year section to an array

Returns

testCronToArrayWithoutSeconds()

testCronToArrayWithoutSeconds() : 

Tests the function to convert CRON without seconds section to an array

Returns

testCronToArrayInvalid()

testCronToArrayInvalid() : 

Tests the function to convert an invalid CRON to an array

Returns

testCronToString()

testCronToString() : 

Tests the function to convert CRON in an array to a string

Returns

testGetTimeCron()

testGetTimeCron() : 

Tests the function to get the task's time specification (CRON)

Returns

testGetTimeOneShot()

testGetTimeOneShot() : 

Tests the function to get the task's time specification (one shot)

Returns

testGetTimePeriodicSeconds()

testGetTimePeriodicSeconds() : 

Tests the function to get the task's time specification (period in seconds)

Returns

testGetTimePeriodicMinutes()

testGetTimePeriodicMinutes() : 

Tests the function to get the task's time specification (period in minutes)

Returns

testGetTimePeriodicHours()

testGetTimePeriodicHours() : 

Tests the function to get the task's time specification (period in hours)

Returns