PHP Class GcContent\Controller\DocumentControllerTest

Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$datatype Gc\Datatype\Model
$document Gc\Document\Model
$documentType Gc\DocumentType\Model
$property Gc\Property\Model
$tabModel Gc\Tab\Model
$view Gc\View\Model

Public 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.
testCopyAction ( ) : void Test
testCopyActionWithWrongId ( ) : void Test
testCreateAction ( ) : void Test
testCreateActionWithInvalidPostData ( ) : void Test
testCreateActionWithParent ( ) : void Test
testCreateActionWithPostData ( ) : void Test
testCutAction ( ) : void Test
testCutActionWithWrongId ( ) : void Test
testDeleteAction ( ) : void Test
testDeleteActionWithWrongId ( ) : void Test
testEditAction ( ) : void Test
testEditActionWithInvalidPostData ( ) : void Test
testEditActionWithPostData ( ) : void Test
testEditActionWithWrongId ( ) : void Test
testPasteAction ( ) : void Test
testPasteActionWithCopySession ( ) : void Test
testPasteActionWithCutSession ( ) : void Test
testPasteActionWithEmptyParent ( ) : void Test
testPasteActionWithWrongId ( ) : void Test
testPasteActionWithWrongSessionId ( ) : void Test
testPublishActionWithDisableDocument ( ) : void Test
testRefreshTreeviewAction ( ) : void Test
testRefreshTreeviewActionWithEmptyDocument ( ) : void Test
testSortOrderAction ( ) : void Test
testStatusActionWithWrongId ( ) : void Test
testUnpublishActionWithEnableDocument ( ) : void Test

Method Details

setUp() public method

This method is called before a test is executed.
public setUp ( ) : void
return void

tearDown() public method

This method is called after a test is executed.
public tearDown ( ) : void
return void

testCopyAction() public method

Test
public testCopyAction ( ) : void
return void

testCopyActionWithWrongId() public method

Test
public testCopyActionWithWrongId ( ) : void
return void

testCreateAction() public method

Test
public testCreateAction ( ) : void
return void

testCreateActionWithInvalidPostData() public method

Test

testCreateActionWithParent() public method

Test
public testCreateActionWithParent ( ) : void
return void

testCreateActionWithPostData() public method

Test
public testCreateActionWithPostData ( ) : void
return void

testCutAction() public method

Test
public testCutAction ( ) : void
return void

testCutActionWithWrongId() public method

Test
public testCutActionWithWrongId ( ) : void
return void

testDeleteAction() public method

Test
public testDeleteAction ( ) : void
return void

testDeleteActionWithWrongId() public method

Test
public testDeleteActionWithWrongId ( ) : void
return void

testEditAction() public method

Test
public testEditAction ( ) : void
return void

testEditActionWithInvalidPostData() public method

Test

testEditActionWithPostData() public method

Test
public testEditActionWithPostData ( ) : void
return void

testEditActionWithWrongId() public method

Test
public testEditActionWithWrongId ( ) : void
return void

testPasteAction() public method

Test
public testPasteAction ( ) : void
return void

testPasteActionWithCopySession() public method

Test

testPasteActionWithCutSession() public method

Test

testPasteActionWithEmptyParent() public method

Test

testPasteActionWithWrongId() public method

Test
public testPasteActionWithWrongId ( ) : void
return void

testPasteActionWithWrongSessionId() public method

Test

testPublishActionWithDisableDocument() public method

Test

testRefreshTreeviewAction() public method

Test
public testRefreshTreeviewAction ( ) : void
return void

testRefreshTreeviewActionWithEmptyDocument() public method

Test

testSortOrderAction() public method

Test
public testSortOrderAction ( ) : void
return void

testStatusActionWithWrongId() public method

Test
public testStatusActionWithWrongId ( ) : void
return void

testUnpublishActionWithEnableDocument() public method

Test

Property Details

$datatype protected_oe property

protected Model,Gc\Datatype $datatype
return Gc\Datatype\Model

$document protected_oe property

protected Model,Gc\Document $document
return Gc\Document\Model

$documentType protected_oe property

protected Model,Gc\DocumentType $documentType
return Gc\DocumentType\Model

$property protected_oe property

protected Model,Gc\Property $property
return Gc\Property\Model

$tabModel protected_oe property

protected Model,Gc\Tab $tabModel
return Gc\Tab\Model

$view protected_oe property

protected Model,Gc\View $view
return Gc\View\Model