Package com.streambase.sb.unittest
Interface SBTestEnvironment
- All Known Implementing Classes:
BaseTestEnvironment
public interface SBTestEnvironment
This interface is not expected to be implemented by end-users.
Use
BaseTestEnvironment.DEFAULT_ENVIRONMENT
if you need
a default instance to use for an SBServerManager
.- Since:
- 6.6
-
Method Summary
Modifier and TypeMethodDescriptiongetConf()
boolean
boolean
void
setNowImpl
(NowImplementation nowImpl) Set the current implementation of now() function
-
Method Details
-
isIntermediateStreamDequeueEnabled
boolean isIntermediateStreamDequeueEnabled()- Returns:
- whether intermediate stream dequeueing should be enabled
-
isAppDebuggingEnabled
boolean isAppDebuggingEnabled()- Returns:
- whether the debugger should be enabled
-
getConf
- Returns:
- the contents of a StreamBase configuration file that should not be null
- Throws:
StreamBaseException
- if any error occurs accessing the configuration
-
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
NowImplementation
value corresponding to the current implementation of now() function - Since:
- 7.4
-
setNowImpl
Set the current implementation of now() function- Parameters:
nowImpl
- theNowImplementation
value corresponding to the current implementation of now() function- Throws:
StreamBaseException
- if any error occurs- Since:
- 7.4
-