dion 2004/06/29 05:43:04
Modified: checkstyle/xdocs changes.xml
checkstyle/src/plugin-test maven.xml
Log:
Use assert taglib in plugin test
Revision Changes Path
1.34 +1 -0 maven-plugins/checkstyle/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/checkstyle/xdocs/changes.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- changes.xml 28 Jun 2004 21:04:04 -0000 1.33
+++ changes.xml 29 Jun 2004 12:43:04 -0000 1.34
@@ -26,6 +26,7 @@
</properties>
<body>
<release version="2.5-SNAPSHOT" date="In CVS">
+ <action dev="dion" type="update">Use assert taglib in plugin test.</action>
<action dev="vmassol" type="add">
Added generation of a Checkstyle RSS feed.
</action>
1.5 +3 -6 maven-plugins/checkstyle/src/plugin-test/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/maven-plugins/checkstyle/src/plugin-test/maven.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- maven.xml 12 May 2004 15:21:59 -0000 1.4
+++ maven.xml 29 Jun 2004 12:43:04 -0000 1.5
@@ -18,18 +18,15 @@
<project
xmlns:util="jelly:util"
xmlns:j="jelly:core"
- xmlns:x="jelly:xml">
+ xmlns:x="jelly:xml"
+ xmlns:assert="assert">
<goal name="testPlugin" prereqs="clean,test-checkstyle-report">
</goal>
<goal name="test-checkstyle-report">
<attainGoal name="checkstyle:report"/>
- <j:set var="expectedFile" value="${maven.gen.docs}/checkstyle-report.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}/checkstyle-report.xml"/>
<!-- Verify that there are no Boolean instantiation errors as we have
excluded the SuppressionFilterSample java file from the checks -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]