PHP Класс Aoe_Scheduler_Test_Model_Schedule_Runnow, Aoe_Scheduler

Наследование: extends EcomDev_PHPUnit_Test_Case
Показать файл Открыть проект

Открытые методы

Метод Описание
runJob ( )
runJobWithError ( )
runJobWithException ( )
runJobWithNothing ( )
setup ( )
testShouldKillWithWrongUserAndKillSwitchSet ( ) When the runningAsConfiguredUser returns false (which is when kill is enabled) the job should not run but return an instance of itself and set a status message
testShouldNotKillWhenKillSwitchIsOffButUserIsWrong ( ) When "warn" is the chosen preference for what to do when the wrong user runs the cron, allow the job to complete

Защищенные методы

Метод Описание
_performConfiguredUserTest ( ) : Aoe_Scheduler_Model_Schedule Centralized logic for running unit test against multiple fixtures

Описание методов

_performConfiguredUserTest() защищенный Метод

Centralized logic for running unit test against multiple fixtures
protected _performConfiguredUserTest ( ) : Aoe_Scheduler_Model_Schedule
Результат Aoe_Scheduler_Model_Schedule

runJob() публичный Метод

public runJob ( )

runJobWithError() публичный Метод

public runJobWithError ( )

runJobWithException() публичный Метод

public runJobWithException ( )

runJobWithNothing() публичный Метод

public runJobWithNothing ( )

setup() публичный Метод

public setup ( )

testShouldKillWithWrongUserAndKillSwitchSet() публичный Метод

When the runningAsConfiguredUser returns false (which is when kill is enabled) the job should not run but return an instance of itself and set a status message

testShouldNotKillWhenKillSwitchIsOffButUserIsWrong() публичный Метод

When "warn" is the chosen preference for what to do when the wrong user runs the cron, allow the job to complete