PHP 클래스 Nelmio\SecurityBundle\Tests\Listener\ContentSecurityPolicyListenerTest

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

공개 메소드들

메소드 설명
testAll ( )
testAvoidDuplicates ( )
testConnect ( )
testDefault ( )
testDefaultWithAddScript ( )
testDefaultWithSignatures ( )
testDefaultWithSignaturesAndNonce ( )
testDelimiter ( )
testDirectiveSetUnset ( )
testEmpty ( )
testEvenWithUnsafeInlineItAppliesSignature ( )
testFont ( )
testFrame ( )
testImg ( )
testMedia ( )
testNoCompatHeaders ( )
testObject ( )
testReportOnly ( )
testReportUri ( )
testScript ( )
testStyle ( )
testVendorPrefixes ( )
testWithContentTypeRestriction ( )

보호된 메소드들

메소드 설명
buildSimpleListener ( array $directives, $reportOnly = false, $compatHeaders = true, $contentTypes = [] )
callListener ( ContentSecurityPolicyListener $listener, $path, $masterReq, $contentType = 'text/html', array $digestData = [], $getNonce )
setUp ( )

메소드 상세

buildSimpleListener() 보호된 메소드

protected buildSimpleListener ( array $directives, $reportOnly = false, $compatHeaders = true, $contentTypes = [] )
$directives array

callListener() 보호된 메소드

protected callListener ( ContentSecurityPolicyListener $listener, $path, $masterReq, $contentType = 'text/html', array $digestData = [], $getNonce )
$listener Nelmio\SecurityBundle\EventListener\ContentSecurityPolicyListener
$digestData array

setUp() 보호된 메소드

protected setUp ( )

testAll() 공개 메소드

public testAll ( )

testAvoidDuplicates() 공개 메소드

public testAvoidDuplicates ( )

testConnect() 공개 메소드

public testConnect ( )

testDefault() 공개 메소드

public testDefault ( )

testDefaultWithAddScript() 공개 메소드

testDefaultWithSignatures() 공개 메소드

testDefaultWithSignaturesAndNonce() 공개 메소드

testDelimiter() 공개 메소드

public testDelimiter ( )

testDirectiveSetUnset() 공개 메소드

testEmpty() 공개 메소드

public testEmpty ( )

testEvenWithUnsafeInlineItAppliesSignature() 공개 메소드

testFont() 공개 메소드

public testFont ( )

testFrame() 공개 메소드

public testFrame ( )

testImg() 공개 메소드

public testImg ( )

testMedia() 공개 메소드

public testMedia ( )

testNoCompatHeaders() 공개 메소드

public testNoCompatHeaders ( )

testObject() 공개 메소드

public testObject ( )

testReportOnly() 공개 메소드

public testReportOnly ( )

testReportUri() 공개 메소드

public testReportUri ( )

testScript() 공개 메소드

public testScript ( )

testStyle() 공개 메소드

public testStyle ( )

testVendorPrefixes() 공개 메소드

public testVendorPrefixes ( )

testWithContentTypeRestriction() 공개 메소드