PHP Class BlogBaserHelperTest

Inheritance: extends BaserTestCase
Show file Open project: baserproject/basercms

Public Properties

Property Type Description
$fixtures array Fixtures

Protected Properties

Property Type Description
$_View View View

Public Methods

Method Description
__construct ( string $name = null, array $data = [], string $dataName = '' ) __construct
blogPostsProvider ( )
setUp ( ) : void setUp
tearDown ( ) : void tearDown
testBlogPosts ( string | array $contentsName, integer $num, array $options, $expected, $message = null ) ブログ記事一覧出力

Method Details

__construct() public method

__construct
public __construct ( string $name = null, array $data = [], string $dataName = '' )
$name string
$data array
$dataName string

blogPostsProvider() public method

public blogPostsProvider ( )

setUp() public method

setUp
public setUp ( ) : void
return void

tearDown() public method

tearDown
public tearDown ( ) : void
return void

testBlogPosts() public method

ブログ記事一覧出力
public testBlogPosts ( string | array $contentsName, integer $num, array $options, $expected, $message = null )
$contentsName string | array
$num integer 記事件数
$options array オプション

Property Details

$_View protected property

View
protected View $_View
return View

$fixtures public property

Fixtures
public array $fixtures
return array