PHP Class BrowscapTest\Filter\LiteFilterTest

Author: Thomas Müller ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: browscap/browscap

Public Methods

Method Description
outputPropertiesDataProvider ( ) : array[] Data Provider for the test testIsOutputProperty
setUp ( ) Sets up the fixture, for example, open a network connection.
testGetType ( ) tests getter for the filter type
testIsOutput ( ) tests detecting if a divion should be in the output
testIsOutputProperty ( $propertyName, $isExtra )
testIsOutputSectionOnlyWhenLite ( ) tests if a section is always in the output, if the lite flag is true

Method Details

outputPropertiesDataProvider() public method

Data Provider for the test testIsOutputProperty
public outputPropertiesDataProvider ( ) : array[]
return array[]

setUp() public method

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

testGetType() public method

tests getter for the filter type
public testGetType ( )

testIsOutput() public method

tests detecting if a divion should be in the output
public testIsOutput ( )

testIsOutputProperty() public method

public testIsOutputProperty ( $propertyName, $isExtra )

testIsOutputSectionOnlyWhenLite() public method

tests if a section is always in the output, if the lite flag is true