public class MockContext extends ContextBase
Context
with instrumentation for unit testing.scheduledFutures
Constructor and Description |
---|
MockContext() |
MockContext(ScheduledExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
Status |
getLastStatus() |
ScheduledExecutorService |
getScheduledExecutorService() |
void |
setLastStatus(Status lastStatus) |
addScheduledFuture, getBirthTime, getConfigurationLock, getCopyOfPropertyMap, getExecutorService, getName, getObject, getProperty, getScheduledFutures, getStatusManager, initCollisionMaps, isStarted, putObject, putProperty, register, removeObject, reset, setName, setStatusManager, start, stop, toString
public MockContext()
public MockContext(ScheduledExecutorService executorService)
public ScheduledExecutorService getScheduledExecutorService()
getScheduledExecutorService
in interface Context
getScheduledExecutorService
in class ContextBase
public Status getLastStatus()
public void setLastStatus(Status lastStatus)
Copyright © 2005–2018 QOS.ch. All rights reserved.