Package net.shibboleth.idp.module
Class IdPModuleTest
java.lang.Object
net.shibboleth.idp.module.IdPModuleTest
Unit tests exercising module code.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static TrustEngine<? super X509Credential>voidsetUp()voidtearDown()private voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
XML_DATA
- See Also:
-
XML_OTHER_DATA
- See Also:
-
VEL_DATA
- See Also:
-
VEL_OTHER_DATA
- See Also:
-
testHome
-
testModule
private net.shibboleth.idp.module.IdPModule testModule -
context
private net.shibboleth.profile.module.ModuleContext context
-
-
Constructor Details
-
IdPModuleTest
public IdPModuleTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDownWorker
- Throws:
IOException
-
tearDown
- Throws:
IOExceptionInterruptedException
-
testBadModules
public void testBadModules() -
testModule
public void testModule() -
testEnableNoTree
- Throws:
net.shibboleth.profile.module.ModuleExceptionIOException
-
testDisableNoTree
public void testDisableNoTree() throws net.shibboleth.profile.module.ModuleException- Throws:
net.shibboleth.profile.module.ModuleException
-
testEnableClean
- Throws:
net.shibboleth.profile.module.ModuleExceptionIOException
-
testEnableExistingSame
public void testEnableExistingSame() throws IOException, net.shibboleth.profile.module.ModuleException, InterruptedException- Throws:
IOExceptionnet.shibboleth.profile.module.ModuleExceptionInterruptedException
-
testEnableExistingDifferent
public void testEnableExistingDifferent() throws IOException, net.shibboleth.profile.module.ModuleException- Throws:
IOExceptionnet.shibboleth.profile.module.ModuleException
-
buildExplicitKeyTrustEngine
@Nonnull private static TrustEngine<? super X509Credential> buildExplicitKeyTrustEngine() throws URISyntaxException, CertificateException, IOException
-