Class LiquibaseIntegrationMethodInterceptor
- java.lang.Object
-
- org.spockframework.runtime.extension.AbstractMethodInterceptor
-
- liquibase.extension.testing.testsystem.spock.LiquibaseIntegrationMethodInterceptor
-
- All Implemented Interfaces:
org.spockframework.runtime.extension.IMethodInterceptor
public class LiquibaseIntegrationMethodInterceptor extends org.spockframework.runtime.extension.AbstractMethodInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description static Set<TestSystem>
startedTestSystems
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation)
Required for executing Spock cleanupSpec fixture method.void
interceptSetupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation)
-
Methods inherited from class org.spockframework.runtime.extension.AbstractMethodInterceptor
intercept, interceptCleanupMethod, interceptDataProcessorMethod, interceptDataProviderMethod, interceptFeatureExecution, interceptFeatureMethod, interceptInitializerMethod, interceptIterationExecution, interceptSetupMethod, interceptSharedInitializerMethod, interceptSpecExecution
-
-
-
-
Field Detail
-
startedTestSystems
public static final Set<TestSystem> startedTestSystems
-
-
Method Detail
-
interceptSetupSpecMethod
public void interceptSetupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable
- Overrides:
interceptSetupSpecMethod
in classorg.spockframework.runtime.extension.AbstractMethodInterceptor
- Throws:
Throwable
-
interceptCleanupSpecMethod
public void interceptCleanupSpecMethod(org.spockframework.runtime.extension.IMethodInvocation invocation) throws Throwable
Required for executing Spock cleanupSpec fixture method.- Overrides:
interceptCleanupSpecMethod
in classorg.spockframework.runtime.extension.AbstractMethodInterceptor
- Parameters:
invocation
- the cleanup method invocation- Throws:
Throwable
-
-