Package org.jboss.byteman.contrib.bmunit
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 org.jboss.byteman.contrib.bmunit.BMUnit5AbstractHandler
annotationClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeAll
(org.junit.jupiter.api.extension.ExtensionContext context) protected void
install
(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) protected void
uninstall
(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) Methods inherited from class org.jboss.byteman.contrib.bmunit.BMUnit5AbstractHandler
afterAll, afterEach, beforeEach, getAnnotationClass
-
Constructor Details
-
BMUnit5ConfigHandler
public BMUnit5ConfigHandler()
-
-
Method Details
-
beforeAll
- Specified by:
beforeAll
in interfaceorg.junit.jupiter.api.extension.BeforeAllCallback
- Overrides:
beforeAll
in classBMUnit5AbstractHandler<BMUnitConfig>
- Throws:
Exception
-
install
protected void install(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) throws Exception - Specified by:
install
in classBMUnit5AbstractHandler<BMUnitConfig>
- Throws:
Exception
-
uninstall
protected void uninstall(Class<?> testClass, Method testMethod, BMUnitConfig bmUnitConfig) throws Exception - Specified by:
uninstall
in classBMUnit5AbstractHandler<BMUnitConfig>
- Throws:
Exception
-