ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1090340 - in /ant/core/trunk/src: etc/testcases/types/propertyset.xml tests/antunit/types/propertyset-test.xml tests/junit/org/apache/tools/ant/types/PropertySetTest.java
Date Fri, 08 Apr 2011 16:39:51 GMT
Author: mbenson
Date: Fri Apr  8 16:39:50 2011
New Revision: 1090340

URL: http://svn.apache.org/viewvc?rev=1090340&view=rev
Log:
move propertyset test to antunit

Added:
    ant/core/trunk/src/tests/antunit/types/propertyset-test.xml
      - copied, changed from r1089476, ant/core/trunk/src/etc/testcases/types/propertyset.xml
Removed:
    ant/core/trunk/src/etc/testcases/types/propertyset.xml
    ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/PropertySetTest.java

Copied: ant/core/trunk/src/tests/antunit/types/propertyset-test.xml (from r1089476, ant/core/trunk/src/etc/testcases/types/propertyset.xml)
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/propertyset-test.xml?p2=ant/core/trunk/src/tests/antunit/types/propertyset-test.xml&p1=ant/core/trunk/src/etc/testcases/types/propertyset.xml&r1=1089476&r2=1090340&rev=1090340&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/types/propertyset.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/propertyset-test.xml Fri Apr  8 16:39:50 2011
@@ -17,7 +17,11 @@
  *
 -->
 
-<project>
+<project name="test-propertyset" basedir="." default="antunit"
+         xmlns:au="antlib:org.apache.ant.antunit">
+
+  <import file="../antunit-base.xml" />
+
   <property name="fooA" value="FooA"/>
   <property name="barB" value="BarB"/>
 
@@ -48,14 +52,14 @@
     </sequential>
   </macrodef>
 
-  <target name="reference-to-two-references">
+  <target name="test-reference-to-two-references">
     <expect.equals
       test="reference to two references"
       exp="barB=BarB, fooA=FooA"
       got="${toString:my-set}"/>
   </target>
 
-  <target name="nested-mapped">
+  <target name="test-nested-mapped">
     <propertyset id="nested-mapped">
       <propertyset>
         <propertyset refid="properties-starting-with-foo"/>
@@ -72,7 +76,7 @@
       got="${toString:nested-mapped}"/>
   </target>
 
-  <target name="nested-mapped-mapped">
+  <target name="test-nested-mapped-mapped">
     <propertyset id="nested-mapped-mapped">
       <propertyset>
         <propertyset refid="properties-starting-with-foo"/>



Mime
View raw message