|
|
|
|
@ -50,7 +50,9 @@ import static org.hamcrest.Matchers.allOf;
@@ -50,7 +50,9 @@ import static org.hamcrest.Matchers.allOf;
|
|
|
|
|
* @author Phillip Webb |
|
|
|
|
* @author Andy Wilkinson |
|
|
|
|
* @since 2.2.0 |
|
|
|
|
* @deprecated since 4.0.0 in favor of JUnit 5 and {@link OutputCaptureExtension} |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
public class OutputCaptureRule implements TestRule, CapturedOutput { |
|
|
|
|
|
|
|
|
|
private final OutputCapture delegate = new OutputCapture(); |
|
|
|
|
|