PHP Class Elgg\ViewsServiceTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: elgg/elgg

Protected Properties

Свойство Type Description
$hooks PluginHooksService
$views ViewsService
$viewsDir

Méthodes publiques

Méthode 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 méthode

setUp() public méthode

public setUp ( )

testCanAlterViewInput() public méthode

testCanAlterViewOutput() public méthode

testCanExtendViews() public méthode

public testCanExtendViews ( )

testCanGetViewRenderingList() public méthode

testCanListViews() public méthode

public testCanListViews ( )

testCanRegisterViewsAsCacheable() public méthode

testCanReplaceViews() public méthode

public testCanReplaceViews ( )

testCanSetViewPathsViaSpec() public méthode

testCanSetViewsDirs() public méthode

public testCanSetViewsDirs ( )

testDefaultNormalizeBehavior() public méthode

public testDefaultNormalizeBehavior ( $canonical, $alias )

testDoesNotUsePhpToRenderStaticViews() public méthode

testEmitsDeprecationWarningWhenOldViewNameIsReferenced() public méthode

testRegistersPhpFilesAsViews() public méthode

testRegistersStaticFilesAsViews() public méthode

testStaticViewsAreAlwaysCacheable() public méthode

testThrowsOnCircularAliases() public méthode

testUsesPhpToRenderNonStaticViews() public méthode

testViewCanOnlyExistIfString() public méthode

testViewsCanExistBasedOnViewtypeFallback() public méthode

testViewtypesCanFallBack() public méthode

Property Details

$hooks protected_oe property

protected PluginHooksService,elgg $hooks
Résultat PluginHooksService

$views protected_oe property

protected ViewsService,elgg $views
Résultat ViewsService

$viewsDir protected_oe property

protected $viewsDir