PHP Class Gc\Document\ModelTest

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

Protected Properties

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

Public Methods

Method Description
testDelete ( ) : void Test
testDeleteWithException ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFromArray ( ) : void Test
testFromFakeId ( ) : void Test
testFromFakeUrlKey ( ) : void Test
testFromId ( ) : void Test
testFromUrlKey ( ) : void Test
testGetAvailableChilren ( ) : void Test
testGetChildren ( ) : void Test
testGetDocumentType ( ) : void Test
testGetEditUrl ( ) : void Test
testGetEmptyIcon ( ) : void Test
testGetIcon ( ) : void Test
testGetId ( ) : void Test
testGetIterableId ( ) : void Test
testGetLayout ( ) : void Test
testGetName ( ) : void Test
testGetParent ( ) : void Test
testGetProperty ( ) : void Test
testGetPropertyWithOutId ( ) : void Test
testGetUrl ( ) : void Test
testGetView ( ) : void Test
testInit ( ) : void Test
testIsPublished ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testShowInNav ( ) : 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

testDelete() public method

Test
public testDelete ( ) : void
return void

testDeleteWithException() public method

Test
public testDeleteWithException ( ) : void
return void

testDeleteWithoutId() public method

Test
public testDeleteWithoutId ( ) : void
return void

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromFakeId() public method

Test
public testFromFakeId ( ) : void
return void

testFromFakeUrlKey() public method

Test
public testFromFakeUrlKey ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testFromUrlKey() public method

Test
public testFromUrlKey ( ) : void
return void

testGetAvailableChilren() public method

Test
public testGetAvailableChilren ( ) : void
return void

testGetChildren() public method

Test
public testGetChildren ( ) : void
return void

testGetDocumentType() public method

Test
public testGetDocumentType ( ) : void
return void

testGetEditUrl() public method

Test
public testGetEditUrl ( ) : void
return void

testGetEmptyIcon() public method

Test
public testGetEmptyIcon ( ) : 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

testGetLayout() public method

Test
public testGetLayout ( ) : void
return void

testGetName() public method

Test
public testGetName ( ) : void
return void

testGetParent() public method

Test
public testGetParent ( ) : void
return void

testGetProperty() public method

Test
public testGetProperty ( ) : void
return void

testGetPropertyWithOutId() public method

Test
public testGetPropertyWithOutId ( ) : void
return void

testGetUrl() public method

Test
public testGetUrl ( ) : void
return void

testGetView() public method

Test
public testGetView ( ) : void
return void

testInit() public method

Test
public testInit ( ) : void
return void

testIsPublished() public method

Test
public testIsPublished ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

testShowInNav() public method

Test
public testShowInNav ( ) : void
return void

Property Details

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

$parentmodel protected_oe property

protected Model,Gc\Document $parentmodel
return Model

$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