Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
ViewsServiceTest
PHP Class Elgg\ViewsServiceTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: elgg/elgg
Protected Properties
Property
Type
Description
$hooks
PluginHooksService
$views
ViewsService
$viewsDir
Public Methods
Method
Description
getExampleNormalizedViews
( )
setUp
( )
testCanAlterViewInput
( )
testCanAlterViewOutput
( )
testCanExtendViews
( )
testCanGetViewRenderingList
( )
testCanListViews
( )
testCanRegisterViewsAsCacheable
( )
testCanReplaceViews
( )
testCanSetViewPathsViaSpec
( )
testCanSetViewsDirs
( )
testDefaultNormalizeBehavior
(
$canonical
,
$alias
)
testDoesNotUsePhpToRenderStaticViews
( )
testEmitsDeprecationWarningWhenOldViewNameIsReferenced
( )
testRegistersPhpFilesAsViews
( )
testRegistersStaticFilesAsViews
( )
testStaticViewsAreAlwaysCacheable
( )
testThrowsOnCircularAliases
( )
testUsesPhpToRenderNonStaticViews
( )
testViewCanOnlyExistIfString
( )
testViewsCanExistBasedOnViewtypeFallback
( )
testViewtypesCanFallBack
( )
Method Details
getExampleNormalizedViews()
public
method
public
getExampleNormalizedViews
( )
setUp()
public
method
public
setUp
( )
testCanAlterViewInput()
public
method
public
testCanAlterViewInput
( )
testCanAlterViewOutput()
public
method
public
testCanAlterViewOutput
( )
testCanExtendViews()
public
method
public
testCanExtendViews
( )
testCanGetViewRenderingList()
public
method
public
testCanGetViewRenderingList
( )
testCanListViews()
public
method
public
testCanListViews
( )
testCanRegisterViewsAsCacheable()
public
method
public
testCanRegisterViewsAsCacheable
( )
testCanReplaceViews()
public
method
public
testCanReplaceViews
( )
testCanSetViewPathsViaSpec()
public
method
public
testCanSetViewPathsViaSpec
( )
testCanSetViewsDirs()
public
method
public
testCanSetViewsDirs
( )
testDefaultNormalizeBehavior()
public
method
public
testDefaultNormalizeBehavior
(
$canonical
,
$alias
)
testDoesNotUsePhpToRenderStaticViews()
public
method
public
testDoesNotUsePhpToRenderStaticViews
( )
testEmitsDeprecationWarningWhenOldViewNameIsReferenced()
public
method
public
testEmitsDeprecationWarningWhenOldViewNameIsReferenced
( )
testRegistersPhpFilesAsViews()
public
method
public
testRegistersPhpFilesAsViews
( )
testRegistersStaticFilesAsViews()
public
method
public
testRegistersStaticFilesAsViews
( )
testStaticViewsAreAlwaysCacheable()
public
method
public
testStaticViewsAreAlwaysCacheable
( )
testThrowsOnCircularAliases()
public
method
public
testThrowsOnCircularAliases
( )
testUsesPhpToRenderNonStaticViews()
public
method
public
testUsesPhpToRenderNonStaticViews
( )
testViewCanOnlyExistIfString()
public
method
public
testViewCanOnlyExistIfString
( )
testViewsCanExistBasedOnViewtypeFallback()
public
method
public
testViewsCanExistBasedOnViewtypeFallback
( )
testViewtypesCanFallBack()
public
method
public
testViewtypesCanFallBack
( )
Property Details
$hooks
protected property
protected
PluginHooksService,elgg
$hooks
return
PluginHooksService
$views
protected property
protected
ViewsService,elgg
$views
return
ViewsService
$viewsDir
protected property
protected
$viewsDir