PHP Class Backup\Model\ContentTest

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

Protected Properties

Свойство Type Description
$datatype Gc\Datatype\Model
$document Gc\Document\Model
$documentType Gc\DocumentType\Model
$object Files
$property Gc\Property\Model
$script Gc\Script\Model
$tabModel Gc\Tab\Model
$user Gc\User\Model User model
$view Gc\View\Model
$what array

Méthodes publiques

Méthode Description
testExport ( ) : void Test
testExportWithEmptyParameterShouldReturnEmptyString ( ) : void Test
testExportWithUndefinedWhatShouldReturnEmptyString ( ) : void Test
testExportwithEmptyContent ( ) : void Test
testImportScript ( )
testImportWithErrorsShouldReturnArray ( )

Méthodes protégées

Méthode Description
createContent ( )
createUser ( )
removeContent ( )
removeUser ( )
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

createContent() protected méthode

protected createContent ( )

createUser() protected méthode

protected createUser ( )

removeContent() protected méthode

protected removeContent ( )

removeUser() protected méthode

protected removeUser ( )

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

testExport() public méthode

Test
public testExport ( ) : void
Résultat void

testExportWithEmptyParameterShouldReturnEmptyString() public méthode

Test

testExportWithUndefinedWhatShouldReturnEmptyString() public méthode

Test

testExportwithEmptyContent() public méthode

Test
public testExportwithEmptyContent ( ) : void
Résultat void

testImportScript() public méthode

public testImportScript ( )

testImportWithErrorsShouldReturnArray() public méthode

Property Details

$datatype protected_oe property

protected Model,Gc\Datatype $datatype
Résultat Gc\Datatype\Model

$document protected_oe property

protected Model,Gc\Document $document
Résultat Gc\Document\Model

$documentType protected_oe property

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

$object protected_oe property

protected Files,Backup\Model $object
Résultat Files

$property protected_oe property

protected Model,Gc\Property $property
Résultat Gc\Property\Model

$script protected_oe property

protected Model,Gc\Script $script
Résultat Gc\Script\Model

$tabModel protected_oe property

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

$user protected_oe property

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

$view protected_oe property

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

$what protected_oe property

protected array $what
Résultat array