PHP Class Gc\Core\UpdaterTest

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

Protected Properties

Свойство Type Description
$fileName string Execute scripts file
$object Updater

Méthodes publiques

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

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

testExecuteScripts() public méthode

Test
public testExecuteScripts ( ) : void
Résultat void

testExecuteScriptsWithEmptyFiles() public méthode

Test
public testExecuteScriptsWithEmptyFiles ( ) : void
Résultat void

testExecuteScriptsWithError() public méthode

Test
public testExecuteScriptsWithError ( ) : void
Résultat void

testExecuteScriptsWithoutAdapter() public méthode

Test
public testExecuteScriptsWithoutAdapter ( ) : void
Résultat void

testGetMessages() public méthode

Test
public testGetMessages ( ) : void
Résultat void

testInit() public méthode

Test
public testInit ( ) : void
Résultat void

testLoad() public méthode

Test
public testLoad ( ) : void
Résultat void

testRollback() public méthode

Test
public testRollback ( ) : void
Résultat void

testRollbackWithoutAdapter() public méthode

Test
public testRollbackWithoutAdapter ( ) : void
Résultat void

testUpdate() public méthode

Test
public testUpdate ( ) : void
Résultat void

testUpdateDatabase() public méthode

Test
public testUpdateDatabase ( ) : void
Résultat void

testUpdateDatabaseWithEmptyFiles() public méthode

Test
public testUpdateDatabaseWithEmptyFiles ( ) : void
Résultat void

testUpdateDatabaseWithSqlError() public méthode

Test
public testUpdateDatabaseWithSqlError ( ) : void
Résultat void

testUpdateDatabaseWithoutAdapter() public méthode

Test
public testUpdateDatabaseWithoutAdapter ( ) : void
Résultat void

testUpdateWithoutAdapter() public méthode

Test
public testUpdateWithoutAdapter ( ) : void
Résultat void

testUpgrade() public méthode

Test
public testUpgrade ( ) : void
Résultat void

testUpgradeWithoutAdapter() public méthode

Test
public testUpgradeWithoutAdapter ( ) : void
Résultat void

Property Details

$fileName protected_oe property

Execute scripts file
protected string $fileName
Résultat string

$object protected_oe property

protected Updater,Gc\Core $object
Résultat Updater