Class SonarJerseyCommon
- java.lang.Object
-
- org.glassfish.jersey.internal.sonar.SonarJerseyCommon
-
public class SonarJerseyCommon extends java.lang.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.
-
-
Constructor Summary
Constructors Constructor Description SonarJerseyCommon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
common()
This method is invoked indirectly from the tests.java.lang.String
e2e()
This method is executed from a unit test by maven surefire plugin from a dependant module.java.lang.String
integrationServerJvm()
This method is executed from a server (Jetty for instance) during the integration test phase.java.lang.String
integrationTestJvm()
A method that is executed in a JVM of maven failsafe plugin from a dependant maven module.java.lang.String
unitTest()
A method that is executed from a unit test by maven surefire plugin within the same Maven module.
-
-
-
Method Detail
-
common
public java.lang.String common()
This method is invoked indirectly from the tests.
-
unitTest
public java.lang.String unitTest()
A method that is executed from a unit test by maven surefire plugin within the same Maven module.
-
e2e
public java.lang.String e2e()
This method is executed from a unit test by maven surefire plugin from a dependant module.
-
integrationTestJvm
public java.lang.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 java.lang.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.
-
-