public interface ExternalResource
extends org.junit.rules.TestRule
ExternalResource
.
This version is an interface instead of an abstract class and allows resources to
differentiate between successful and failed tests in their After
methods.
Modifier and Type | Method and Description |
---|---|
default void |
afterTestFailure() |
void |
afterTestSuccess() |
default org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
void |
before() |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.