Class ValidateConsoleRule.ValidateConsoleStatement

  • Enclosing class:
    ValidateConsoleRule

    public class ValidateConsoleRule.ValidateConsoleStatement
    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 Detail

      • ValidateConsoleStatement

        public ValidateConsoleStatement​(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