Class LiquibaseIntegrationMethodInterceptor

  • All Implemented Interfaces:
    org.spockframework.runtime.extension.IMethodInterceptor

    public class LiquibaseIntegrationMethodInterceptor
    extends org.spockframework.runtime.extension.AbstractMethodInterceptor
    • 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 class org.spockframework.runtime.extension.AbstractMethodInterceptor
        Throws:
        Throwable
      • interceptSetupMethod

        public void interceptSetupMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
                                  throws Throwable
        Overrides:
        interceptSetupMethod in class org.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 class org.spockframework.runtime.extension.AbstractMethodInterceptor
        Parameters:
        invocation - the cleanup method invocation
        Throws:
        Throwable
      • interceptCleanupMethod

        public void interceptCleanupMethod​(org.spockframework.runtime.extension.IMethodInvocation invocation)
                                    throws Throwable
        Overrides:
        interceptCleanupMethod in class org.spockframework.runtime.extension.AbstractMethodInterceptor
        Throws:
        Throwable