PHP Class Gc\Core\UpdaterTest

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

Protected Properties

Property Type Description
$fileName string Execute scripts file
$object Updater

Public Methods

Method Description
testExecuteScripts ( ) : void Test
testExecuteScriptsWithEmptyFiles ( ) : void Test
testExecuteScriptsWithError ( ) : void Test
testExecuteScriptsWithoutAdapter ( ) : void Test
testGetMessages ( ) : void Test
testInit ( ) : void Test
testLoad ( ) : void Test
testRollback ( ) : void Test
testRollbackWithoutAdapter ( ) : void Test
testUpdate ( ) : void Test
testUpdateDatabase ( ) : void Test
testUpdateDatabaseWithEmptyFiles ( ) : void Test
testUpdateDatabaseWithSqlError ( ) : void Test
testUpdateDatabaseWithoutAdapter ( ) : void Test
testUpdateWithoutAdapter ( ) : void Test
testUpgrade ( ) : void Test
testUpgradeWithoutAdapter ( ) : 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

testExecuteScripts() public method

Test
public testExecuteScripts ( ) : void
return void

testExecuteScriptsWithEmptyFiles() public method

Test

testExecuteScriptsWithError() public method

Test
public testExecuteScriptsWithError ( ) : void
return void

testExecuteScriptsWithoutAdapter() public method

Test

testGetMessages() public method

Test
public testGetMessages ( ) : void
return void

testInit() public method

Test
public testInit ( ) : void
return void

testLoad() public method

Test
public testLoad ( ) : void
return void

testRollback() public method

Test
public testRollback ( ) : void
return void

testRollbackWithoutAdapter() public method

Test
public testRollbackWithoutAdapter ( ) : void
return void

testUpdate() public method

Test
public testUpdate ( ) : void
return void

testUpdateDatabase() public method

Test
public testUpdateDatabase ( ) : void
return void

testUpdateDatabaseWithEmptyFiles() public method

Test

testUpdateDatabaseWithSqlError() public method

Test

testUpdateDatabaseWithoutAdapter() public method

Test

testUpdateWithoutAdapter() public method

Test
public testUpdateWithoutAdapter ( ) : void
return void

testUpgrade() public method

Test
public testUpgrade ( ) : void
return void

testUpgradeWithoutAdapter() public method

Test
public testUpgradeWithoutAdapter ( ) : void
return void

Property Details

$fileName protected_oe property

Execute scripts file
protected string $fileName
return string

$object protected_oe property

protected Updater,Gc\Core $object
return Updater