Class FactCastIntegrationTestExecutionListener

java.lang.Object
org.factcast.test.FactCastIntegrationTestExecutionListener
All Implemented Interfaces:
org.springframework.test.context.TestExecutionListener

public class FactCastIntegrationTestExecutionListener extends Object implements org.springframework.test.context.TestExecutionListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.testcontainers.containers.Network
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterTestClass(org.springframework.test.context.TestContext testContext)
     
    void
    afterTestExecution(org.springframework.test.context.TestContext testContext)
     
    void
    afterTestMethod(@NonNull org.springframework.test.context.TestContext testContext)
     
    void
    beforeTestClass(@NonNull org.springframework.test.context.TestContext testContext)
     
    void
    beforeTestMethod(@NonNull org.springframework.test.context.TestContext testContext)
     
    static eu.rekawek.toxiproxy.ToxiproxyClient
     
    static org.testcontainers.containers.ToxiproxyContainer.ContainerProxy
    createProxy(org.testcontainers.containers.GenericContainer<?> container, int port)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.test.context.TestExecutionListener

    beforeTestExecution, prepareTestInstance
  • Field Details

    • _docker_network

      public static final org.testcontainers.containers.Network _docker_network
    • TOXIPROXY_NETWORK_ALIAS

      public static final String TOXIPROXY_NETWORK_ALIAS
      See Also:
  • Constructor Details

    • FactCastIntegrationTestExecutionListener

      public FactCastIntegrationTestExecutionListener()
  • Method Details

    • beforeTestClass

      public void beforeTestClass(@NonNull @NonNull org.springframework.test.context.TestContext testContext) throws Exception
      Specified by:
      beforeTestClass in interface org.springframework.test.context.TestExecutionListener
      Throws:
      Exception
    • beforeTestMethod

      public void beforeTestMethod(@NonNull @NonNull org.springframework.test.context.TestContext testContext) throws Exception
      Specified by:
      beforeTestMethod in interface org.springframework.test.context.TestExecutionListener
      Throws:
      Exception
    • afterTestMethod

      public void afterTestMethod(@NonNull @NonNull org.springframework.test.context.TestContext testContext) throws SQLException
      Specified by:
      afterTestMethod in interface org.springframework.test.context.TestExecutionListener
      Throws:
      SQLException
    • afterTestClass

      public void afterTestClass(org.springframework.test.context.TestContext testContext) throws Exception
      Specified by:
      afterTestClass in interface org.springframework.test.context.TestExecutionListener
      Throws:
      Exception
    • afterTestExecution

      public void afterTestExecution(org.springframework.test.context.TestContext testContext) throws Exception
      Specified by:
      afterTestExecution in interface org.springframework.test.context.TestExecutionListener
      Throws:
      Exception
    • createProxy

      public static org.testcontainers.containers.ToxiproxyContainer.ContainerProxy createProxy(org.testcontainers.containers.GenericContainer<?> container, int port)
    • client

      public static eu.rekawek.toxiproxy.ToxiproxyClient client()