Files
maven-plugins/clover/src/plugin-test/maven.xml
T
2003-11-27 20:19:46 +00:00

27 lines
601 B
XML

<project
xmlns:util="jelly:util"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant"
xmlns:x="jelly:xml"
xmlns:assert="assert">
<goal name="testPlugin">
<!-- Fixture -->
<attainGoal name="clean"/>
<!-- Call goal to test -->
<attainGoal name="site"/>
<!-- Verifications -->
<assert:assertFileExists file="${maven.docs.dest}/clover/index.html"/>
<!-- Call report which will generate both the HTML and XML reports -->
<attainGoal name="clover"/>
<!-- Verifications -->
<assert:assertFileExists file="${maven.build.dir}/clover.xml"/>
</goal>
</project>