incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1373123 - in /incubator/easyant/plugins/trunk/offline/src/test/antunit: offline-test.xml sample-module.ivy
Date Tue, 14 Aug 2012 21:23:30 GMT
Author: jlboudart
Date: Tue Aug 14 21:23:29 2012
New Revision: 1373123

URL: http://svn.apache.org/viewvc?rev=1373123&view=rev
Log:
Improving offline plugin's test

Modified:
    incubator/easyant/plugins/trunk/offline/src/test/antunit/offline-test.xml
    incubator/easyant/plugins/trunk/offline/src/test/antunit/sample-module.ivy

Modified: incubator/easyant/plugins/trunk/offline/src/test/antunit/offline-test.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/offline/src/test/antunit/offline-test.xml?rev=1373123&r1=1373122&r2=1373123&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/offline/src/test/antunit/offline-test.xml (original)
+++ incubator/easyant/plugins/trunk/offline/src/test/antunit/offline-test.xml Tue Aug 14 21:23:29
2012
@@ -28,10 +28,12 @@
    
     <!-- Defines a setUp / tearDown (before each test) that cleans the environnement -->

     <target name="clean" description="remove stale build artifacts before / after each
test">
+<!--
         <delete dir="${basedir}" includeemptydirs="true">
             <include name="**/target/**"/>
             <include name="**/lib/**"/>
         </delete>
+-->
     </target>
     
     <target name="setUp" depends="clean">
@@ -53,16 +55,26 @@
         <!--TODO: check if buildscope repository are registered -->
         <au:assertLogContains text=":: installing junit#junit;4.4 ::" />
         <au:assertLogContains text=":: installing in project.buildscope.repository ::"
/>
-        <au:assertLogContains text=":: installing org.apache.easyant.plugins#abstract-test;0.9
::" />
         <au:assertLogContains text=":: installing in easyant.buildscope.repository ::"
/>
-        <au:assertLogContains text=":: installing org.apache.easyant.plugins#antunit;0.9
::" />
+        <au:assertLogContains text=":: installing org.apache.easyant.plugins#rat;0.9 ::"
/>
+<!--
+        <au:assertLogContains text=":: installing org.apache.rat#apache-rat-tasks;0.7
::" />
+-->
 
         <property name="ea.repo" value="${target}/repository/easyant.buildscope.repository"/>
         <property name="project.repo" value="${target}/repository/project.buildscope.repository"/>
+        <au:assertLogContains text="Registering build scope repository : ${easyant.buildscope.resolver}
in ${ea.repo}" level="debug"/>
+        <au:assertLogContains text="Registering build scope repository : ${project.buildscope.resolver}
in ${project.repo}" level="debug"/>
+        <au:assertLogContains text="${easyant.buildscope.resolver} registration succeeded"
level="debug"/>
+        <au:assertLogContains text="${project.buildscope.resolver} registration succeeded"
level="debug"/>
         <au:assertFileExists file="${ea.repo}"/>
         <au:assertFileExists file="${project.repo}"/>
-        <au:assertFileExists file="${ea.repo}/org.apache.easyant.plugins/antunit/0.9/antunit.ant"/>
-        <au:assertFileExists file="${ea.repo}/org.apache.easyant.plugins/antunit/0.9/antunit.ivy"/>
+        <au:assertFileExists file="${ea.repo}/org.apache.easyant.plugins/rat/0.9/rat.ant"/>
+        <au:assertFileExists file="${ea.repo}/org.apache.easyant.plugins/rat/0.9/rat.ivy"/>
+<!--
+        <au:assertFileExists file="${ea.repo}/org.apache.rat/apache-rat-tasks/0.7/rat.jar"/>
+        <au:assertFileExists file="${ea.repo}/org.apache.rat/apache-rat-tasks/0.7/rat.ivy"/>
+-->
         <au:assertFileExists file="${project.repo}/junit/junit/4.4/junit.ivy"/>
         <au:assertFileExists file="${project.repo}/junit/junit/4.4/junit.jar"/>
     </target>

Modified: incubator/easyant/plugins/trunk/offline/src/test/antunit/sample-module.ivy
URL: http://svn.apache.org/viewvc/incubator/easyant/plugins/trunk/offline/src/test/antunit/sample-module.ivy?rev=1373123&r1=1373122&r2=1373123&view=diff
==============================================================================
--- incubator/easyant/plugins/trunk/offline/src/test/antunit/sample-module.ivy (original)
+++ incubator/easyant/plugins/trunk/offline/src/test/antunit/sample-module.ivy Tue Aug 14
21:23:29 2012
@@ -17,7 +17,7 @@
 -->
 <ivy-module version="2.0" xmlns:ea="http://www.easyant.org"> 
     <info organisation="org.apache.easyant" module="standard-java-app" revision="0.1"
status="integration">
-        <ea:plugin module="antunit" revision="0.9"/>
+        <ea:plugin module="rat" revision="0.9"/>
     </info>
     <dependencies> 
         <dependency org="junit" name="junit" rev="4.4"/>



Mime
View raw message