From: David S. <ds...@us...> - 2006-11-16 19:17:56
|
Update of /cvsroot/junit/junit In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25645 Modified Files: build.xml README.html .classpath Log Message: - Fixed raw types because Eclipse 3.3 told us to. - No longer dynamically check arrays that are statically typed as objects. - Update documentation to 4.2 Index: build.xml =================================================================== RCS file: /cvsroot/junit/junit/build.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- build.xml 17 Mar 2006 02:41:10 -0000 1.17 +++ build.xml 16 Nov 2006 19:17:42 -0000 1.18 @@ -1,6 +1,6 @@ <project name="junit" default="dist" basedir="."> <property file="${user.home}/.junit.properties" /> - <property name="version" value="4.1" /> + <property name="version" value="4.2" /> <property name="dist" value="junit${version}" /> <property name="versionfile" value="junit/runner/Version.java" /> <property name="zipfile" value="${dist}.zip" /> @@ -37,7 +37,7 @@ </copy> </target> - <target name="dist" depends="build"> + <target name="dist" depends="clean, build"> <delete dir="${dist}" /> <mkdir dir="${dist}" /> <jar Index: README.html =================================================================== RCS file: /cvsroot/junit/junit/README.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- README.html 27 Apr 2006 22:08:57 -0000 1.16 +++ README.html 16 Nov 2006 19:17:42 -0000 1.17 @@ -4,13 +4,13 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="Author" content="Erich Gamma, Kent Beck, and David Saff"> - <title>JUnit 4.1</title> + <title>JUnit 4.2</title> </head> <body> <h1> <b><font color="#00CC00">J</font><font color="#FF0000">U</font><font color="#000000">nit -4.1</b></h1> +4.2</b></h1> <br>Brought to you by <a href="http://www.threeriversinstitute.org">Kent Beck</a>, Erich Gamma, and <a href="http://pag.csail.mit.edu/continuoustesting">David Saff</a>. @@ -20,7 +20,7 @@ <br>(see also <a href="http://www.junit.org">JUnit.org</a>) <hr WIDTH="100%"> -<br>27 April 2006 +<br>16 November 2006 <p>JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. <ul> @@ -43,6 +43,18 @@ </ul> <h2> +<a NAME="Summary of"></a>Summary of Changes with version 4.2</h2> +<p> +<ul> +<li>Bug fix: Inaccessible base class is caught at test construction time. +<li>Bug fix: Circular suites are caught at test construction time. +<li>Improved error messages for array comparison("arrays first differed at element [1][0]") +<li>Test constructors that throw exceptions are reported correctly. +</ul> +</p> + + +<h2> <a NAME="Summary of"></a>Summary of Changes with version 4.1</h2> <p> <ul> @@ -78,13 +90,13 @@ </tr> <tr> -<td><tt>junit-4.1.jar</tt></td> +<td><tt>junit-4.2.jar</tt></td> <td>a jar file with the JUnit framework</td> </tr> <tr> -<td><tt>junit-4.1-src.jar</tt></td> +<td><tt>junit-4.2-src.jar</tt></td> <td>a jar file with the source code of the JUnit framework</td> </tr> @@ -125,20 +137,20 @@ Below are the installation steps for installing JUnit: <ol> <li> -unzip the junit4.1.zip file</li> +unzip the junit4.2.zip file</li> <li> -add<i> </i><b>junit-4.1.jar</b> to the CLASSPATH. For example: -<tt> set classpath=%classpath%;INSTALL_DIR\junit-4.1.jar;INSTALL_DIR</tt></li> +add<i> </i><b>junit-4.2.jar</b> to the CLASSPATH. For example: +<tt> set classpath=%classpath%;INSTALL_DIR\junit-4.2.jar;INSTALL_DIR</tt></li> <li> test the installation by running <tt>java org.junit.runner.JUnitCore org.junit.tests.AllTests.</tt></li> <br><b><font color="#FF0000">Notice</font></b>: that the tests are not -contained in the junit-4.1.jar but in the installation directory directly. +contained in the junit-4.2.jar but in the installation directory directly. Therefore make sure that the installation directory is on the class path </ol> -<b><font color="#FF0000">Important</font></b>: don't install junit-4.1.jar +<b><font color="#FF0000">Important</font></b>: don't install junit-4.2.jar into the extension directory of your JDK installation. If you do so the test class on the files system will not be found. <h2> Index: .classpath =================================================================== RCS file: /cvsroot/junit/junit/.classpath,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- .classpath 30 Sep 2006 00:35:00 -0000 1.6 +++ .classpath 16 Nov 2006 19:17:42 -0000 1.7 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry excluding="bin/|doc/|junit4.0*/**|junit4.1*/**" kind="src" path=""/> + <classpathentry excluding="bin/|doc/|junit4.*/**" kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath> |