PHP Class Gc\DocumentType\ModelTest

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

Protected Properties

Property Type Description
$documentTypechildren Model
$layout Gc\Layout\Model
$object Model
$user Gc\User\Model
$view Gc\View\Model

Public Methods

Method Description
testAddView ( ) : void Test
testAddViews ( ) : void Test
testDelete ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFromArray ( ) : void Test
testFromFakeId ( ) : void Test
testFromId ( ) : void Test
testGetAvailableViews ( ) : void Test
testGetDependencies ( ) : void Test
testGetTabs ( ) : void Test
testGetUser ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : 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

testAddView() public method

Test
public testAddView ( ) : void
return void

testAddViews() public method

Test
public testAddViews ( ) : void
return void

testDelete() public method

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

testFromId() public method

Test
public testFromId ( ) : void
return void

testGetAvailableViews() public method

Test
public testGetAvailableViews ( ) : void
return void

testGetDependencies() public method

Test
public testGetDependencies ( ) : void
return void

testGetTabs() public method

Test
public testGetTabs ( ) : void
return void

testGetUser() public method

Test
public testGetUser ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

Property Details

$documentTypechildren protected_oe property

protected Model,Gc\DocumentType $documentTypechildren
return Model

$layout protected_oe property

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

$object protected_oe property

protected Model,Gc\DocumentType $object
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