PHP Class Gc\Mvc\Listener\CacheListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$object CacheListener

Public Methods

Method Description
testAttach ( ) : void Test
testOnFinishWithCache ( ) : void Test
testOnFinishWithCacheActivatedAndNoHttpRequest ( ) : void Test
testOnFinishWithCacheDisabled ( ) : void Test
testOnRouteWithCacheActivatedAndWithIdentityAndPreview ( ) : void Test
testOnRouteWithCacheActivatedAndWithOutIdentityAndData ( ) : void Test
testOnRouteWithCacheActivatedAndWithOutIdentityAndWithoutData ( ) : void Test
testOnRouteWithCacheActivatedWithoutIdentityAndWithoutHttpRequest ( ) : void Test
testOnRouteWithoutCache ( ) : void Test

Protected 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.

Method Details

setUp() protected method

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

tearDown() protected method

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

testAttach() public method

Test
public testAttach ( ) : void
return void

testOnFinishWithCache() public method

Test
public testOnFinishWithCache ( ) : void
return void

testOnFinishWithCacheActivatedAndNoHttpRequest() public method

Test

testOnFinishWithCacheDisabled() public method

Test

testOnRouteWithCacheActivatedAndWithIdentityAndPreview() public method

Test

testOnRouteWithCacheActivatedAndWithOutIdentityAndData() public method

Test

testOnRouteWithCacheActivatedAndWithOutIdentityAndWithoutData() public method

Test

testOnRouteWithCacheActivatedWithoutIdentityAndWithoutHttpRequest() public method

Test

testOnRouteWithoutCache() public method

Test
public testOnRouteWithoutCache ( ) : void
return void

Property Details

$object protected_oe property

protected CacheListener,Gc\Mvc\Listener $object
return CacheListener