PHP Class Gc\Component\NavigationTest

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

Protected Properties

Property Type Description
$document Gc\Document\Model
$documentChildren Gc\Document\Model
$documentType Gc\DocumentType\Model
$layout Gc\Layout\Model
$object Navigation
$user Gc\User\Model
$view Gc\View\Model

Public Methods

Method Description
testGetBasePath ( ) : void Test
testRender ( ) : void Test
testRenderWithChildrenActivePage ( ) : void Test
testRenderWithChildrenActivePageOnTheForthDocument ( ) : void Test
testRenderWithNoActivePage ( ) : void Test
testSetBasePath ( ) : 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

testGetBasePath() public method

Test
public testGetBasePath ( ) : void
return void

testRender() public method

Test
public testRender ( ) : void
return void

testRenderWithChildrenActivePage() public method

Test

testRenderWithChildrenActivePageOnTheForthDocument() public method

Test

testRenderWithNoActivePage() public method

Test
public testRenderWithNoActivePage ( ) : void
return void

testSetBasePath() public method

Test
public testSetBasePath ( ) : void
return void

Property Details

$document protected_oe property

protected Model,Gc\Document $document
return Gc\Document\Model

$documentChildren protected_oe property

protected Model,Gc\Document $documentChildren
return Gc\Document\Model

$documentType protected_oe property

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

$layout protected_oe property

protected Model,Gc\Layout $layout
return Gc\Layout\Model

$object protected_oe property

protected Navigation,Gc\Component $object
return Navigation

$user protected_oe property

protected Model,Gc\User $user
return Gc\User\Model

$view protected_oe property

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