Class RetryExceptionHierarchyTest

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.fault.tolerance.tck.RetryExceptionHierarchyTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class RetryExceptionHierarchyTest extends org.jboss.arquillian.testng.Arquillian
Verifies behavior of @Retry for various exceptions in an inheritance hierarchy. The asserted logic is:
  1. Abort if the exception matches abortOn
  2. Otherwise retry if the exception matches retryOn
  3. Otherwise abort
  • Constructor Details

    • RetryExceptionHierarchyTest

      public RetryExceptionHierarchyTest()
  • Method Details

    • deploy

      @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
    • serviceAthrowsException

      public void serviceAthrowsException()
    • serviceAthrowsE0

      public void serviceAthrowsE0()
    • serviceAthrowsE1

      public void serviceAthrowsE1()
    • serviceAthrowsE2

      public void serviceAthrowsE2()
    • serviceAthrowsE2S

      public void serviceAthrowsE2S()
    • serviceAthrowsE1S

      public void serviceAthrowsE1S()
    • serviceAthrowsE0S

      public void serviceAthrowsE0S()
    • serviceAthrowsRuntimeException

      public void serviceAthrowsRuntimeException()
    • serviceAthrowsError

      public void serviceAthrowsError()
    • serviceBthrowsException

      public void serviceBthrowsException()
    • serviceBthrowsE0

      public void serviceBthrowsE0()
    • serviceBthrowsE1

      public void serviceBthrowsE1()
    • serviceBthrowsE2

      public void serviceBthrowsE2()
    • serviceBthrowsE2S

      public void serviceBthrowsE2S()
    • serviceBthrowsE1S

      public void serviceBthrowsE1S()
    • serviceBthrowsE0S

      public void serviceBthrowsE0S()
    • serviceBthrowsRuntimeException

      public void serviceBthrowsRuntimeException()
    • serviceBthrowsError

      public void serviceBthrowsError()
    • serviceCthrowsException

      public void serviceCthrowsException()
    • serviceCthrowsE0

      public void serviceCthrowsE0()
    • serviceCthrowsE1

      public void serviceCthrowsE1()
    • serviceCthrowsE2

      public void serviceCthrowsE2()
    • serviceCthrowsE2S

      public void serviceCthrowsE2S()
    • serviceCthrowsE1S

      public void serviceCthrowsE1S()
    • serviceCthrowsE0S

      public void serviceCthrowsE0S()
    • serviceCthrowsRuntimeException

      public void serviceCthrowsRuntimeException()
    • serviceCthrowsError

      public void serviceCthrowsError()