PHP 클래스 Backup\Model\ContentTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: gotcms/gotcms

보호된 프로퍼티들

프로퍼티 타입 설명
$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