Package org.opensaml.storage
Class StorageServiceTest
- java.lang.Object
-
- org.opensaml.storage.StorageServiceTest
-
public abstract class StorageServiceTest extends Object
Test ofStorageServiceimplementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classStorageServiceTest.AnnotatedObject
-
Field Summary
Fields Modifier and Type Field Description protected SecureRandomrandomprotected org.opensaml.storage.StorageServiceshared
-
Constructor Summary
Constructors Constructor Description StorageServiceTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexpiration()protected abstract org.opensaml.storage.StorageServicegetStorageService()Returns a fresh service instance to test.voidobjects()protected voidsetUp()voidstrings()protected voidtearDown()protected voidthreadInit()Called to init a thread in preparation to run a test.voidupdates()
-
-
-
Field Detail
-
random
protected SecureRandom random
-
shared
protected org.opensaml.storage.StorageService shared
-
-
Method Detail
-
getStorageService
@Nonnull protected abstract org.opensaml.storage.StorageService getStorageService()
Returns a fresh service instance to test.- Returns:
- a new instance
-
threadInit
protected void threadInit()
Called to init a thread in preparation to run a test.
-
setUp
@BeforeClass protected void setUp() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
- Throws:
net.shibboleth.utilities.java.support.component.ComponentInitializationException
-
tearDown
@AfterClass protected void tearDown()
-
strings
public void strings() throws IOException- Throws:
IOException
-
expiration
public void expiration() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
updates
public void updates() throws IOException, org.opensaml.storage.VersionMismatchException- Throws:
IOExceptionorg.opensaml.storage.VersionMismatchException
-
objects
public void objects() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-