PHP Class Gc\Property\Value\ModelTest

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

Protected Properties

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

Public Methods

Method Description
testFromArray ( ) : void Test
testFromId ( ) : void Test
testFromWithWrongId ( ) : void Test
testLoad ( ) : 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

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testFromWithWrongId() public method

Test
public testFromWithWrongId ( ) : void
return void

testLoad() public method

Test
public testLoad ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

Property Details

$datatype protected_oe property

protected Model,Gc\Datatype $datatype
return Gc\Datatype\Model

$document protected_oe property

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

$property protected_oe property

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