parent
fc68b001d8
commit
6642bf7beb
|
@ -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();
|
||||
|
|
|
@ -26,6 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||
*
|
||||
* @author Roland Weisleder
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class OutputCaptureRuleTests {
|
||||
|
||||
@Rule
|
||||
|
|
Loading…
Reference in New Issue