PHP 클래스 miloschumanunit\highcharts\BaseTestCase

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: miloschuman/yii2-highcharts-widget

공개 프로퍼티들

프로퍼티 타입 설명
$params

공개 메소드들

메소드 설명
assertEqualsWithoutLE ( string $expected, string $actual ) Asserting two strings equality ignoring line endings
getParam ( string $name, mixed $default = null ) : mixed Returns a test configuration param from /data/config.php

보호된 메소드들

메소드 설명
destroyApplication ( ) Destroys application in Yii::$app by setting it to null.
getVendorPath ( )
mockApplication ( array $config = [], string $appClass = '\yii\console\Application' ) Populates Yii::$app with a new application The application will be destroyed on tearDown() automatically.
mockWebApplication ( $config = [], $appClass = '\yii\web\Application' )
tearDown ( ) Clean up after test.

메소드 상세

assertEqualsWithoutLE() 공개 메소드

Asserting two strings equality ignoring line endings
public assertEqualsWithoutLE ( string $expected, string $actual )
$expected string
$actual string

destroyApplication() 보호된 메소드

Destroys application in Yii::$app by setting it to null.
protected destroyApplication ( )

getParam() 공개 정적인 메소드

Returns a test configuration param from /data/config.php
public static getParam ( string $name, mixed $default = null ) : mixed
$name string params name
$default mixed default value to use when param is not set.
리턴 mixed the value of the configuration param

getVendorPath() 보호된 메소드

protected getVendorPath ( )

mockApplication() 보호된 메소드

Populates Yii::$app with a new application The application will be destroyed on tearDown() automatically.
protected mockApplication ( array $config = [], string $appClass = '\yii\console\Application' )
$config array The application configuration, if needed
$appClass string name of the application class to create

mockWebApplication() 보호된 메소드

protected mockWebApplication ( $config = [], $appClass = '\yii\web\Application' )

tearDown() 보호된 메소드

By default the application created with [[mockApplication]] will be destroyed.
protected tearDown ( )

프로퍼티 상세

$params 공개적으로 정적으로 프로퍼티

public static $params