Class BMUnit5ConfigHandler
java.lang.Object
org.jboss.byteman.contrib.bmunit.BMUnit5AbstractHandler<BMUnitConfig>
org.jboss.byteman.contrib.bmunit.BMUnit5ConfigHandler
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension
-
Field Summary
Fields inherited from class BMUnit5AbstractHandler
annotationClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext context) protected voidinstall(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) protected voiduninstall(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) Methods inherited from class BMUnit5AbstractHandler
afterAll, afterEach, beforeEach, getAnnotationClass
-
Constructor Details
-
BMUnit5ConfigHandler
public BMUnit5ConfigHandler()
-
-
Method Details
-
beforeAll
- Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback- Overrides:
beforeAllin classBMUnit5AbstractHandler<BMUnitConfig>- Throws:
Exception
-
install
protected void install(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) throws Exception - Specified by:
installin classBMUnit5AbstractHandler<BMUnitConfig>- Throws:
Exception
-
uninstall
protected void uninstall(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) throws Exception - Specified by:
uninstallin classBMUnit5AbstractHandler<BMUnitConfig>- Throws:
Exception
-