Class RevocationCacheTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.storage.RevocationCacheTest
-
public class RevocationCacheTest extends Object
Tests forRevocationCache
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.storage.RevocationCacherevocationCacheprivate MemoryStorageServicestorageService
-
Constructor Summary
Constructors Constructor Description RevocationCacheTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()protected voidtearDown()voidtestExpirationSetter()voidtestInit()voidtestRevocationExpirationSuccess()voidtestRevocationSuccess()voidtestRevocationSuccessLongContext()voidtestRevocationSuccessLongLongItem()voidtestStorageGetter()voidtestStrictSetter()
-
-
-
Field Detail
-
storageService
private MemoryStorageService storageService
-
revocationCache
private net.shibboleth.idp.plugin.oidc.op.storage.RevocationCache revocationCache
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception
- Throws:
Exception
-
tearDown
@AfterMethod protected void tearDown()
-
testInit
public void testInit()
-
testStrictSetter
public void testStrictSetter() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testExpirationSetter
public void testExpirationSetter() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testStorageGetter
public void testStorageGetter() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testRevocationSuccess
public void testRevocationSuccess() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testRevocationSuccessLongContext
public void testRevocationSuccessLongContext() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testRevocationSuccessLongLongItem
public void testRevocationSuccessLongLongItem() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testRevocationExpirationSuccess
public void testRevocationExpirationSuccess() throws ComponentInitializationException, InterruptedException
-
-