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 net.shibboleth.utilities.java.support.component.ComponentInitializationException
setUp in class StorageServiceTestnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprivate javax.persistence.EntityManagerFactory createEntityManagerFactory()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void tearDown()
tearDown in class StorageServiceTest@Nonnull protected StorageService getStorageService()
getStorageService in class StorageServiceTestpublic void cleanup()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException,
IOException
net.shibboleth.utilities.java.support.component.ComponentInitializationExceptionIOExceptionpublic 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–2020 Shibboleth Consortium. All rights reserved.