PHP Класс Contao\CoreBundle\Test\EventListener\CommandSchedulerListenerTest

Наследование: extends Contao\CoreBundle\Test\TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.