PHP Class BrowscapTest\Helper\CollectionCreatorTest

Author: James Titcumb ([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.
testCreateDataCollection ( ) tests creating a data collection
testCreateDataCollectionThrowsExceptionIfNoDataCollectionIsSet ( ) tests throwing an exception while creating a data collaction if the collction class is not set before
testCreateDataCollectionThrowsExceptionOnInvalidDirectory ( ) tests throwing an exception while creating a data collaction when a dir is invalid

Method Details

setUp() public method

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

testCreateDataCollection() public method

tests creating a data collection

testCreateDataCollectionThrowsExceptionIfNoDataCollectionIsSet() public method

tests throwing an exception while creating a data collaction if the collction class is not set before

testCreateDataCollectionThrowsExceptionOnInvalidDirectory() public method

tests throwing an exception while creating a data collaction when a dir is invalid