Package com.streambase.sb.unittest
Interface SBTestEnvironment
- 
- All Known Implementing Classes:
 BaseTestEnvironment
public interface SBTestEnvironmentThis interface is not expected to be implemented by end-users. UseBaseTestEnvironment.DEFAULT_ENVIRONMENTif you need a default instance to use for anSBServerManager.- Since:
 - 6.6
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetConf()default Map<String,String>getEngineSystemProperties()NowImplementationgetNowImpl()booleanisAppDebuggingEnabled()booleanisIntermediateStreamDequeueEnabled()voidsetNowImpl(NowImplementation nowImpl)Set the current implementation of now() function 
 - 
 
- 
- 
Method Detail
- 
isIntermediateStreamDequeueEnabled
boolean isIntermediateStreamDequeueEnabled()
- Returns:
 - whether intermediate stream dequeueing should be enabled
 
 
- 
isAppDebuggingEnabled
boolean isAppDebuggingEnabled()
- Returns:
 - whether the debugger should be enabled
 
 
- 
getConf
String getConf() throws StreamBaseException
- Returns:
 - the contents of a StreamBase configuration file that should not be null
 - Throws:
 StreamBaseException- if any error occurs accessing the configuration
 
- 
getEngineSystemProperties
default Map<String,String> getEngineSystemProperties()
- Returns:
 - the engine-specific system properties associated with this environment, an empty map if none. Default implementation returns an empty map.
 
 
- 
getNowImpl
NowImplementation getNowImpl()
- Returns:
 - the 
NowImplementationvalue corresponding to the current implementation of now() function - Since:
 - 7.4
 
 
- 
setNowImpl
void setNowImpl(NowImplementation nowImpl) throws StreamBaseException
Set the current implementation of now() function- Parameters:
 nowImpl- theNowImplementationvalue corresponding to the current implementation of now() function- Throws:
 StreamBaseException- if any error occurs- Since:
 - 7.4
 
 
 - 
 
 -