PHP Класс Backup\Model\ContentTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
testExport ( ) : void Test
testExportWithEmptyParameterShouldReturnEmptyString ( ) : void Test
testExportWithUndefinedWhatShouldReturnEmptyString ( ) : void Test
testExportwithEmptyContent ( ) : void Test
testImportScript ( )
testImportWithErrorsShouldReturnArray ( )

Защищенные методы

Метод Описание
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.

Описание методов

createContent() защищенный Метод

protected createContent ( )

createUser() защищенный Метод

protected createUser ( )

removeContent() защищенный Метод

protected removeContent ( )

removeUser() защищенный Метод

protected removeUser ( )

setUp() защищенный Метод

This method is called before a test is executed.
protected setUp ( ) : void
Результат void

tearDown() защищенный Метод

This method is called after a test is executed.
protected tearDown ( ) : void
Результат void

testExport() публичный Метод

Test
public testExport ( ) : void
Результат void

testExportWithEmptyParameterShouldReturnEmptyString() публичный Метод

Test

testExportWithUndefinedWhatShouldReturnEmptyString() публичный Метод

Test

testExportwithEmptyContent() публичный Метод

Test
public testExportwithEmptyContent ( ) : void
Результат void

testImportScript() публичный Метод

public testImportScript ( )

testImportWithErrorsShouldReturnArray() публичный Метод

Описание свойств

$datatype защищенное свойство

protected Model,Gc\Datatype $datatype
Результат Gc\Datatype\Model

$document защищенное свойство

protected Model,Gc\Document $document
Результат Gc\Document\Model

$documentType защищенное свойство

protected Model,Gc\DocumentType $documentType
Результат Gc\DocumentType\Model

$object защищенное свойство

protected Files,Backup\Model $object
Результат Files

$property защищенное свойство

protected Model,Gc\Property $property
Результат Gc\Property\Model

$script защищенное свойство

protected Model,Gc\Script $script
Результат Gc\Script\Model

$tabModel защищенное свойство

protected Model,Gc\Tab $tabModel
Результат Gc\Tab\Model

$user защищенное свойство

User model
protected Model,Gc\User $user
Результат Gc\User\Model

$view защищенное свойство

protected Model,Gc\View $view
Результат Gc\View\Model

$what защищенное свойство

protected array $what
Результат array