Package org.grpcmock.springboot
Class GrpcMockTestExecutionListener
- java.lang.Object
-
- org.springframework.test.context.support.AbstractTestExecutionListener
-
- org.grpcmock.springboot.GrpcMockTestExecutionListener
-
- All Implemented Interfaces:
org.springframework.core.Ordered,org.springframework.test.context.TestExecutionListener
public final class GrpcMockTestExecutionListener extends org.springframework.test.context.support.AbstractTestExecutionListenerDirties the test context if WireMock was running on a fixed port.- Author:
- Fadelis
-
-
Constructor Summary
Constructors Constructor Description GrpcMockTestExecutionListener()
-
Method Summary
Modifier and Type Method Description voidafterTestClass(org.springframework.test.context.TestContext testContext)voidafterTestMethod(org.springframework.test.context.TestContext testContext)voidbeforeTestClass(org.springframework.test.context.TestContext testContext)-
Methods inherited from class org.springframework.test.context.support.AbstractTestExecutionListener
getOrder
-
-
-
-
Method Detail
-
beforeTestClass
public void beforeTestClass(org.springframework.test.context.TestContext testContext)
-
afterTestClass
public void afterTestClass(org.springframework.test.context.TestContext testContext)
-
afterTestMethod
public void afterTestMethod(org.springframework.test.context.TestContext testContext)
-
-