PHP Class BrowscapTest\Generator\BuildGeneratorTest

Author: James Titcumb ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: browscap/browscap

Méthodes publiques

Méthode Description
setUp ( ) Sets up the fixture, for example, open a network connection.
testBuild ( ) tests running a build
testBuildWithoutZip ( ) tests running a build without generating a zip file
testConstructFailsIfTheDirDoesNotExsist ( ) tests failing the build if the build dir does not exist
testConstructFailsIfTheDirIsNotAnDirectory ( ) tests failing the build if no build dir is a file
testConstructFailsWithoutParameters ( ) tests failing the build without parameters
testConstructFailsWithoutTheSecondParameter ( ) tests failing the build without build dir
testConstructPassesIfAllDirsExist ( ) tests creating a generator instance
testSetCollectionCreator ( ) tests setting a collection creator
testSetLogger ( ) tests setting and getting a logger

Method Details

setUp() public méthode

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

testBuild() public méthode

tests running a build
public testBuild ( )

testBuildWithoutZip() public méthode

tests running a build without generating a zip file
public testBuildWithoutZip ( )

testConstructFailsIfTheDirDoesNotExsist() public méthode

tests failing the build if the build dir does not exist

testConstructFailsIfTheDirIsNotAnDirectory() public méthode

tests failing the build if no build dir is a file

testConstructFailsWithoutParameters() public méthode

tests failing the build without parameters

testConstructFailsWithoutTheSecondParameter() public méthode

tests failing the build without build dir

testConstructPassesIfAllDirsExist() public méthode

tests creating a generator instance

testSetCollectionCreator() public méthode

tests setting a collection creator

testSetLogger() public méthode

tests setting and getting a logger
public testSetLogger ( )