Package org.apache.flink.util
Interface ExternalResource
-
- All Superinterfaces:
org.junit.rules.TestRule
- All Known Subinterfaces:
DownloadCache
,FlinkResource
- All Known Implementing Classes:
LocalStandaloneFlinkResource
,LolCache
,PersistingDownloadCache
,TravisDownloadCache
public interface ExternalResource extends org.junit.rules.TestRule
Modified version of the jUnitExternalResource
.This version is an interface instead of an abstract class and allows resources to differentiate between successful and failed tests in their
After
methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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()
-