PHP Class BrowscapTest\Data\ExpanderTest

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

Public Methods

Method Description
setUp ( ) Sets up the fixture, for example, open a network connection.
testGetDataCollectionReturnsSameDatacollectionAsInserted ( ) tests setter and getter for the data collection
testGetVersionParts ( ) tests setter and getter for the version parts
testParseDoesNothingOnEmptyDatacollection ( ) tests parsing an empty data collection
testParseOnNotEmptyDatacollectionWithChildren ( ) tests parsing an not empty data collection with children
testParseOnNotEmptyDatacollectionWithoutChildren ( ) tests parsing a not empty data collection without children

Method Details

setUp() public method

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

testGetDataCollectionReturnsSameDatacollectionAsInserted() public method

tests setter and getter for the data collection

testGetVersionParts() public method

tests setter and getter for the version parts
public testGetVersionParts ( )

testParseDoesNothingOnEmptyDatacollection() public method

tests parsing an empty data collection

testParseOnNotEmptyDatacollectionWithChildren() public method

tests parsing an not empty data collection with children

testParseOnNotEmptyDatacollectionWithoutChildren() public method

tests parsing a not empty data collection without children