Browse Source

JUnit 3.8.2 bugfix update.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@431469 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 19 years ago
parent
commit
5db007f358
7 changed files with 6 additions and 6 deletions
  1. +1
    -1
      docs/manual/OptionalTasks/junit.html
  2. +2
    -2
      docs/manual/tutorial-HelloWorldWithAnt.html
  3. +1
    -1
      lib/libraries.properties
  4. +1
    -1
      lib/optional/README
  5. BIN
      lib/optional/junit-3.8.1.jar
  6. BIN
      lib/optional/junit-3.8.2.jar
  7. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

+ 1
- 1
docs/manual/OptionalTasks/junit.html View File

@@ -11,7 +11,7 @@
<p>This task runs tests from the JUnit testing framework. The latest
version of the framework can be found at
<a href="http://www.junit.org">http://www.junit.org</a>.
This task has been tested with JUnit 3.0 up to JUnit 3.8.1; it won't
This task has been tested with JUnit 3.0 up to JUnit 3.8.2; it won't
work with versions prior to JUnit 3.0. It also works with JUnit 4.0, including
"pure" JUnit 4 tests using only annotations and no <code>JUnit4TestAdapter</code>.</p>
<p><strong>Note:</strong> This task depends on external libraries not included


+ 2
- 2
docs/manual/tutorial-HelloWorldWithAnt.html View File

@@ -383,7 +383,7 @@ start the application from that directory and these files will included into the
<a name="junit">
<h2>Testing the class</h2>
<p>In this step we will introduce the usage of the JUnit [3] testframework in combination with Ant. Because Ant
has a build-in JUnit 3.8.1 you could start directly using it. Write a test class in <tt>src\HelloWorldTest.java</tt>: </p>
has a built-in JUnit 3.8.2 you could start directly using it. Write a test class in <tt>src\HelloWorldTest.java</tt>: </p>

<pre class="code">
public class HelloWorldTest extends junit.framework.TestCase {
@@ -506,4 +506,4 @@ need the HTML report just for testing, e.g. if you are fixing an error or a inte
<p align="center">Copyright &copy; 2005-2006 The Apache Software Foundation. All rights Reserved.</p>

</body>
</html>
</html>

+ 1
- 1
lib/libraries.properties View File

@@ -24,7 +24,7 @@ commons-logging.version=1.0.4
commons-logging-api.version=${commons-logging.version}
jdepend.version=2.7
jruby.version=0.8.3
junit.version=3.8.1
junit.version=3.8.2
jsch.version=0.1.25
jython.version=2.1
log4j.version=1.2.13


+ 1
- 1
lib/optional/README View File

@@ -1,3 +1,3 @@
The file junit-3.8.1.jar is version 3.8.1 of JUnit, see the file LICENSE.junit
The file junit-3.8.2.jar is version 3.8.2 of JUnit, see the file LICENSE.junit
for the terms of distribution. For more information about JUnit or
the latest release, see <http://www.junit.org/>.

BIN
lib/optional/junit-3.8.1.jar View File


BIN
lib/optional/junit-3.8.2.jar View File


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java View File

@@ -303,7 +303,7 @@ public class JUnitTestRunner implements TestListener, JUnitTaskMirror.JUnitTestR
// Check for JDK 5 first. Will *not* help on JDK 1.4
// if only junit-4.0.jar in CP because in that case
// linkage of whole task will already have failed! But
// will help if CP has junit-3.8.1.jar:junit-4.0.jar.
// will help if CP has junit-3.8.2.jar:junit-4.0.jar.

// In that case first C.fN will fail with CNFE and we
// will avoid UnsupportedClassVersionError.


Loading…
Cancel
Save