This is an automated email from the ASF dual-hosted git repository. olli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-crypto.git
The following commit(s) were added to refs/heads/master by this push: new e18da8a SLING-9700 Enable code coverage with JaCoCo e18da8a is described below commit e18da8ac2898859f07866efd9dbed4d6bb956f0f Author: Oliver Lietz <o...@apache.org> AuthorDate: Wed Jun 16 10:15:25 2021 +0200 SLING-9700 Enable code coverage with JaCoCo comment jacoco option --- .../org/apache/sling/commons/crypto/it/tests/CryptoTestSupport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/apache/sling/commons/crypto/it/tests/CryptoTestSupport.java b/src/test/java/org/apache/sling/commons/crypto/it/tests/CryptoTestSupport.java index 9bff12e..8d5d430 100644 --- a/src/test/java/org/apache/sling/commons/crypto/it/tests/CryptoTestSupport.java +++ b/src/test/java/org/apache/sling/commons/crypto/it/tests/CryptoTestSupport.java @@ -49,10 +49,11 @@ public abstract class CryptoTestSupport extends TestSupport { mavenBundle().groupId("com.google.guava").artifactId("guava").versionAsInProject(), mavenBundle().groupId("com.google.guava").artifactId("failureaccess").versionAsInProject(), mavenBundle().groupId("com.googlecode.java-diff-utils").artifactId("diffutils").versionAsInProject(), - jacoco() + jacoco() // remove with Testing PaxExam 4.0 ); } + // remove with Testing PaxExam 4.0 protected OptionalCompositeOption jacoco() { final String jacocoCommand = System.getProperty("jacoco.command"); final VMOption option = Objects.nonNull(jacocoCommand) && !jacocoCommand.trim().isEmpty() ? vmOption(jacocoCommand) : null;