PHP Класс BrowscapTest\Formatter\PhpFormatterTest

Автор: Thomas Müller ([email protected])
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )