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

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_cgiConfig
$_env
$_iisConfig
$_nginxConfig
$_superglobals

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testAcceptDoesNotAccepFullNamespacedType ( )
testAcceptForBothXmlWithAliasedHtml ( )
testAcceptSingleContentType ( ) Tests that Accept headers with only one listed content type are parsed property, and tests that '* /*' is still parsed as 'text/html'.
testAcceptTypeOrder ( ) Tests that accepted content-types without a q value are sorted in the order they appear in the HTTP_ACCEPT header.
testAcceptWithTypeParam ( )
testAcceptWithTypeParamFallbackHtml ( )
testAutomaticContentDecoding ( )
testBase ( )
testBaseWithAppAndOtherDirectory ( )
testBaseWithDirectory ( )
testCgiPhpAuthBasic ( )
testCgiPhpAuthBasicFailMissingPassword ( )
testCgiPhpAuthBasicFailMissingPasswordAndColon ( )
testCgiPhpAuthBasicFailMissingUser ( )
testCgiPhpAuthDigest ( )
testCgiPlatform ( )
testCgiScriptUrl ( )
testContentTypeDetection ( )
testConvertToString ( )
testConvertToStringWithJson ( )
testConvertToStringWithPost ( )
testConvertToUrl ( ) Tests that action\Request correctly inherits the functionality of the to() method inherited from lithium\net\http\Request.
testConvertToUrl2 ( )
testDataFromConstructor ( )
testDeepFileNormalization ( )
testDetect ( )
testDetectSsl ( )
testDetectWithArray ( )
testDetectWithArrayRegex ( )
testDetectWithClosure ( )
testDocumentRoot ( )
testDocumentRootTranslatedForIIS ( )
testEnvVariablesArePopulated ( )
testGetMethod ( )
testHeaders ( )
testHttps ( )
testHttpsFromScriptUri ( )
testInitData ( )
testInitMethodOverride ( )
testInitMethodOverrideWithEmptyServer ( )
testIsMobile ( )
testLocaleDetection ( )
testMagicParamsAccess ( )
testMergeMobileDetectors ( )
testMethodOverrideFromData ( )
testMixedFilesNormalization ( )
testNestedDeepFilesNormalization ( )
testNestedFilesNormalization ( )
testOverridingOfEnvVariables ( )
testParsingAcceptHeader ( )
testPhpAuthBasic ( )
testPhpAuthDigest ( )
testPlatform ( )
testQueryFromConstructor ( )
testRefererDefault ( )
testRefererLocal ( )
testRefererLocalFromNotLocal ( )
testRefererLocalWithHost ( )
testRefererNotLocal ( )
testRemoteAddr ( )
testRemoteAddrFromHttpPcRemoteAddr ( )
testRequestMethodConfiguration ( ) Tests that the HTTP request method set by Request from the server information is not overwritten in a parent class.
testRequestTypeAccessors ( )
testRequestTypeFromConstruct ( )
testRequestTypeFromHeader ( )
testRequestTypeFromParams ( )
testRequestTypeIsMobile ( )
testRequestUriWithAdminRoute ( )
testRequestUriWithHtAccessRedirection ( )
testRequestUriWithNoHtAccessRedirection ( )
testRequestUriWithVirtualHost ( )
testRequestWithColon ( )
testRequestWithEnvVariables ( )
testRequestWithNoGlobals ( )
testRequestWithoutUrlQueryParamAndNoApp ( )
testRequestWithoutUrlQueryParamAndNoAppOrWebroot ( )
testResponseTypeDetection ( )
testScriptFilename ( )
testScriptFilenameTranslatedForIIS ( )
testScriptName ( )
testServerHttpBase ( )
testSingleFileNormalization ( )
testType ( )
testTypeforNginx ( )
testUrlFromConstructor ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testAcceptDoesNotAccepFullNamespacedType() 공개 메소드

testAcceptForBothXmlWithAliasedHtml() 공개 메소드

testAcceptSingleContentType() 공개 메소드

Tests that Accept headers with only one listed content type are parsed property, and tests that '* /*' is still parsed as 'text/html'.

testAcceptTypeOrder() 공개 메소드

Tests that accepted content-types without a q value are sorted in the order they appear in the HTTP_ACCEPT header.
public testAcceptTypeOrder ( )

testAcceptWithTypeParam() 공개 메소드

testAcceptWithTypeParamFallbackHtml() 공개 메소드

testAutomaticContentDecoding() 공개 메소드

testBase() 공개 메소드

public testBase ( )

testBaseWithAppAndOtherDirectory() 공개 메소드

testBaseWithDirectory() 공개 메소드

testCgiPhpAuthBasic() 공개 메소드

public testCgiPhpAuthBasic ( )

testCgiPhpAuthBasicFailMissingPassword() 공개 메소드

testCgiPhpAuthBasicFailMissingPasswordAndColon() 공개 메소드

testCgiPhpAuthBasicFailMissingUser() 공개 메소드

