PHP Class Gc\Document\CollectionTest

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

Protected Properties

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

Public Methods

Method Description
testGetAvailableChilren ( ) : void Test
testGetAvailableDocuments ( ) : void Test
testGetChildren ( ) : void Test
testGetEditUrl ( ) : void Test
testGetIcon ( ) : void Test
testGetId ( ) : void Test
testGetIterableId ( ) : void Test
testGetName ( ) : void Test
testGetParent ( ) : void Test
testGetSelect ( ) : void Test
testLoad ( ) : void Test
testLoadWithParentId ( ) : 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

testGetAvailableChilren() public method

Test
public testGetAvailableChilren ( ) : void
return void

testGetAvailableDocuments() public method

Test
public testGetAvailableDocuments ( ) : void
return void

testGetChildren() public method

Test
public testGetChildren ( ) : void
return void

testGetEditUrl() public method

Test
public testGetEditUrl ( ) : void
return void

testGetIcon() public method

Test
public testGetIcon ( ) : void
return void

testGetId() public method

Test
public testGetId ( ) : void
return void

testGetIterableId() public method

Test
public testGetIterableId ( ) : void
return void

testGetName() public method

Test
public testGetName ( ) : void
return void

testGetParent() public method

Test
public testGetParent ( ) : void
return void

testGetSelect() public method

Test
public testGetSelect ( ) : void
return void

testLoad() public method

Test
public testLoad ( ) : void
return void

testLoadWithParentId() public method

Test
public testLoadWithParentId ( ) : void
return void

Property Details

$document protected_oe property

protected Model,Gc\Document $document
return Model

$documentChildren protected_oe property

protected Model,Gc\Document $documentChildren
return 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 Collection,Gc\Document $object
return Collection

$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