Use assert taglib for plugin tests
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
eca727336d
commit
190f1a748c
2 files changed
+6
-9
No files matched your search
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user