mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
Fix surefire config so jacoco doesn't skip jacoco coverage
This commit is contained in:
parent
a3ff15484b
commit
a99d39b89e
@ -235,6 +235,24 @@
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>${maven_surefire_version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-test</id>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<excludes combine.children="override">
|
||||
<exclude>org/hl7/fhir/validation/cli/services/ValidationServiceTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.basepom.maven</groupId>
|
||||
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
||||
|
@ -1,5 +1,7 @@
|
||||
package org.hl7.fhir.validation.cli.utils;
|
||||
|
||||
import org.hl7.fhir.validation.cli.utils.Display;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
@ -10,6 +12,7 @@ import static org.junit.jupiter.api.Assertions.*;
|
||||
public class DisplayTests {
|
||||
|
||||
@Test
|
||||
@DisplayName("Check for placeholder replacement in help output")
|
||||
public void displayHelpDetails() {
|
||||
final ByteArrayOutputStream outContent = new ByteArrayOutputStream();
|
||||
final ByteArrayOutputStream errContent = new ByteArrayOutputStream();
|
||||
@ -37,6 +40,7 @@ public class DisplayTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("Test replacePlaceholder base case")
|
||||
public void testReplacePlaceholdersBaseCase() {
|
||||
|
||||
final String myTestString = "The {{DUMMY_A}} jumps over the {{DUMMY_B}}.";
|
||||
|
Loading…
x
Reference in New Issue
Block a user