PHP 클래스 PHPRouterTest\Test\RouterTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dannyvankooten/php-router

공개 메소드들

메소드 설명
matcherProvider ( ) : string[]
matcherProvider1 ( ) : mixed[][]
matcherProvider2 ( ) : mixed[][]
testBasePathConfigIsSettedProperly ( )
testGenerate ( )
testGenerateNotExistent ( )
testGetParamsInsideControllerMethod ( )
testMatch ( Router $router, string $path, string $expected )
testMatchRouterUsingBasePath ( )
testMatchWrongMethod ( )
testParamsWithDynamicFilterMatch ( )
testParseConfig ( )

비공개 메소드들

메소드 설명
getRouter ( ) : Router
serverProvider ( )

메소드 상세

matcherProvider() 공개 메소드

public matcherProvider ( ) : string[]
리턴 string[]

matcherProvider1() 공개 메소드

public matcherProvider1 ( ) : mixed[][]
리턴 mixed[][]

matcherProvider2() 공개 메소드

public matcherProvider2 ( ) : mixed[][]
리턴 mixed[][]

testBasePathConfigIsSettedProperly() 공개 메소드

testGenerate() 공개 메소드

public testGenerate ( )

testGenerateNotExistent() 공개 메소드

testGetParamsInsideControllerMethod() 공개 메소드

testMatch() 공개 메소드

public testMatch ( Router $router, string $path, string $expected )
$router PHPRouter\Router
$path string
$expected string

testMatchRouterUsingBasePath() 공개 메소드

testMatchWrongMethod() 공개 메소드

testParamsWithDynamicFilterMatch() 공개 메소드

testParseConfig() 공개 메소드

public testParseConfig ( )