PHP 클래스 BrowscapTest\Formatter\JsonFormatterTest

저자: Thomas Müller ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: browscap/browscap

공개 메소드들

메소드 설명
propertyNameTypeDataProvider ( ) : array[] Data Provider for the test testGetPropertyType
setUp ( ) Sets up the fixture, for example, open a network connection.
testFormatPropertyName ( ) tests formatting a property name
testFormatPropertyValue ( string $propertyName, string $inputValue, string $expectedValue ) tests formatting a property value
testGetType ( ) tests getter for the formatter type
testSetGetFilter ( ) tests setter and getter for the filter

메소드 상세

propertyNameTypeDataProvider() 공개 메소드

Data Provider for the test testGetPropertyType
public propertyNameTypeDataProvider ( ) : array[]
리턴 array[]

setUp() 공개 메소드

This method is called before a test is executed.
public setUp ( )

testFormatPropertyName() 공개 메소드

tests formatting a property name

testFormatPropertyValue() 공개 메소드

tests formatting a property value
public testFormatPropertyValue ( string $propertyName, string $inputValue, string $expectedValue )
$propertyName string
$inputValue string
$expectedValue string

testGetType() 공개 메소드

tests getter for the formatter type
public testGetType ( )

testSetGetFilter() 공개 메소드

tests setter and getter for the filter
public testSetGetFilter ( )