PHP Class Sitemap\Model\SitemapTest

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

Protected Properties

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

Public Methods

Method Description
testGenerate ( ) : void Test
testGenerateWithEmptyBasePath ( ) : void Test
testInit ( ) : 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

testGenerate() public method

Test
public testGenerate ( ) : void
return void

testGenerateWithEmptyBasePath() public method

Test

testInit() public method

Test
public testInit ( ) : void
return void

Property Details

$document protected property

protected Model $document
return Model

$documentType protected property

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

$layout protected property

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

$object protected property

protected Sitemap,Sitemap\Model $object
return Sitemap

$user protected property

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

$view protected property

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