PHP 클래스 Jobby\Tests\BackgroundJobTest

상속: extends PHPUnit_Framework_TestCase, use trait Jobby\SerializerTrait
파일 보기 프로젝트 열기: hellogerard/jobby

공개 메소드들

메소드 설명
haltDirProvider ( )
runProvider ( )
testCheckMaxRuntime ( )
testCheckMaxRuntimeShouldFailIsExceeded ( )
testClosureNotReturnTrue ( )
testHaltDir ( boolean $createFile, boolean $jobRuns )
testHideStdOutByDefault ( )
testInvalidCommand ( )
testMailShouldTriggerHelper ( )
testNotSendMailOnMissingRecipients ( )
testRun ( array $config, string $expectedOutput )
testShouldCreateLogFolder ( )

보호된 메소드들

메소드 설명
setUp ( )
tearDown ( )

비공개 메소드들

메소드 설명
getJobConfig ( array $config ) : array
getLogContent ( ) : string
runJob ( array $config, Helper $helper = null )

메소드 상세

haltDirProvider() 공개 메소드

public haltDirProvider ( )

runProvider() 공개 메소드

public runProvider ( )

setUp() 보호된 메소드

protected setUp ( )

tearDown() 보호된 메소드

protected tearDown ( )

testCheckMaxRuntime() 공개 메소드

public testCheckMaxRuntime ( )

testCheckMaxRuntimeShouldFailIsExceeded() 공개 메소드

testClosureNotReturnTrue() 공개 메소드

testHaltDir() 공개 메소드

public testHaltDir ( boolean $createFile, boolean $jobRuns )
$createFile boolean
$jobRuns boolean

testHideStdOutByDefault() 공개 메소드

testInvalidCommand() 공개 메소드

public testInvalidCommand ( )

testMailShouldTriggerHelper() 공개 메소드

testNotSendMailOnMissingRecipients() 공개 메소드

testRun() 공개 메소드

public testRun ( array $config, string $expectedOutput )
$config array
$expectedOutput string

testShouldCreateLogFolder() 공개 메소드