PHP 클래스 Cascade\Tests\Config\Loader\FileLoader\YamlTest

저자: Raphael Antonmattei ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: theorchard/monolog-cascade

보호된 프로퍼티들

프로퍼티 타입 설명
$yamlLoader PHPUnit_Framework_MockObject_MockBuilder Yaml loader mock builder

공개 메소드들

메소드 설명
notStringDataProvider ( ) : array Data provider for testSupportsWithInvalidResource
setUp ( )
tearDown ( )
testLoad ( ) Test loading a Yaml string
testSupportsWithInvalidResource ( mixed $invalidResource ) Test loading resources supported by the YamlLoader
testSupportsWithYamlFile ( ) Test loading a Yaml file
testSupportsWithYamlString ( ) Test loading a Yaml string

메소드 상세

notStringDataProvider() 공개 메소드

Data provider for testSupportsWithInvalidResource
public notStringDataProvider ( ) : array
리턴 array array non-string values

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testLoad() 공개 메소드

Test loading a Yaml string
public testLoad ( )

testSupportsWithInvalidResource() 공개 메소드

Test loading resources supported by the YamlLoader
public testSupportsWithInvalidResource ( mixed $invalidResource )
$invalidResource mixed Invalid resource value

testSupportsWithYamlFile() 공개 메소드

Test loading a Yaml file

testSupportsWithYamlString() 공개 메소드

Test loading a Yaml string

프로퍼티 상세

$yamlLoader 보호되어 있는 프로퍼티

Yaml loader mock builder
protected PHPUnit_Framework_MockObject_MockBuilder $yamlLoader
리턴 PHPUnit_Framework_MockObject_MockBuilder