Package org.opensaml.storage.testing
Class StorageServiceTest
- java.lang.Object
-
- org.opensaml.storage.testing.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 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 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 StorageService shared
-
-
Method Detail
-
getStorageService
@Nonnull protected abstract 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 ComponentInitializationException
- Throws:
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, VersionMismatchException- Throws:
IOExceptionVersionMismatchException
-
objects
public void objects() throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-