PHP Class BcRequestFilterTest

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

Public Properties

Property Type Description
$fixtures array フィクスチャ
$requestFilter BcRequestFilter BcRequestFilter

Public Methods

Method Description
isAdminDataProvider ( ) : array isAdmin用データプロバイダ
isAssetDataProvider ( ) : array isAsset用データプロバイダ
isInstallDataProvider ( ) : array isInstall用データプロバイダ
isMaintenanceDataProvider ( ) : array isMaintenance用データプロバイダ
isPageDataProvider ( ) : array isPage用データプロバイダ
isUpdateDataProvider ( ) : array isUpdate用データプロバイダ
setUp ( ) : void set up
testIsAdmin ( boolean $expect, string $url ) : void 管理画面のURLかどうかを判定
testIsAsset ( boolean $expect, string $url ) : void アセットのURLかどうかを判定
testIsInstall ( boolean $expect, string $url ) : void インストール用のURLかどうかを判定
testIsMaintenance ( boolean $expect, string $url ) : void メンテナンス用のURLかどうかを判定
testIsPage ( boolean $expect, string $url ) : void 固定ページ表示用のURLかどうかを判定 [注]ルーターによるURLパース後のみ
testIsUpdate ( boolean $expect, string $url ) : void アップデート用のURLかどうかを判定

Method Details

isAdminDataProvider() public method

isAdmin用データプロバイダ
public isAdminDataProvider ( ) : array
return array

isAssetDataProvider() public method

isAsset用データプロバイダ
public isAssetDataProvider ( ) : array
return array

isInstallDataProvider() public method

isInstall用データプロバイダ
public isInstallDataProvider ( ) : array
return array

isMaintenanceDataProvider() public method

isMaintenance用データプロバイダ
public isMaintenanceDataProvider ( ) : array
return array

isPageDataProvider() public method

isPage用データプロバイダ
public isPageDataProvider ( ) : array
return array

isUpdateDataProvider() public method

isUpdate用データプロバイダ
public isUpdateDataProvider ( ) : array
return array

setUp() public method

set up
public setUp ( ) : void
return void

testIsAdmin() public method

管理画面のURLかどうかを判定
public testIsAdmin ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

testIsAsset() public method

アセットのURLかどうかを判定
public testIsAsset ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

testIsInstall() public method

インストール用のURLかどうかを判定
public testIsInstall ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

testIsMaintenance() public method

メンテナンス用のURLかどうかを判定
public testIsMaintenance ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

testIsPage() public method

固定ページ表示用のURLかどうかを判定 [注]ルーターによるURLパース後のみ
public testIsPage ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

testIsUpdate() public method

アップデート用のURLかどうかを判定
public testIsUpdate ( boolean $expect, string $url ) : void
$expect boolean 期待値
$url string URL文字列
return void

Property Details

$fixtures public_oe property

フィクスチャ
public array $fixtures
return array

$requestFilter public_oe property

BcRequestFilter
public BcRequestFilter $requestFilter
return BcRequestFilter