Class RobotAssertionManager

java.lang.Object
xbot.common.logging.RobotAssertionManager
Direct Known Subclasses:
LoudRobotAssertionManager, SilentRobotAssertionManager

public abstract class RobotAssertionManager extends Object
Base class for safe assertion manager. Allows context-based management of exceptions and assertion conditions.
  • Constructor Details

    • RobotAssertionManager

      public RobotAssertionManager()
  • Method Details

    • throwException

      public final void throwException(RuntimeException e)
    • throwException

      public final void throwException(String message, Throwable cause)
    • handlePlatformException

      protected abstract void handlePlatformException(RuntimeException e)
    • isExceptionsEnabled

      public abstract boolean isExceptionsEnabled()
    • fail

      public final void fail(String message)
    • assertTrue

      public final void assertTrue(boolean value, String assertionFaliureCause)