testCgiPhpAuthDigest() 공개 메소드

testCgiPlatform() 공개 메소드

public testCgiPlatform ( )

testCgiScriptUrl() 공개 메소드

public testCgiScriptUrl ( )

testContentTypeDetection() 공개 메소드

testConvertToString() 공개 메소드

public testConvertToString ( )

testConvertToStringWithJson() 공개 메소드

testConvertToStringWithPost() 공개 메소드

testConvertToUrl() 공개 메소드

Tests that action\Request correctly inherits the functionality of the to() method inherited from lithium\net\http\Request.
public testConvertToUrl ( )

testConvertToUrl2() 공개 메소드

public testConvertToUrl2 ( )

testDataFromConstructor() 공개 메소드

testDeepFileNormalization() 공개 메소드

testDetect() 공개 메소드

public testDetect ( )

testDetectSsl() 공개 메소드

public testDetectSsl ( )

testDetectWithArray() 공개 메소드

public testDetectWithArray ( )

testDetectWithArrayRegex() 공개 메소드

testDetectWithClosure() 공개 메소드

testDocumentRoot() 공개 메소드

public testDocumentRoot ( )

testDocumentRootTranslatedForIIS() 공개 메소드

testEnvVariablesArePopulated() 공개 메소드

testGetMethod() 공개 메소드

public testGetMethod ( )

testHeaders() 공개 메소드

public testHeaders ( )

testHttps() 공개 메소드

public testHttps ( )

testHttpsFromScriptUri() 공개 메소드

testInitData() 공개 메소드

public testInitData ( )

testInitMethodOverride() 공개 메소드

testInitMethodOverrideWithEmptyServer() 공개 메소드

testIsMobile() 공개 메소드

public testIsMobile ( )

testLocaleDetection() 공개 메소드

public testLocaleDetection ( )

testMagicParamsAccess() 공개 메소드

testMergeMobileDetectors() 공개 메소드

testMethodOverrideFromData() 공개 메소드

testMixedFilesNormalization() 공개 메소드

testNestedDeepFilesNormalization() 공개 메소드

testNestedFilesNormalization() 공개 메소드

testOverridingOfEnvVariables() 공개 메소드

testParsingAcceptHeader() 공개 메소드

testPhpAuthBasic() 공개 메소드

public testPhpAuthBasic ( )

testPhpAuthDigest() 공개 메소드

public testPhpAuthDigest ( )

testPlatform() 공개 메소드

public testPlatform ( )

testQueryFromConstructor() 공개 메소드

testRefererDefault() 공개 메소드

public testRefererDefault ( )

testRefererLocal() 공개 메소드

public testRefererLocal ( )

testRefererLocalFromNotLocal() 공개 메소드

testRefererLocalWithHost() 공개 메소드

testRefererNotLocal() 공개 메소드

public testRefererNotLocal ( )

testRemoteAddr() 공개 메소드

public testRemoteAddr ( )

testRemoteAddrFromHttpPcRemoteAddr() 공개 메소드

testRequestMethodConfiguration() 공개 메소드

Tests that the HTTP request method set by Request from the server information is not overwritten in a parent class.

testRequestTypeAccessors() 공개 메소드

testRequestTypeFromConstruct() 공개 메소드

testRequestTypeFromHeader() 공개 메소드

testRequestTypeFromParams() 공개 메소드

testRequestTypeIsMobile() 공개 메소드

testRequestUriWithAdminRoute() 공개 메소드

testRequestUriWithHtAccessRedirection() 공개 메소드

testRequestUriWithNoHtAccessRedirection() 공개 메소드

testRequestUriWithVirtualHost() 공개 메소드

testRequestWithColon() 공개 메소드

testRequestWithEnvVariables() 공개 메소드

testRequestWithNoGlobals() 공개 메소드

testRequestWithoutUrlQueryParamAndNoApp() 공개 메소드

testRequestWithoutUrlQueryParamAndNoAppOrWebroot() 공개 메소드

testResponseTypeDetection() 공개 메소드

testScriptFilename() 공개 메소드

public testScriptFilename ( )

testScriptFilenameTranslatedForIIS() 공개 메소드

testScriptName() 공개 메소드

public testScriptName ( )

testServerHttpBase() 공개 메소드

public testServerHttpBase ( )

testSingleFileNormalization() 공개 메소드

testType() 공개 메소드

public testType ( )

testTypeforNginx() 공개 메소드

public testTypeforNginx ( )

testUrlFromConstructor() 공개 메소드

프로퍼티 상세

$_cgiConfig 보호되어 있는 프로퍼티

protected $_cgiConfig

$_env 보호되어 있는 프로퍼티

protected $_env

$_iisConfig 보호되어 있는 프로퍼티

protected $_iisConfig

$_nginxConfig 보호되어 있는 프로퍼티

protected $_nginxConfig

$_superglobals 보호되어 있는 프로퍼티

protected $_superglobals