Skip to content

Commit b6f7d94

Browse files
committed
coverage highlighting
2 parents b41fc73 + 4811de7 commit b6f7d94

6 files changed

Lines changed: 6 additions & 5 deletions

File tree

drjava/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
*.jar
1+
drjava.jar
22
classes/
33

drjava/build.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,11 +587,10 @@
587587
</junit>
588588
</jacoco:coverage>
589589
<fail if="test-failed" message="One or more unit tests failed."/>
590-
<antcall target="generate-coverage-report" />
591-
<delete file="${coverage-exec}"/>
590+
<antcall target="generate-cover" />
592591
</target>
593592

594-
<target name = "generate-coverage-report" xmlns:jacoco="antlib:org.jacoco.ant">
593+
<target name = "generate-cover" xmlns:jacoco="antlib:org.jacoco.ant">
595594
<jacoco:report>
596595

597596
<executiondata>
@@ -600,7 +599,7 @@
600599

601600
<structure name="drjava">
602601
<classfiles>
603-
<fileset dir="classes"/>
602+
<fileset dir="classes/base"/>
604603
</classfiles>
605604
<sourcefiles encoding="UTF-8">
606605
<fileset dir="src"/>
@@ -1045,6 +1044,8 @@
10451044
</target>
10461045

10471046
<target name="clean-coverage-report" unless="skip-clean">
1047+
<echo message="Deleting all coverage report products" />
1048+
10481049
<delete dir="${coverage-report-dir}" failonerror="${clean-can-fail}" />
10491050
<delete file="${coverage-exec}"/>
10501051
</target>

drjava/lib/jacocoant.jar

655 KB
Binary file not shown.

drjava/lib/jsoup-1.8.1.jar

294 KB
Binary file not shown.
116 KB
Binary file not shown.
124 KB
Binary file not shown.

0 commit comments

Comments
 (0)