PHP 클래스 BrowscapTest\Helper\CollectionCreatorTest

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

공개 메소드들

메소드 설명
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

메소드 상세

setUp() 공개 메소드

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

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