PHP 클래스 SAML2\AuthnRequestTest

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

공개 메소드들

메소드 설명
testExtensionOrdering ( ) Test unmarshalling / marshalling of XML with Extensions element
testIDPlistAttributes ( ) Test for setting IDPEntry values via setIDPList.
testMarshallingOfSimpleRequest ( )
testRequesterIdIsAddedCorrectly ( ) Test setting a requesterID.
testRequesterIdIsReadCorrectly ( ) Test setting a requesterID.
testThatAnEncryptedNameIdCanBeDecrypted ( )
testThatAnEncryptedNameIdResultsInTheCorrectXmlStructure ( ) Due to the fact that the symmetric key is generated each time, we cannot test whether or not the resulting XML matches a specific XML, but we can test whether or not the resulting structure is actually correct, conveying all information required to decrypt the NameId.
testThatTheSubjectCanBeSetBySettingTheNameId ( )
testThatTheSubjectIsCorrectlyRead ( )
testUnmarshalling ( )

메소드 상세

testExtensionOrdering() 공개 메소드

Test unmarshalling / marshalling of XML with Extensions element

testIDPlistAttributes() 공개 메소드

Tests legacy support (single string), array of attributes, and skipping of unknown attributes.

testMarshallingOfSimpleRequest() 공개 메소드

testRequesterIdIsAddedCorrectly() 공개 메소드

Test setting a requesterID.

testRequesterIdIsReadCorrectly() 공개 메소드

Test setting a requesterID.

testThatAnEncryptedNameIdCanBeDecrypted() 공개 메소드

testThatAnEncryptedNameIdResultsInTheCorrectXmlStructure() 공개 메소드

Due to the fact that the symmetric key is generated each time, we cannot test whether or not the resulting XML matches a specific XML, but we can test whether or not the resulting structure is actually correct, conveying all information required to decrypt the NameId.

testThatTheSubjectCanBeSetBySettingTheNameId() 공개 메소드

testThatTheSubjectIsCorrectlyRead() 공개 메소드

testUnmarshalling() 공개 메소드

public testUnmarshalling ( )