Exclude some generated classes from coverage measurements, now instruction coverage is at around 72%, also update JaCoCo to latest version 0.6.5

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1578146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2014-03-16 19:46:46 +00:00
parent ffc04f7630
commit a952c56467
1 changed files with 6 additions and 3 deletions

View File

@ -153,8 +153,8 @@ under the License.
<property name="ooxml.jsr173.url" value="${repository.m2}/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/> <property name="ooxml.jsr173.url" value="${repository.m2}/maven2/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
<!-- coverage libs --> <!-- coverage libs -->
<property name="jacoco.zip" location="${main.lib}/jacoco-0.6.4.201312101107.zip"/> <property name="jacoco.zip" location="${main.lib}/jacoco-0.6.5.201403032054.zip"/>
<property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.6.4.201312101107/jacoco-0.6.4.201312101107.zip"/> <property name="jacoco.url" value="${repository.m2}/maven2/org/jacoco/jacoco/0.6.5.201403032054/jacoco-0.6.5.201403032054.zip"/>
<property name="asm.jar" location="${main.lib}/asm-all-4.0.jar"/> <property name="asm.jar" location="${main.lib}/asm-all-4.0.jar"/>
<property name="asm.url" value="${repository.m2}/maven2/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar"/> <property name="asm.url" value="${repository.m2}/maven2/org/ow2/asm/asm-all/4.0/asm-all-4.0.jar"/>
@ -747,7 +747,10 @@ under the License.
</group> </group>
<group name="Scratchpad"> <group name="Scratchpad">
<classfiles> <classfiles>
<fileset dir="${scratchpad.output.dir}"/> <fileset dir="${scratchpad.output.dir}">
<exclude name="org/apache/poi/hwpf/model/types/*.class"/>
<exclude name="org/apache/poi/hdf/model/hdftypes/definitions/*.class"/>
</fileset>
</classfiles> </classfiles>
<sourcefiles encoding="UTF-8"> <sourcefiles encoding="UTF-8">
<fileset dir="${scratchpad.src}"/> <fileset dir="${scratchpad.src}"/>