PHP Class Gc\Property\ModelTest

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

Protected Properties

Property Type Description
$datatype Gc\Datatype\Model
$documentType Gc\DocumentType\Model
$layout Gc\Layout\Model
$object Model
$tab Gc\Tab\Model
$user Gc\User\Model
$view Gc\View\Model

Public Methods

Method Description
testDelete ( ) : void Test
testDeleteWithNoId ( ) : void Test
testFromArray ( ) : void Test
testFromId ( ) : void Test
testFromIdentifier ( ) : void Test
testFromIdentifierWithNoDocumentId ( ) : void Test
testFromWithWrongId ( ) : void Test
testGetValue ( ) : void Test
testGetValueModel ( ) : void Test
testIsRequired ( ) : void Test
testLoadValue ( ) : void Test
testSave ( ) : void Test
testSaveValue ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testSetValue ( ) : 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

testDeleteWithNoId() public method

Test
public testDeleteWithNoId ( ) : void
return void

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testFromIdentifier() public method

Test
public testFromIdentifier ( ) : void
return void

testFromIdentifierWithNoDocumentId() public method

Test

testFromWithWrongId() public method

Test
public testFromWithWrongId ( ) : void
return void

testGetValue() public method

Test
public testGetValue ( ) : void
return void

testGetValueModel() public method

Test
public testGetValueModel ( ) : void
return void

testIsRequired() public method

Test
public testIsRequired ( ) : void
return void

testLoadValue() public method

Test
public testLoadValue ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveValue() public method

Test
public testSaveValue ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

testSetValue() public method

Test
public testSetValue ( ) : void
return void

Property Details

$datatype protected_oe property

protected Model,Gc\Datatype $datatype
return Gc\Datatype\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 Model,Gc\Property $object
return Model

$tab protected_oe property

protected Model,Gc\Tab $tab
return Gc\Tab\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