Package org.apache.flink.core.testutils
Interface CustomExtension
-
- All Known Implementing Classes:
TestContainerExtension
public interface CustomExtensionAn extension that is invoked before/after all/each tests, depending on whether it is wrapped in aEachCallbackWrapperorAllCallbackWrapper.beforemethod will be called inbeforeEachorbeforeAll.afterwill be called inafterEachorafterAll.Usage example:
{@code public class Test{ CustomExtension eachCustom = new CustomExtensionImpl1(); CustomExtension allCustom = new CustomExtensionImpl2();
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafter(org.junit.jupiter.api.extension.ExtensionContext context)default voidbefore(org.junit.jupiter.api.extension.ExtensionContext context)
-