PHP Class Gc\Mvc\Listener\DocumentListenerTest

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

Protected Properties

Property Type Description
$object DocumentListener

Public Methods

Method Description
testOnRouteWith404Path ( ) : void test
testOnRouteWithEmptyPath ( ) : void test
testOnRouteWithHomePage ( ) : void test
testOnRouteWithRealPath ( ) : void test
testOnRouteWithWrongRoute ( ) : void test
testattach ( ) : void test

Protected Methods

Method Description
createDocuments ( ) : void test
deleteDocuments ( )
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

createDocuments() protected method

test
protected createDocuments ( ) : void
return void

deleteDocuments() protected method

protected deleteDocuments ( )

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

testOnRouteWith404Path() public method

test
public testOnRouteWith404Path ( ) : void
return void

testOnRouteWithEmptyPath() public method

test
public testOnRouteWithEmptyPath ( ) : void
return void

testOnRouteWithHomePage() public method

test
public testOnRouteWithHomePage ( ) : void
return void

testOnRouteWithRealPath() public method

test
public testOnRouteWithRealPath ( ) : void
return void

testOnRouteWithWrongRoute() public method

test
public testOnRouteWithWrongRoute ( ) : void
return void

testattach() public method

test
public testattach ( ) : void
return void

Property Details

$object protected_oe property

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