Class CDIProducedProceduresTest

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.health.tck.TCKBase
org.eclipse.microprofile.health.tck.CDIProducedProceduresTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class CDIProducedProceduresTest extends TCKBase
Verifies the liveness, readiness, and startup health integration with CDI when the Health Check procedures are defined with CDI method Producers.
Author:
Prashanth Gunapalasingam
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.microprofile.health.tck.TCKBase

    TCKBase.Response

    Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian

    org.jboss.arquillian.testng.Arquillian.UpdateResultListener
  • Field Summary

    Fields inherited from class org.jboss.arquillian.testng.Arquillian

    ARQUILLIAN_DATA_PROVIDER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.jboss.shrinkwrap.api.Archive
     
    void
    Verifies the failed Readiness Health Check integration with CDI method producers.
    void
    Verifies the successful Liveness Health Check integration with CDI method producers.
    void
    Verifies the successful Startup Health Check integration with CDI method producers.

    Methods inherited from class org.eclipse.microprofile.health.tck.TCKBase

    beforeMethod

    Methods inherited from class org.jboss.arquillian.testng.Arquillian

    arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CDIProducedProceduresTest

      public CDIProducedProceduresTest()
  • Method Details

    • getDeployment

      @Deployment public static org.jboss.shrinkwrap.api.Archive getDeployment()
    • testSuccessfulLivenessResponsePayload

      @RunAsClient public void testSuccessfulLivenessResponsePayload()
      Verifies the successful Liveness Health Check integration with CDI method producers.
    • testFailureReadinessResponsePayload

      @RunAsClient public void testFailureReadinessResponsePayload()
      Verifies the failed Readiness Health Check integration with CDI method producers.
    • testSuccessStartupResponsePayload

      @RunAsClient public void testSuccessStartupResponsePayload()
      Verifies the successful Startup Health Check integration with CDI method producers.