PHP Class BcReplacePrefixComponentTest

Inheritance: extends BaserTestCase
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

Свойство Type Description
$components
$fixtures

Méthodes publiques

Méthode Description
setUp ( )
startupDataProvider ( )
tearDown ( )
testAllow ( ) : void プレフィックスの置き換えを許可するアクションを設定する
testBeforeRender ( ) beforeRender
testGetViewPaths ( ) Return all possible paths to find view files in order
testStartup ( string $pre, string $action, string $methods, boolean $view, array $expected ) startup

Method Details

setUp() public méthode

public setUp ( )

startupDataProvider() public méthode

public startupDataProvider ( )

tearDown() public méthode

public tearDown ( )

testAllow() public méthode

$this->Replace->allow('action', 'action',...);
public testAllow ( ) : void
Résultat void

testBeforeRender() public méthode

beforeRender
public testBeforeRender ( )

testGetViewPaths() public méthode

Return all possible paths to find view files in order
public testGetViewPaths ( )

testStartup() public méthode

startup
public testStartup ( string $pre, string $action, string $methods, boolean $view, array $expected )
$pre string actionのprefix
$action string action名
$methods string $Controller->methods の値
$view boolean viewファイルの作成を行うか
$expected array 期待値

Property Details

$components public_oe property

public $components

$fixtures public_oe property

public $fixtures