PHP 클래스 Contao\CoreBundle\Test\EventListener\CommandSchedulerListenerTest

파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
testDisableCron ( ) Tests that the listener does nothing if the command scheduler has been disabled.
testIncompleteInstallation ( ) Tests that the listener does nothing if the installation is incomplete.
testInstantiation ( ) Tests the object instantiation.
testWithContaoFramework ( ) Tests that the listener does use the response if the Contao framework is booted.
testWithoutContaoFramework ( ) Tests that the listener does nothing if the Contao framework is not booted.

보호된 메소드들

메소드 설명
setUp ( )

비공개 메소드들

메소드 설명
mockConnection ( ) : Doctrine\DBAL\Connection | PHPUnit_Framework_MockObject_MockObject Mocks a database connection object.

메소드 상세

setUp() 보호된 메소드

protected setUp ( )

testDisableCron() 공개 메소드

Tests that the listener does nothing if the command scheduler has been disabled.
public testDisableCron ( )

testIncompleteInstallation() 공개 메소드

Tests that the listener does nothing if the installation is incomplete.

testInstantiation() 공개 메소드

Tests the object instantiation.
public testInstantiation ( )

testWithContaoFramework() 공개 메소드

Tests that the listener does use the response if the Contao framework is booted.

testWithoutContaoFramework() 공개 메소드

Tests that the listener does nothing if the Contao framework is not booted.