PHP Class BcReplacePrefixComponentTest

Inheritance: extends BaserTestCase
Datei anzeigen Open project: baserproject/basercms

Public Properties

Property Type Description
$components
$fixtures

Public Methods

Method 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 method

public setUp ( )

startupDataProvider() public method

public startupDataProvider ( )

tearDown() public method

public tearDown ( )

testAllow() public method

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

testBeforeRender() public method

beforeRender
public testBeforeRender ( )

testGetViewPaths() public method

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

testStartup() public method

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