Interface LambdaTestListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LambdaTestListenerLambda version forTestExecutionListener. RequiresTestExecutionListenerLambdaAdapter. Assumed to be used withTestEnvironmentSetupobject, when its declared as lambda itself and complete listener implementation (TestExtension.listen( ru.vyarus.dropwizard.guice.test.jupiter.env.listen.TestExecutionListener)) would look clumsy.- Since:
- 20.02.2025
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTestEvent(EventContext context)Called on test event (seeTestExecutionListener) for events description.
-
-
-
Method Detail
-
onTestEvent
void onTestEvent(EventContext context) throws java.lang.Exception
Called on test event (seeTestExecutionListener) for events description.- Parameters:
context- context object providing access to all required objects- Throws:
java.lang.Exception- on error
-
-