Class SonarJerseyCommon

java.lang.Object
org.glassfish.jersey.internal.sonar.SonarJerseyCommon

public class SonarJerseyCommon extends Object
The purpose of this class is to verify the reported test coverage shows correct results in various modes of test executions. For further details, see javadoc bellow.
Author:
Stepan Vavra
  • Constructor Details

    • SonarJerseyCommon

      public SonarJerseyCommon()
  • Method Details

    • common

      public String common()
      This method is invoked indirectly from the tests.
    • unitTest

      public String unitTest()
      A method that is executed from a unit test by maven surefire plugin within the same Maven module.
    • e2e

      public String e2e()
      This method is executed from a unit test by maven surefire plugin from a dependant module.
    • integrationTestJvm

      public String integrationTestJvm()
      A method that is executed in a JVM of maven failsafe plugin from a dependant maven module. The call is executed directly.
    • integrationServerJvm

      public String integrationServerJvm()
      This method is executed from a server (Jetty for instance) during the integration test phase. This server is called by a JUnit test that is executed by maven failsafe plugin.