PHP Class Jobby\Tests\JobbyTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: hellogerard/jobby

Public Methods

Method 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 ( )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Private Methods

Method Description
getLogContent ( ) : string
getSleepTime ( )

Method Details

setUp() protected method

protected setUp ( )

tearDown() protected method

protected tearDown ( )

testBackgroundProcessIsNotSpawnedIfJobIsNotDueToBeRun() public method

testClosure() public method

public testClosure ( )

testDefaultConfig() public method

public testDefaultConfig ( )

testDefaultOptionsShouldBeMerged() public method

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

testExceptionOnMissingJobOptionCommand() public method

testExceptionOnMissingJobOptionSchedule() public method

testSetConfig() public method

public testSetConfig ( )

testShell() public method

public testShell ( )

testShouldFailIfMaxRuntimeExceeded() public method

testShouldRunAllJobsAdded() public method

testShouldRunJobsAsync() public method

testSuperClosure() public method

public testSuperClosure ( )