ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/make sample.ant primitive-tests.ant
Date Mon, 28 Jan 2002 00:58:34 GMT
donaldp     02/01/27 16:58:34

  Modified:    proposal/myrmidon/src/manifest selftest-ant-descriptor.xml
               proposal/myrmidon/src/make sample.ant primitive-tests.ant
  Removed:     proposal/myrmidon/src/java/org/apache/antlib/selftest
                        SubElementTest.java ContentTest.java
                        ConfigurationTest.java
  Log:
  Remove test tasks that are no longer relevent given new unit test infrastructure
  
  Revision  Changes    Path
  1.8       +0 -4      jakarta-ant/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml
  
  Index: selftest-ant-descriptor.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/manifest/selftest-ant-descriptor.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- selftest-ant-descriptor.xml	28 Jan 2002 00:50:05 -0000	1.7
  +++ selftest-ant-descriptor.xml	28 Jan 2002 00:58:33 -0000	1.8
  @@ -2,10 +2,6 @@
     <types>
       <!-- tasks to test operation of engine -->
       <task name="prim-test" classname="org.apache.antlib.selftest.PrimitiveTypesTest"
/>
  -    <task name="sub-elements-test" classname="org.apache.antlib.selftest.SubElementTest"
/>
  -    <task name="conf-test" classname="org.apache.antlib.selftest.ConfigurationTest"
/>
  -    <task name="content-test" classname="org.apache.antlib.selftest.ContentTest" />
  -    <task name="file-manip-test" classname="org.apache.antlib.selftest.FileManipulationTest"
/>
       <task name="extensions-test" classname="org.apache.antlib.selftest.ExtensionsTest"
/>
     </types>
   </ant-lib>
  
  
  
  1.27      +2 -2      jakarta-ant/proposal/myrmidon/src/make/sample.ant
  
  Index: sample.ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/sample.ant,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- sample.ant	27 Jan 2002 23:42:34 -0000	1.26
  +++ sample.ant	28 Jan 2002 00:58:33 -0000	1.27
  @@ -23,8 +23,8 @@
     <target name="main"
             depends="typedef-test, converterdef-test,
                      datatype-test, namespace-test,
  -                   ant1-tasklib-test, prim->file-manip,
  -                   prim->extensions-test, prim->typed-adder-test" />
  +                   ant1-tasklib-test,
  +                   prim->extensions-test" />
   
     <target name="xp-deployer-test" depends="typedef-test, prim->undefined-task" />
   
  
  
  
  1.9       +2 -30     jakarta-ant/proposal/myrmidon/src/make/primitive-tests.ant
  
  Index: primitive-tests.ant
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/make/primitive-tests.ant,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- primitive-tests.ant	27 Jan 2002 23:42:15 -0000	1.8
  +++ primitive-tests.ant	28 Jan 2002 00:58:34 -0000	1.9
  @@ -20,28 +20,14 @@
   
     <property name="year" value="2000"/>
   
  -  <target name="main" depends="test-target" />
  -
  -  <target name="file-manip">
  -    <!--
  -    <file-manip-test base-directory=".">
  -      <source>
  -        <include value="**/*.java" />
  -      </source>
  -    </file-manip-test>
  -    -->
  -  </target>
  +  <target name="main" depends="extensions-test" />
   
     <target name="undefined-task">
       <log message="About to execute task that hasn't been defined"/>
       <log2 message="This should have failed"/>
     </target>
   
  -  <target name="no-test-target" if="no-do-tests">
  -    <log message="No tests done here"/>
  -  </target>
  -
  -  <target name="test-target" depends="no-test-target,extensions-test" unless="no-do-tests">
  +  <target name="prim-tests">
   
       <log message="Tests away"/>
   
  @@ -60,24 +46,10 @@
           double="3.0"
           double2="4.0" />
   
  -    <sub-elements-test>
  -      <create-beep message="A string" />
  -      <add-beep message="Another String" />
  -    </sub-elements-test>
  -
  -    <conf-test message="..." />
  -
  -    <content-test>123</content-test>
  -
     </target>
   
     <target name="extensions-test">
       <extensions-test/>
  -  </target>
  -
  -  <target name="typed-adder-test">
  -    <log message="About to execute typed-adder-test"/>
  -    <typed-adder-test/>
     </target>
   
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message