PHP Class Gc\Tab\ModelTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: gotcms/gotcms

Protected Properties

Свойство Type Description
$documentType Gc\DocumentType\Model
$layout Gc\Layout\Model
$object Model
$user Gc\User\Model
$view Gc\View\Model

Méthodes publiques

Méthode Description
testDelete ( ) : void Test
testDeleteWithWrongValues ( ) : void Test
testFromArray ( ) : void Test
testFromId ( ) : void Test
testFromIdWithWrongValues ( ) : void Test
testGetDocumentType ( ) : void Test
testGetProperties ( ) : void Test
testLoad ( ) : void Test
testLoadWithWrongValues ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : void Test

Méthodes protégées

Méthode 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 méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void

testDelete() public méthode

Test
public testDelete ( ) : void
Résultat void

testDeleteWithWrongValues() public méthode

Test
public testDeleteWithWrongValues ( ) : void
Résultat void

testFromArray() public méthode

Test
public testFromArray ( ) : void
Résultat void

testFromId() public méthode

Test
public testFromId ( ) : void
Résultat void

testFromIdWithWrongValues() public méthode

Test
public testFromIdWithWrongValues ( ) : void
Résultat void

testGetDocumentType() public méthode

Test
public testGetDocumentType ( ) : void
Résultat void

testGetProperties() public méthode

Test
public testGetProperties ( ) : void
Résultat void

testLoad() public méthode

Test
public testLoad ( ) : void
Résultat void

testLoadWithWrongValues() public méthode

Test
public testLoadWithWrongValues ( ) : void
Résultat void

testSave() public méthode

Test
public testSave ( ) : void
Résultat void

testSaveWithWrongValues() public méthode

Test
public testSaveWithWrongValues ( ) : void
Résultat void

Property Details

$documentType protected_oe property

protected Model,Gc\DocumentType $documentType
Résultat Gc\DocumentType\Model

$layout protected_oe property

protected Model,Gc\Layout $layout
Résultat Gc\Layout\Model

$object protected_oe property

protected Model,Gc\Tab $object
Résultat Model

$user protected_oe property

protected Model,Gc\User $user
Résultat Gc\User\Model

$view protected_oe property

protected Model,Gc\View $view
Résultat Gc\View\Model