Skip to content

Commit 31d7238

Browse files
authored
WIP: Misc/exclude gui coverage (#252)
Excludes GUI packages as well as the single launcher.
1 parent d8b09bb commit 31d7238

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

PL2/PL2-shared/src/test/java/nl/tudelft/pl2016gr2/model/GenomeMapTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public void setUp() {
4949
*/
5050
@After
5151
public void tearDown() {
52+
GenomeMap.getInstance().clear();
5253
AccessPrivate.setFieldValue("singleton_instance", GenomeMap.class, null, null);
5354
}
5455

PL2/pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@
9797
<groupId>org.jacoco</groupId>
9898
<artifactId>jacoco-maven-plugin</artifactId>
9999
<version>0.7.6.201602180812</version>
100+
<configuration>
101+
<excludes>
102+
<exclude>nl/tudelft/pl2016gr2/gui/**/*</exclude>
103+
<exclude>nl/tudelft/pl2016gr2/launcher/*</exclude>
104+
</excludes>
105+
</configuration>
100106
<reportSets>
101107
<reportSet>
102108
<reports>
@@ -206,6 +212,12 @@
206212
<groupId>org.jacoco</groupId>
207213
<artifactId>jacoco-maven-plugin</artifactId>
208214
<version>0.7.6.201602180812</version>
215+
<configuration>
216+
<excludes>
217+
<exclude>nl/tudelft/pl2016gr2/gui/**/*</exclude>
218+
<exclude>nl/tudelft/pl2016gr2/launcher/*</exclude>
219+
</excludes>
220+
</configuration>
209221
<executions>
210222
<execution>
211223
<id>prepare-agent</id>

0 commit comments

Comments
 (0)