Browse Source

Testlet is dead

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274014 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
ab271c2c60
4 changed files with 14 additions and 6 deletions
  1. +3
    -1
      docs/manual/OptionalTasks/test.html
  2. +4
    -2
      docs/manual/install.html
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Expand.java
  4. +6
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/Test.java

+ 3
- 1
docs/manual/OptionalTasks/test.html View File

@@ -10,6 +10,8 @@
<h2><a name="test">Test</a></h2>
<h3>Description</h3>
<p>This is a primitive task to execute a unit test in the org.apache.testlet framework.</p>
<p><strong>This task is deprectated as the Testlet framework has been
abandoned in favor of JUnit by the Avalon community.</strong></p>
<p><strong>Note:</strong> This task depends on external libraries not included
in the Ant distribution. See <a href="../install.html#librarydependencies">
Library Dependencies</a> for more information.
@@ -68,7 +70,7 @@ which has content that specifies tasklet classname.</p>
The above will run the testlets org.foo.MyTestlet and org.foo.MyOtherTestlet

<hr>
<p align="center">Copyright &copy; 2001-2002 Apache Software Foundation. All rights
<p align="center">Copyright &copy; 2001-2003 Apache Software Foundation. All rights
Reserved.</p>

</body>


+ 4
- 2
docs/manual/install.html View File

@@ -320,8 +320,10 @@ Installing Ant / Optional Tasks</a> section above.</p>
</tr>
<tr>
<td>testlet.jar</td>
<td>test task</td>
<td><a href="http://java.apache.org/framework" target="_top">java.apache.org/framework</a></td>
<td><strong>deprecated</strong> test task</td>
<td>Build from the gzip compress tar archive in <a
href="http://cvs.apache.org/viewcvs.cgi/avalon-site/graveyard/"
target="_top">http://cvs.apache.org/viewcvs.cgi/avalon-site/graveyard/</a></td>
</tr>
<tr>
<td>antlr.jar</td>


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Expand.java View File

@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without


+ 6
- 2
src/main/org/apache/tools/ant/taskdefs/optional/Test.java View File

@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000,2002 The Apache Software Foundation. All rights
* Copyright (c) 2000,2002-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -58,8 +58,12 @@ import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.taskdefs.Java;

/**
* This is a primitive task to execute a unit test in the org.apache.testlet framework.
* This is a primitive task to execute a unit test in the
* org.apache.testlet framework.
*
* @deprecated testlet has been abandoned in favor of JUnit by the
* Avalon community
*
* @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
* @ant.task ignore="true"
*/


Loading…
Cancel
Save