PHP Class BrowscapTest\Filter\LiteFilterTest

Author: Thomas Müller ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: browscap/browscap

Méthodes publiques

Méthode 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 méthode

Data Provider for the test testIsOutputProperty
public outputPropertiesDataProvider ( ) : array[]
Résultat array[]

setUp() public méthode

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

testGetType() public méthode

tests getter for the filter type
public testGetType ( )

testIsOutput() public méthode

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

testIsOutputProperty() public méthode

public testIsOutputProperty ( $propertyName, $isExtra )

testIsOutputSectionOnlyWhenLite() public méthode

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