PHP 클래스 BrowscapTest\Generator\BuildCustomFileGeneratorTest

저자: James Titcumb ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: browscap/browscap

공개 메소드들

메소드 설명
setUp ( ) Sets up the fixture, for example, open a network connection.
testBuild ( ) tests running a build
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
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 ( )

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

testSetLogger() 공개 메소드

tests setting and getting a logger
public testSetLogger ( )