public class JPAStorageServiceTest extends StorageServiceTest
JPAStorageService implementation.| Modifier and Type | Field and Description |
|---|---|
private Object[][] |
contexts
Contexts used for testing.
|
private org.opensaml.storage.impl.JPAStorageService |
storageService
Storage service.
|
random, shared| Constructor and Description |
|---|
JPAStorageServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
caseSensitiveContext() |
void |
caseSensitiveKey() |
void |
cleanup() |
Object[][] |
contexts() |
private javax.persistence.EntityManagerFactory |
createEntityManagerFactory()
Creates an entity manager factory instance.
|
protected StorageService |
getStorageService() |
void |
keyCollision() |
void |
largeValue() |
void |
multithread(String context) |
void |
multithreadCaseSensitiveKey() |
void |
setUp()
Creates the shared instance of the entity manager factory.
|
protected void |
tearDown() |
expiration, objects, strings, threadInit, updatesprivate org.opensaml.storage.impl.JPAStorageService storageService
private Object[][] contexts
public void setUp()
throws ComponentInitializationException
setUp in class StorageServiceTestComponentInitializationExceptionprivate javax.persistence.EntityManagerFactory createEntityManagerFactory()
throws ComponentInitializationException
ComponentInitializationExceptionprotected void tearDown()
tearDown in class StorageServiceTest@Nonnull protected StorageService getStorageService()
getStorageService in class StorageServiceTestpublic void cleanup()
throws ComponentInitializationException,
IOException
public void multithread(String context) throws IOException
IOExceptionpublic void multithreadCaseSensitiveKey()
throws IOException
IOExceptionpublic void keyCollision()
throws IOException
IOExceptionpublic void caseSensitiveContext()
throws IOException
IOExceptionpublic void caseSensitiveKey()
throws IOException
IOExceptionpublic void largeValue()
throws IOException
IOExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.