com.atlassian.webdriver.rule
Class SafeStatementInvoker

java.lang.Object
  extended by com.atlassian.webdriver.rule.SafeStatementInvoker

public final class SafeStatementInvoker
extends Object

For testing rules we need to be able invoke statements created by them and ignoring the resulting errors.

Since:
2.1

Constructor Summary
SafeStatementInvoker(org.junit.runners.model.Statement statement)
           
 
Method Summary
 Throwable getError()
           
 void invokeSafely()
           
 boolean isSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeStatementInvoker

public SafeStatementInvoker(org.junit.runners.model.Statement statement)
Method Detail

invokeSafely

public void invokeSafely()

isSuccess

public boolean isSuccess()

getError

public Throwable getError()


Copyright © 2014 Atlassian. All rights reserved.