Package xbot.common.logging
Class RobotAssertionManager
java.lang.Object
xbot.common.logging.RobotAssertionManager
- Direct Known Subclasses:
LoudRobotAssertionManager
,SilentRobotAssertionManager
Base class for safe assertion manager. Allows context-based management of
exceptions and assertion conditions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assertTrue
(boolean value, String assertionFaliureCause) final void
protected abstract void
abstract boolean
final void
final void
throwException
(String message, Throwable cause)
-
Constructor Details
-
RobotAssertionManager
public RobotAssertionManager()
-
-
Method Details
-
throwException
-
throwException
-
handlePlatformException
-
isExceptionsEnabled
public abstract boolean isExceptionsEnabled() -
fail
-
assertTrue
-