Browse files

3.8 clean-up

  • Loading branch information...
1 parent 039f6e8 commit ebe724e4b925fca5c9aeb6f7e282a5f0ae132232 egamma committed Aug 23, 2002
@@ -2,20 +2,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
+ <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="Author" content="Erich Gamma & Kent Beck">
- <title>JUnit 3.7</title>
+ <title>JUnit 3.8</title>
<b><font color="#00CC00">J</font><font color="#FF0000">U</font><font color="#000000">nit
-</font><font color="#808080">@</font><font color="#000000">&nbsp;</font></b><!--webbot bot="HTMLMarkup" startspan --><a href=""><img SRC="sflogo.php" ALT="SourceForge Logo" BORDER=0 height=31 width=88></a><!--webbot
-bot="HTMLMarkup" endspan --></h1>
<hr WIDTH="100%">
<p>JUnit is a simple framework to write repeatable tests. It is an instance
of the xUnit architecture for unit testing frameworks.
@@ -36,7 +34,123 @@
-<a NAME="Summary of"></a>Summary of Changes between 3.6 and 3.7</h2>
+<a NAME="Summary of"></a>Summary of Changes between 3.7 and 3.8</h2>
+Made the string argument TestCase constructor optional. You can now delete
+constructors of the form &quot;FooTestCase(String name) { super(name); }&quot;.</li>
+Deleted deprecated assert(boolean) in favor of assertTrue(boolean) and
+assertFalse(boolean). To migrate to JUnit 3.8, rename calls to assert(boolean)
+to call assertTrue(boolean).</li>
+Added assertFalse() to avoid the difficult of reading the assertTrue(!
+Added assertNotSame(Object, Object).</li>
+Deleted deprecated in favor of TestCase.getName().</li>
+Deleted deprecated package junit.ui in favor of junit.awtui.</li>
+Test Runner</h3>
+When you compare two long strings with a small delta embedded in the middle, it
+is hard to spot the difference. In 3.8, when you call assertEquals(String,
+String), only the differences between the strings are displayed. The common
+prefix and suffix are replaced with &quot;...&quot;.</li>
+Added initial version of a TestRunListener attached to TestRunners which
+eventually will replace TestListeners attached to the TestResult.</li>
+Filled in ActiveTestSuite constructors.</li>
+Added these packages to the<font SIZE="2">
+ <li>org.w3c.dom.*</li>
+ <li>org.xml.sax.*</li>
+ <li>net.jini.*</li>
+<li>Extracted textual formatting of a TestResult from junit.textui.TestRunner
+ into ResultPrinter.</li>
+ <li>Much improved <a href="doc/faq/faq.htm">FAQ</a> thanks to Mike Clark.</li>
+<h3>Closed Bugs</h3>
+ <li><a href=";aid=583346&amp;group_id=15278&amp;atid=115278">Class
+ loader problem</a></li>
+ <li><a href=";aid=551239&amp;group_id=15278&amp;atid=115278">Cookbook
+ Simple Test Case problems</a></li>
+ <li><a href=";aid=539015&amp;group_id=15278&amp;atid=115278">License
+ not included in source</a></li>
+ <li><a href=";aid=560081&amp;group_id=15278&amp;atid=115278">assert
+ is a keyword</a></li>
+ <li><a href=";aid=572444&amp;group_id=15278&amp;atid=115278">javadoc
+ returns mysterious message</a></li>
+ <li><a href=";aid=581251&amp;group_id=15278&amp;atid=115278">swingui
+ CounterPanel values disappear</a></li>
+ <li><a href=";aid=574641&amp;group_id=15278&amp;atid=115278">TestCase
+ javadoc incorrect example</a></li>
+ <li><a href=";aid=582784&amp;group_id=15278&amp;atid=115278">silly
+ cookbook error</a></li>
+ <li><a href=";aid=583328&amp;group_id=15278&amp;atid=115278">junit
+ properties missfunction</a></li>
+ <li><a href=";aid=595957&amp;group_id=15278&amp;atid=115278">
+ is not Serializable</a></li>
+ <li><a href=";aid=598200&amp;group_id=15278&amp;atid=115278">JUnit
+ not setting ClassLoader`</a></li>
+ <li><a href=";aid=592713&amp;group_id=15278&amp;atid=115278">NullPointerException
+ when loading suite</a></li>
+ <li><a href=";aid=544683&amp;group_id=15278&amp;atid=115278">labels
+ for bug counts too small in Swing</a></li>
+ <li><a href=";aid=537502&amp;group_id=15278&amp;atid=115278">Swing
+ TestRunner layout shifts</a></li>
+ <li><a href=";aid=528868&amp;group_id=15278&amp;atid=115278">Exit
+ code problem for cygwin/w2k</a></li>
+ <li><a href=";aid=529953&amp;group_id=15278&amp;atid=115278">Automatic
+ reload causes strange errors</a></li>
+ <li><a href=";aid=532952&amp;group_id=15278&amp;atid=115278">TestRunner
+ fails with swing/awtui</a></li>
+ <li><a href=";aid=533411&amp;group_id=15278&amp;atid=115278">CVS
+ version doesn't build on NetBSD</a></li>
+ <li><a href=";aid=520210&amp;group_id=15278&amp;atid=115278">NullPointerException
+ JUnit sample w/ Ant</a></li>
+ <li><a href=";aid=527511&amp;group_id=15278&amp;atid=115278">money
+ sample bug</a></li>
+ <li><a href=";aid=491981&amp;group_id=15278&amp;atid=115278">incomplete
+ message from failNotSame()</a></li>
+ <li><a href=";aid=471577&amp;group_id=15278&amp;atid=115278">Icons
+ on systems with 64 colors exceptio</a></li>
+ <li><a href=";aid=470324&amp;group_id=15278&amp;atid=115278">1000+
+ tests, swing gui doesn't display</a></li>
+ <li><a href=";aid=442752&amp;group_id=15278&amp;atid=115278">test
+ selector included incorrect classes</a></li>
+ <li><a href=";aid=430974&amp;group_id=15278&amp;atid=115278">No
+ UI update when re-run methods fail</a></li>
+Summary of Changes between 3.6 and 3.7</h2>
@@ -433,7 +547,9 @@
<br>&nbsp;&nbsp;&nbsp; Some frequently asked questions about using JUnit.
<br><a href="doc/JUnitProperties.html">TestRunner Preference settings</a>
<br>&nbsp;&nbsp;&nbsp; Describes the preferences settings that can be configured
-for the JUnit TestRunners.</blockquote>
+for the JUnit TestRunners.<br>
+ <a href="cpl-v10.html">License</a>
+<br>&nbsp;&nbsp;&nbsp; The terms of the common public license used for JUnit.</blockquote>
<a NAME="Extending"></a>Extending JUnit</h2>
@@ -462,5 +578,9 @@
<hr WIDTH="100%">
+<!--webbot bot="HTMLMarkup" startspan --><a href=""><IMG
+ src=""
+ width="88" height="31" border="0" alt="SourceForge Logo"></a><!--webbot
+bot="HTMLMarkup" endspan -->
@@ -2,7 +2,7 @@
<project name="junit" default="dist" basedir=".">
<property file="${user.home}/" />
<property name="build.compiler" value="classic" />
- <property name="version" value="3.7" />
+ <property name="version" value="3.8" />
<property name="dist" value="junit${version}" />
<property name="versionfile" value="junit/runner/" />
<property name="zipfile" value="${dist}.zip" />
@@ -34,12 +34,12 @@
- excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, .classpath, .vcm_meta"
+ excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, .classpath, .project, cpl-v10.html"
- excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, build.xml, jar-manifest.txt, .classpath, .vcm_meta"
+ excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, build.xml, jar-manifest.txt, .classpath, .project, cpl-v10.html"
<copy todir="${dist}/junit/samples">
<fileset dir="junit/samples" />
@@ -70,6 +70,7 @@
<fileset dir="doc"/>
<copy file="README.html" tofile="${dist}/README.html" />
+ <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html" />
<java classname="junit.textui.TestRunner" fork="yes">
<arg value="junit.samples.AllTests" />
Oops, something went wrong.

0 comments on commit ebe724e

Please sign in to comment.