PHP Class GcFrontend\Controller\IndexControllerTest

Mostra file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$config Gc\Core\Config
$datatype Gc\Datatype\Model
$documentType Gc\DocumentType\Model
$property Gc\Property\Model
$tabModel Gc\Tab\Model
$view Gc\View\Model

Public Methods

Method Description
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.
testIndexAction ( ) : void Test
testIndexActionWith404Page ( ) : void Test
testIndexActionWith404PageAndNotEmptyContent ( ) : void Test
testIndexActionWithCache ( ) : void Test
testIndexActionWithExistingCache ( ) : void Test
testIndexActionWithOfflineWebsite ( ) : void Test
testIndexActionWithUrlKey ( ) : void Test
testIndexActionWithUrlKeyWithPreview ( ) : void Test

Method Details

setUp() public method

This method is called before a test is executed.
public setUp ( ) : void
return void

tearDown() public method

This method is called after a test is executed.
public tearDown ( ) : void
return void

testIndexAction() public method

Test
public testIndexAction ( ) : void
return void

testIndexActionWith404Page() public method

Test
public testIndexActionWith404Page ( ) : void
return void

testIndexActionWith404PageAndNotEmptyContent() public method

Test

testIndexActionWithCache() public method

Test
public testIndexActionWithCache ( ) : void
return void

testIndexActionWithExistingCache() public method

Test

testIndexActionWithOfflineWebsite() public method

Test

testIndexActionWithUrlKey() public method

Test
public testIndexActionWithUrlKey ( ) : void
return void

testIndexActionWithUrlKeyWithPreview() public method

Test

Property Details

$config protected_oe property

protected Config,Gc\Core $config
return Gc\Core\Config

$datatype protected_oe property

protected Model,Gc\Datatype $datatype
return Gc\Datatype\Model

$documentType protected_oe property

protected Model,Gc\DocumentType $documentType
return Gc\DocumentType\Model

$property protected_oe property

protected Model,Gc\Property $property
return Gc\Property\Model

$tabModel protected_oe property

protected Model,Gc\Tab $tabModel
return Gc\Tab\Model

$view protected_oe property

protected Model,Gc\View $view
return Gc\View\Model