public class MemcachedStorageServiceTest extends Object
MemcachedStorageService class.
NOTE
This test is not run by default since it requires an external test fixture, namely a memcached server running on
localhost:11211. This test may be executed by running the test goal with the all maven
profile if a local memcached service is available.
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.storage.impl.memcached.MemcachedStorageService |
keyTrackingService |
private org.opensaml.storage.impl.memcached.MemcachedStorageService |
service |
| Constructor and Description |
|---|
MemcachedStorageServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
private Set<String> |
createContextKeys(String context,
org.cryptacular.generator.IdGenerator generator,
int count) |
void |
setUp() |
void |
tearDown() |
void |
testCreateReadUpdateDelete(String context,
String key,
String value,
String updatedValue) |
void |
testCreateReadUpdateDeleteVersion(String context,
String key,
String value,
String updatedValue) |
void |
testDeleteContextDeletesEntries() |
void |
testUpdateContextExpiration() |
void |
testUpdateContextExpirationWithBlacklisting() |
void |
testUpdateExpiration() |
Object[][] |
testValues() |
private org.opensaml.storage.impl.memcached.MemcachedStorageService service
private org.opensaml.storage.impl.memcached.MemcachedStorageService keyTrackingService
public void setUp()
throws IOException
IOExceptionpublic Object[][] testValues()
public void testCreateReadUpdateDelete(String context, String key, String value, String updatedValue) throws IOException
IOExceptionpublic void testCreateReadUpdateDeleteVersion(String context, String key, String value, String updatedValue) throws IOException, VersionMismatchException
IOExceptionVersionMismatchExceptionpublic void testDeleteContextDeletesEntries()
throws IOException
IOExceptionpublic void testUpdateExpiration()
throws IOException
IOExceptionpublic void testUpdateContextExpiration()
throws Exception
Exceptionpublic void testUpdateContextExpirationWithBlacklisting()
throws Exception
Exceptionpublic void tearDown()
private Set<String> createContextKeys(String context, org.cryptacular.generator.IdGenerator generator, int count) throws IOException
IOExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.