org.xwiki.test
Class LogRule.LogStatement

java.lang.Object
  extended by org.junit.runners.model.Statement
      extended by org.xwiki.test.LogRule.LogStatement
Enclosing class:
LogRule

public class LogRule.LogStatement
extends org.junit.runners.model.Statement

The actual code that executes our capturing logic before the test runs and removes it after it has run.


Constructor Summary
LogRule.LogStatement(org.junit.runners.model.Statement statement)
           
 
Method Summary
 void evaluate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRule.LogStatement

public LogRule.LogStatement(org.junit.runners.model.Statement statement)
Parameters:
statement - the wrapping statement that we save so that we can execute it (the statement represents the test to execute).
Method Detail

evaluate

public void evaluate()
              throws Throwable
Specified by:
evaluate in class org.junit.runners.model.Statement
Throws:
Throwable


Copyright © 2004–2015 XWiki. All rights reserved.