Browse Source

track JUnit change in WHATSNEW, bump copyright year, add some Javadocs to new JUnit methods

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@630093 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
92ae184d31
4 changed files with 17 additions and 5 deletions
  1. +1
    -1
      NOTICE
  2. +5
    -3
      WHATSNEW
  3. +10
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  4. +1
    -1
      xdocs/legal.xml

+ 1
- 1
NOTICE View File

@@ -5,7 +5,7 @@
=========================================================================

Apache Ant
Copyright 1999-2006 The Apache Software Foundation
Copyright 1999-2008 The Apache Software Foundation

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).


+ 5
- 3
WHATSNEW View File

@@ -53,9 +53,6 @@ Fixed bugs:
* <touch> task couldn't differentiate between "no resources specified" and "no resources
matched." Bugzilla report 43799.


Other changes:
--------------

@@ -206,6 +203,11 @@ Fixed bugs:
* Regession nested macrodefs with elements could cause StackOverFlow.
Bugzilla 43324.

* Some changes to <junit> broke third party tasks that extend it (like
Apache Cactus' Ant task). The changes have been modified so that
subclases should now work again - without any changes to the
subclass.

Other changes:
--------------



+ 10
- 0
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java View File

@@ -748,6 +748,10 @@ public class JUnitTask extends Task {

/**
* Sets up the delegate that will actually run the tests.
*
* <p>Will be invoked implicitly once the delegate is needed.</p>
*
* @since Ant 1.7.1
*/
protected void setupJUnitDelegate() {
ClassLoader myLoader = JUnitTask.class.getClassLoader();
@@ -1604,6 +1608,12 @@ public class JUnitTask extends Task {

/**
* Removes resources.
*
* <p>Is invoked in {@link #execute execute}. Subclasses that
* don't invoke execute should invoke this method in a finally
* block.</p>
*
* @since Ant 1.7.1
*/
protected void cleanup() {
deleteClassLoader();


+ 1
- 1
xdocs/legal.xml View File

@@ -26,7 +26,7 @@
<section name="Legal Stuff They Make Us Say">

<p>All material on this website is Copyright &#169; 1999-2004,
<p>All material on this website is Copyright &#169; 1999-2008,
The Apache Software Foundation.</p>

<p>Sun, Sun Microsystems, Solaris, Java, JavaServer Web


Loading…
Cancel
Save