PHP Class Sitemap\ModuleTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$document Sitemap\Model
$documentType Gc\DocumentType\Model
$filePath string
$layout Gc\Layout\Model
$object Module
$user Gc\User\Model
$view Gc\View\Model

Public Methods

Method Description
testAddElement ( ) : void Test
testAddElementWithAnXml ( ) : void Test
testAddElementWithUnpublisedDocument ( ) : void Test
testGetConfig ( ) : void Test
testInstallAndUninstall ( ) : void Test
testRemoveElement ( ) : void Test

Protected 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.

Method Details

setUp() protected method

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

tearDown() protected method

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

testAddElement() public method

Test
public testAddElement ( ) : void
return void

testAddElementWithAnXml() public method

Test
public testAddElementWithAnXml ( ) : void
return void

testAddElementWithUnpublisedDocument() public method

Test

testGetConfig() public method

Test
public testGetConfig ( ) : void
return void

testInstallAndUninstall() public method

Test
public testInstallAndUninstall ( ) : void
return void

testRemoveElement() public method

Test
public testRemoveElement ( ) : void
return void

Property Details

$document protected property

protected Model,Sitemap $document
return Sitemap\Model

$documentType protected property

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

$filePath protected property

protected string $filePath
return string

$layout protected property

protected Model,Gc\Layout $layout
return Gc\Layout\Model

$object protected property

protected Module,sitemap $object
return Module

$user protected property

protected Model,Gc\User $user
return Gc\User\Model

$view protected property

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