Package org.apache.wss4j.common.cache
Class ReplayCacheTest
- java.lang.Object
-
- org.apache.wss4j.common.cache.ReplayCacheTest
-
public class ReplayCacheTest extends Object
Some unit tests for the ReplayCache implementations
-
-
Constructor Summary
Constructors Constructor Description ReplayCacheTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEhCacheCloseCacheTwice()
void
testEhCacheDifferentCaches()
void
testEhCacheReplayCache()
void
testEhCacheReplayCacheHugeExpiry()
void
testEhCacheReplayCacheNegativeExpiry()
void
testEhCacheReplayCacheNoExpirySpecified()
void
testEhCacheReplayCacheNoPath()
void
testMemoryReplayCache()
void
testNullKey()
void
testOverflowToDisk()
void
testPersistentAndDiskstoreNull()
void
testTooLargeDiskSize()
void
testTooSmallHeapEntries()
void
testZeroDiskSize()
-
-
-
Method Detail
-
testMemoryReplayCache
@Test public void testMemoryReplayCache() throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
testEhCacheReplayCache
@Test public void testEhCacheReplayCache() throws Exception
- Throws:
Exception
-
testEhCacheReplayCacheNoPath
@Test public void testEhCacheReplayCacheNoPath() throws Exception
- Throws:
Exception
-
testEhCacheDifferentCaches
@Test public void testEhCacheDifferentCaches() throws Exception
- Throws:
Exception
-
testEhCacheCloseCacheTwice
@Test public void testEhCacheCloseCacheTwice() throws Exception
- Throws:
Exception
-
testEhCacheReplayCacheNoExpirySpecified
@Test public void testEhCacheReplayCacheNoExpirySpecified() throws Exception
- Throws:
Exception
-
testEhCacheReplayCacheNegativeExpiry
@Test public void testEhCacheReplayCacheNegativeExpiry() throws Exception
- Throws:
Exception
-
testEhCacheReplayCacheHugeExpiry
@Test public void testEhCacheReplayCacheHugeExpiry() throws Exception
- Throws:
Exception
-
testPersistentAndDiskstoreNull
@Test public void testPersistentAndDiskstoreNull() throws Exception
- Throws:
Exception
-
-