dion 2004/05/04 23:16:27 Modified: eclipse/xdocs changes.xml eclipse/src/plugin-test maven.xml Log: Use assert taglib for plugin tests Revision Changes Path 1.16 +1 -0 maven-plugins/eclipse/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/eclipse/xdocs/changes.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- changes.xml 25 Apr 2004 16:05:08 -0000 1.15 +++ changes.xml 5 May 2004 06:16:27 -0000 1.16 @@ -25,6 +25,7 @@ </properties> <body> <release version="1.7-SNAPSHOT" date="in CVS"> + <action dev="dion" type="update">use assert taglib for testing</action> <action dev="brett" type="update" issue="MPECLIPSE-21">Honour sourceModifications in classpath file</action> <action dev="dion" type="fix" issue="MPECLIPSE-22">used container for JRE classpath</action> </release> 1.3 +5 -9 maven-plugins/eclipse/src/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /home/cvs/maven-plugins/eclipse/src/plugin-test/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 4 Mar 2004 18:04:37 -0000 1.2 +++ maven.xml 5 May 2004 06:16:27 -0000 1.3 @@ -15,7 +15,9 @@ * limitations under the License. */ --> -<project xmlns:j="jelly:core" xmlns:u="jelly:util"> +<project xmlns:j="jelly:core" + xmlns:assert="assert" + xmlns:u="jelly:util"> <goal name="testPlugin" prereqs="test-eclipse"> </goal> @@ -25,14 +27,8 @@ <delete file="${basedir}/.classpath" failonerror="false"/> <attainGoal name="eclipse"/> - <u:file var="expectedFile" name="${basedir}/.project"/> - <j:if test="${!expectedFile.exists()}"> - <fail>${expectedFile} was not created</fail> - </j:if> + <assert:assertFileExists file="${basedir}/.project" /> + <assert:assertFileExists file="${basedir}/.classpath" /> - <u:file var="expectedFile" name="${basedir}/.classpath"/> - <j:if test="${!expectedFile.exists()}"> - <fail>${expectedFile} was not created</fail> - </j:if> </goal> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]