</jacoco:coverage>
<delete file="${main.testokfile}"/>
<antcall target="-test-main-write-testfile"/>
-
- <fail if="main.test.failed" message="At least one test failed"/>
</target>
<target name="test-report" depends="init">
</jacoco:coverage>
<delete file="${scratchpad.testokfile}"/>
<antcall target="-test-scratchpad-write-testfile"/>
-
- <fail if="scratchpad.test.failed" message="At least one test failed"/>
</target>
<target name="-test-scratchpad-write-testfile" unless="scratchpad.test.failed">
</batchtest>
</junit>
</jacoco:coverage>
-
- <fail if="ooxml.test.failed" message="At least one test failed"/>
-
<jacoco:coverage enabled="${coverage.enabled}" excludes="${coverage.excludes}" destfile="build/jacoco-@{type}-xmlsec.exec">
<junit printsummary="yes" fork="yes" forkmode="once" haltonfailure="${halt.on.test.failure}"
failureproperty="ooxml.xmlsec.test.failed">
</batchtest>
</junit>
</jacoco:coverage>
-
- <fail if="ooxml.xmlsec.test.failed" message="At least one test failed"/>
</sequential>
</macrodef>
</jacoco:coverage>
<delete file="${integration.testokfile}"/>
<antcall target="-test-integration-write-testfile"/>
-
- <fail if="integration.test.failed" message="At least one test failed"/>
</target>
<target name="-test-integration-write-testfile" unless="integration.test.failed">
</jacoco:coverage>
<delete file="${excelant.testokfile}"/>
<antcall target="-test-excelant-write-testfile"/>
-
- <fail if="excelant.test.failed" message="At least one test failed"/>
</target>
<!-- GENERATE DOCUMENTATION -->