incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1366046 - /incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml
Date Thu, 26 Jul 2012 15:24:37 GMT
Author: jlboudart
Date: Thu Jul 26 15:24:37 2012
New Revision: 1366046

URL: http://svn.apache.org/viewvc?rev=1366046&view=rev
Log:
Update clean-std test case

Modified:
    incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml

Modified: incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml?rev=1366046&r1=1366045&r2=1366046&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml (original)
+++ incubator/easyant/plugins/trunk/clean-std/src/test/antunit/clean-std-test.xml Thu Jul
26 15:24:37 2012
@@ -19,10 +19,12 @@
     xmlns:ivy="antlib:org.apache.ivy.ant"
     xmlns:ea="antlib:org.apache.easyant">
     
-    <!-- Import your plugin --> 
-    <property name="skip.corerevision.checker" value="true"/>
     <property name="target" value="target/test-antunit"/>
-    <import file="../../main/resources/clean-std.ant"/>
+    <!-- configure easyant in current project -->
+    <ea:configure-easyant-ivy-instance />
+    <!-- import our local plugin -->
+    <ea:import-test-module moduleIvy="../../../module.ivy" sourceDirectory="../../main/resources"/>
+
     
     <!-- Defines a setUp / tearDown (before each test) that cleans the environnement -->

     <target name="clean" description="remove stale build artifacts before / after each
test">
@@ -37,9 +39,7 @@
     </target>
     <target name="tearDown" depends="clean"/>
     
-    <target name="test-clean-std:clean">
-	<echo>${target}</echo>
-        <antcall target="clean-std:clean"/>
+    <target name="test-clean-std:clean" depends="clean-std:clean">
         <au:assertLogContains level="info" text="Cleaning ${target}..."/>
     </target>
     



Mime
View raw message