Class ResolveArtifactTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.saml.saml2.profile.impl.ResolveArtifactTest
-
public class ResolveArtifactTest extends OpenSAMLInitBaseTestCase
ResolveArtifactunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private ResolveArtifactactionprivate BasicSAMLArtifactMapartifactMapprivate ProfileRequestContextprc
-
Constructor Summary
Constructors Constructor Description ResolveArtifactTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestMissingArtifacts()voidtestNoArtifacts()voidtestNoRequest()voidtestNoResponse()voidtestOne()voidtestWrongIdP()voidtestWrongSP()-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
artifactMap
private BasicSAMLArtifactMap artifactMap
-
prc
private ProfileRequestContext prc
-
action
private ResolveArtifact action
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testNoRequest
public void testNoRequest()
-
testNoArtifacts
public void testNoArtifacts()
-
testNoResponse
public void testNoResponse()
-
testMissingArtifacts
public void testMissingArtifacts() throws IOException- Throws:
IOException
-
testWrongSP
public void testWrongSP() throws IOException- Throws:
IOException
-
testWrongIdP
public void testWrongIdP() throws IOException- Throws:
IOException
-
testOne
public void testOne() throws IOException- Throws:
IOException
-
-