PHP Class Jobby\Tests\JobbyTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: hellogerard/jobby

Méthodes publiques

Méthode Description
testBackgroundProcessIsNotSpawnedIfJobIsNotDueToBeRun ( ) : void
testClosure ( )
testDefaultConfig ( )
testDefaultOptionsShouldBeMerged ( ) This is the same test as testClosure but (!) we use the default options to set the output file.
testExceptionOnMissingJobOptionCommand ( )
testExceptionOnMissingJobOptionSchedule ( )
testSetConfig ( )
testShell ( )
testShouldFailIfMaxRuntimeExceeded ( )
testShouldRunAllJobsAdded ( )
testShouldRunJobsAsync ( )
testSuperClosure ( )

Méthodes protégées

Méthode Description
setUp ( )
tearDown ( )

Private Methods

Méthode Description
getLogContent ( ) : string
getSleepTime ( )

Method Details

setUp() protected méthode

protected setUp ( )

tearDown() protected méthode

protected tearDown ( )

testBackgroundProcessIsNotSpawnedIfJobIsNotDueToBeRun() public méthode

testClosure() public méthode

public testClosure ( )

testDefaultConfig() public méthode

public testDefaultConfig ( )

testDefaultOptionsShouldBeMerged() public méthode

This is the same test as testClosure but (!) we use the default options to set the output file.

testExceptionOnMissingJobOptionCommand() public méthode

testExceptionOnMissingJobOptionSchedule() public méthode

testSetConfig() public méthode

public testSetConfig ( )

testShell() public méthode

public testShell ( )

testShouldFailIfMaxRuntimeExceeded() public méthode

testShouldRunAllJobsAdded() public méthode

testShouldRunJobsAsync() public méthode

testSuperClosure() public méthode

public testSuperClosure ( )