PHP Class Gc\Module\ModelTest

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

Protected Properties

Property Type Description
$object Model

Public Methods

Method Description
testDelete ( ) : void Test
testDeleteWithNoId ( ) : void Test
testDeleteWithWrongValues ( ) : void Test
testFromArray ( ) : void Test
testFromId ( ) : void Test
testFromName ( ) : void Test
testFromWrongId ( ) : void Test
testFromWrongName ( ) : void Test
testInstallAndUninstall ( ) : void Test
testInstallWithInvalidData ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testUnInstallWithInvalidData ( ) : 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

testDeleteWithWrongValues() public method

Test
public testDeleteWithWrongValues ( ) : void
return void

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testFromName() public method

Test
public testFromName ( ) : void
return void

testFromWrongId() public method

Test
public testFromWrongId ( ) : void
return void

testFromWrongName() public method

Test
public testFromWrongName ( ) : void
return void

testInstallAndUninstall() public method

Test
public testInstallAndUninstall ( ) : void
return void

testInstallWithInvalidData() public method

Test
public testInstallWithInvalidData ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

testUnInstallWithInvalidData() public method

Test
public testUnInstallWithInvalidData ( ) : void
return void

Property Details

$object protected_oe property

protected Model,Gc\Module $object
return Model