PHP 클래스 lithium\tests\cases\action\DispatcherTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium

공개 메소드들

메소드 설명
process ( $request )
tearDown ( )
testApplyRulesControllerCasing ( )
testApplyRulesDotNamespacing ( )
testApplyRulesLibraryKeyNamespacing ( )
testApplyRulesNamespacingCollision ( )
testApplyRulesWithNamespacedController ( )
testAutoHandler ( )
testCall ( )
testControllerLookupFail ( )
testPluginControllerLookupFail ( )
testRun ( )
testRunWithAdminActionRule ( )
testRunWithContinuingRules ( )
testRunWithGenericActionRule ( )
testRunWithNoRouting ( )
testRunWithPostRoot ( ) Tests that POST requests to the / URL work as expected.
testRunWithSpecialRuleAsCallable ( )
testRunWithoutRules ( )

메소드 상세

process() 공개 정적인 메소드

public static process ( $request )

tearDown() 공개 메소드

public tearDown ( )

testApplyRulesControllerCasing() 공개 메소드

testApplyRulesDotNamespacing() 공개 메소드

testApplyRulesLibraryKeyNamespacing() 공개 메소드

testApplyRulesNamespacingCollision() 공개 메소드

testApplyRulesWithNamespacedController() 공개 메소드

testAutoHandler() 공개 메소드

public testAutoHandler ( )

testCall() 공개 메소드

public testCall ( )

testControllerLookupFail() 공개 메소드

testPluginControllerLookupFail() 공개 메소드

testRun() 공개 메소드

public testRun ( )

testRunWithAdminActionRule() 공개 메소드

testRunWithContinuingRules() 공개 메소드

testRunWithGenericActionRule() 공개 메소드

testRunWithNoRouting() 공개 메소드

testRunWithPostRoot() 공개 메소드

This test belongs to the issue that POST requests (like submitting forms) to the / URL don't work as expected, because they immediately get redirected to the same URL but as GET requests (with no data attached to it). It veryfies that the Lithium dispatcher works as expected and returns the correct controller/action combination.
public testRunWithPostRoot ( )

testRunWithSpecialRuleAsCallable() 공개 메소드

testRunWithoutRules() 공개 메소드

public testRunWithoutRules ( )