PHP Class Comos\Qpm\Supervision\ConfigTest

Inheritance: extends PHPUnit_Framework_TestCase, implements Comos\Qpm\Process\Runnable
Show file Open project: comos/qpm

Public Methods

Method Description
dataProviderOfTermTimeout ( )
dataProvider_isTimeoutEnabled ( )
processLauncherMissedDataProvider ( )
testGetFactory ( )
testGetFactory_InvalidRunnableCallback ( )
testGetFactory_RunnableCallback ( )
testGetQuantity ( )
testTermTimeout ( $termTimeout, $expectedIsKillOnTimeout, $expectedTermTimeout )
testTimeout ( $timeout, $expectedEnabled, $expectedTimeout )
test__Construct ( )
test__Construct_FactoryIsNotCallable ( )
test__Construct_MaxRestartTimesIsNotNumeric ( )
test__Construct_MaxRestartTimesIsStringButNumeric ( )
test__Construct_MissWayToStartNewProcess ( $data )
test__Construct_QuantityMustBePositiveInteger ( )
test__Construct_WorkerIsNotRunnable ( )

Method Details

dataProviderOfTermTimeout() public method

dataProvider_isTimeoutEnabled() public method

processLauncherMissedDataProvider() public method

testGetFactory() public method

public testGetFactory ( )

testGetFactory_InvalidRunnableCallback() public method

testGetFactory_RunnableCallback() public method

testGetQuantity() public method

public testGetQuantity ( )

testTermTimeout() public method

public testTermTimeout ( $termTimeout, $expectedIsKillOnTimeout, $expectedTermTimeout )

testTimeout() public method

public testTimeout ( $timeout, $expectedEnabled, $expectedTimeout )

test__Construct() public method

public test__Construct ( )

test__Construct_FactoryIsNotCallable() public method

test__Construct_MaxRestartTimesIsNotNumeric() public method

test__Construct_MaxRestartTimesIsStringButNumeric() public method

test__Construct_MissWayToStartNewProcess() public method

test__Construct_QuantityMustBePositiveInteger() public method

test__Construct_WorkerIsNotRunnable() public method