Package org.opensaml.core.testing
Class XMLObjectProviderInitializerBaseTestCase
java.lang.Object
org.opensaml.core.testing.InitializerBaseTestCase
org.opensaml.core.testing.XMLObjectProviderInitializerBaseTestCase
An abstract base class for XMLObject provider initializers which takes care of the boilerplate, requiring
concrete subclasses to only supply the initializer impl to test along with the collection of QNames
to check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract InitializerGet the initializer impl to test.protected abstract QName[]Get the array of QNames to test from the XMLObjectProviderRegistry.voidTest basic provider registration.Methods inherited from class org.opensaml.core.testing.InitializerBaseTestCase
setUp, tearDown
-
Constructor Details
-
XMLObjectProviderInitializerBaseTestCase
public XMLObjectProviderInitializerBaseTestCase()
-
-
Method Details
-
testProviderInit
Test basic provider registration.- Throws:
InitializationException- if there is an error during provider init
-
getTestedInitializer
Get the initializer impl to test.- Returns:
- the initializer impl instance
-
getTestedProviders
Get the array of QNames to test from the XMLObjectProviderRegistry.- Returns:
- an array of XMLObject provider QNames
-