PHP Class Gc\Component\NavigationTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: gotcms/gotcms

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
testGetBasePath ( ) : void Test
testRender ( ) : void Test
testRenderWithChildrenActivePage ( ) : void Test
testRenderWithChildrenActivePageOnTheForthDocument ( ) : void Test
testRenderWithNoActivePage ( ) : void Test
testSetBasePath ( ) : void Test

Méthodes protégées

Méthode 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 méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void

testGetBasePath() public méthode

Test
public testGetBasePath ( ) : void
Résultat void

testRender() public méthode

Test
public testRender ( ) : void
Résultat void

testRenderWithChildrenActivePage() public méthode

Test
public testRenderWithChildrenActivePage ( ) : void
Résultat void

testRenderWithChildrenActivePageOnTheForthDocument() public méthode

Test

testRenderWithNoActivePage() public méthode

Test
public testRenderWithNoActivePage ( ) : void
Résultat void

testSetBasePath() public méthode

Test
public testSetBasePath ( ) : void
Résultat void

Property Details

$document protected_oe property

protected Model,Gc\Document $document
Résultat Gc\Document\Model

$documentChildren protected_oe property

protected Model,Gc\Document $documentChildren
Résultat Gc\Document\Model

$documentType protected_oe property

protected Model,Gc\DocumentType $documentType
Résultat Gc\DocumentType\Model

$layout protected_oe property

protected Model,Gc\Layout $layout
Résultat Gc\Layout\Model

$object protected_oe property

protected Navigation,Gc\Component $object
Résultat Navigation

$user protected_oe property

protected Model,Gc\User $user
Résultat Gc\User\Model

$view protected_oe property

protected Model,Gc\View $view
Résultat Gc\View\Model