Use assert taglib in plugin test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115599 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
90e2f8eb9b
commit
138e039a76
3 files changed
+7
-11
No files matched your search
@@ -23,7 +23,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-html2xdoc-plugin</id>
|
||||
<name>Maven Html2XDoc Plug-in</name>
|
||||
<currentVersion>1.3</currentVersion>
|
||||
<currentVersion>1.4-SNAPSHOT</currentVersion>
|
||||
<gumpRepositoryId>jakarta</gumpRepositoryId>
|
||||
<description>Creates XDoc documentation from normal HTML documentation.</description>
|
||||
<shortDescription>HTML to xdoc transformer</shortDescription>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
-->
|
||||
<project xmlns:util="jelly:util"
|
||||
xmlns:assert="assert"
|
||||
xmlns:j="jelly:core">
|
||||
|
||||
<goal name="testPlugin" prereqs="clean,test-html2xdoc,test-html2xdoc-site">
|
||||
@@ -23,19 +24,11 @@
|
||||
|
||||
<goal name="test-html2xdoc">
|
||||
<attainGoal name="html2xdoc"/>
|
||||
<j:set var="expectedFile" value="${maven.gen.docs}/h1h2.xml"/>
|
||||
<util:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
<assert:assertFileExists file="${maven.gen.docs}/h1h2.xml"/>
|
||||
</goal>
|
||||
|
||||
<goal name="test-html2xdoc-site">
|
||||
<attainGoal name="site"/>
|
||||
<j:set var="expectedFile" value="${maven.docs.dest}/h1h2.html"/>
|
||||
<util:file var="file" name="${expectedFile}" />
|
||||
<j:if test="${!(file.exists())}">
|
||||
<fail>${expectedFile} not generated</fail>
|
||||
</j:if>
|
||||
<assert:assertFileExists file="${maven.docs.dest}/h1h2.html"/>
|
||||
</goal>
|
||||
</project>
|
||||
@@ -24,6 +24,9 @@
|
||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.4-SNAPSHOT" date="in CVS">
|
||||
<action dev="dion" type="update">Use assert taglib in plugin tests</action>
|
||||
</release>
|
||||
<release version="1.3" date="2004-05-15">
|
||||
<action dev="dion" type="fix">Fix issues with DOM classes and jdk1.3</action>
|
||||
</release>
|
||||
|
||||
Reference in new issue
Block a user