PHP 클래스 ImboUnitTest\RouterTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: imbo/imbo

공개 메소드들

메소드 설명
getInvalidRoutes ( ) : array[] Return invalid routes for the resolve method
getValidRoutes ( ) : array[] Returns valid routes for the router
setUp ( ) Set up the router instance
tearDown ( ) Tear down the router instance
testCanBeATeaPot ( )
testCanMatchValidRoutes ( $route, $resource, $user = null, $imageIdentifier = null, $extension = null )
testThrowsExceptionOnUnsupportedHttpMethod ( )
testThrowsExceptionWhenNoRouteMatches ( $route )

메소드 상세

getInvalidRoutes() 공개 메소드

Return invalid routes for the resolve method
public getInvalidRoutes ( ) : array[]
리턴 array[]

getValidRoutes() 공개 메소드

Returns valid routes for the router
public getValidRoutes ( ) : array[]
리턴 array[]

setUp() 공개 메소드

Set up the router instance
public setUp ( )

tearDown() 공개 메소드

Tear down the router instance
public tearDown ( )

testCanBeATeaPot() 공개 메소드

public testCanBeATeaPot ( )

testCanMatchValidRoutes() 공개 메소드

public testCanMatchValidRoutes ( $route, $resource, $user = null, $imageIdentifier = null, $extension = null )

testThrowsExceptionOnUnsupportedHttpMethod() 공개 메소드

testThrowsExceptionWhenNoRouteMatches() 공개 메소드