PHP Класс BrowscapTest\Generator\BuildGeneratorTest

Автор: James Titcumb ([email protected])
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

setUp() публичный Метод

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

testBuild() публичный Метод

tests running a build
public testBuild ( )

testBuildWithoutZip() публичный Метод

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

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
public testSetLogger ( )