PHP Class Gc\Datatype\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
testDeleteWithWrongValues ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFromArray ( ) : void Test
testFromId ( ) : void Test
testLoadDatatype ( ) : void Test
testLoadEditor ( ) : void Test
testLoadPrevalueEditor ( ) : void Test
testSave ( ) : void Test
testSaveEditor ( ) : void Test
testSavePrevalueEditor ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testSetPrevalueValue ( ) : 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

testDeleteWithWrongValues() public method

Test
public testDeleteWithWrongValues ( ) : void
return void

testDeleteWithoutId() public method

Test
public testDeleteWithoutId ( ) : void
return void

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testLoadDatatype() public method

Test
public testLoadDatatype ( ) : void
return void

testLoadEditor() public method

Test
public testLoadEditor ( ) : void
return void

testLoadPrevalueEditor() public method

Test
public testLoadPrevalueEditor ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveEditor() public method

Test
public testSaveEditor ( ) : void
return void

testSavePrevalueEditor() public method

Test
public testSavePrevalueEditor ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

testSetPrevalueValue() public method

Test
public testSetPrevalueValue ( ) : void
return void

Property Details

$object protected_oe property

protected Model,Gc\Datatype $object
return Model