blob: abcde75344a203a84cfa58dffbee1c23531b1313 [file] [log] [blame]
<html>
<!--
NO NO NO NO NO!
==============> DO NOT EDIT ME! <======================
AUTOMATICALLY GENERATED FROM APICHANGES.XML, DO NOT EDIT
SEE xml/api/doc/changes/apichanges.xml
-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JUnit API changes by date</title>
<link rel="stylesheet" href="prose.css" type="text/css">
</head>
<body>
<p class="overviewlink">
<a href="overview-summary.html" shape="rect">Overview</a>
</p>
<h1>Introduction</h1>
<p>This document lists changes made to the JUnit APIs. Please ask on the
<code>dev@junit.netbeans.org</code> or <code>nbdev@netbeans.org</code>
mailing list if you have any questions about the details of a
change, or are wondering how to convert existing code to be compatible.</p>
<hr>
<h1>
<a name="list-all-apis">Index of APIs</a>
</h1>
<ul>
<li>
<a href="#junit-plugin">JUnit Plugin SPI</a>
</li>
</ul>
<h1>
<a name="incompat-by-date">Incompatible changes by date</a>
</h1>
<p>Fuller descriptions of all changes can be found below (follow links).</p>
<p>Not all deprecations are listed here, assuming that the deprecated
APIs continue to essentially work. For a full deprecation list, please
consult the
<a href="deprecated-list.html">Javadoc</a>.</p>
<ul></ul>
<h1>
<a name="all-by-date">All changes by date</a>
</h1>
<ul>
<li>(Mar 16 '07) <a href="#issue-72819">Added enum members
INC_CLASS_SETUP and INC_CLASS_TEARDOWN</a>
</li>
<li>(Apr 7 '06) <a href="#issue-74160">Added SPI for JUnit plugins</a>
</li>
</ul>
<h1>
<a name="all-by-version">Changes by version</a>
</h1>
<p>
These API specification versions may be used to indicate that a module
requires a certain API feature in order to function. For example, if you
see here a feature you need which is labelled <samp>1.20</samp>, your
manifest should contain in its main attributes the line:
</p>
<pre>OpenIDE-Module-Module-Dependencies: org.netbeans.modules.junit/2 &gt; 1.20</pre>
<ul>
<li>
(2.23) <a href="#issue-72819">Added enum members
INC_CLASS_SETUP and INC_CLASS_TEARDOWN</a>
</li>
<li>
(2.21) <a href="#issue-74160">Added SPI for JUnit plugins</a>
</li>
</ul>
<h1>
<a name="all-by-class">Changes by affected class</a>
</h1>
<h2>
<a name="org.netbeans.modules.junit.plugin.JUnitPlugin"><code><span style="color:gray">org.netbeans.modules.junit.plugin.</span>JUnitPlugin</code></a>
</h2><ul><li>(Mar 16 '07) <a href="#issue-72819">Added enum members
INC_CLASS_SETUP and INC_CLASS_TEARDOWN</a>
</li>
<li>(Apr 7 '06) <a href="#issue-74160">Added SPI for JUnit plugins</a>
</li></ul><hr>
<h1>
<a name="details-by-api">Details of all changes by API and date</a>
</h1>
<hr style="width:50%">
<h2>
<a name="junit-plugin">JUnit Plugin SPI</a>
</h2>
<!-- AUTOMATICALLY GENERATED - DO NOT EDIT ME! -->
<h3>
<a name="issue-72819">Added enum members
INC_CLASS_SETUP and INC_CLASS_TEARDOWN</a>
</h3>
<em>Mar 16 '07; API spec. version: 2.23; affected top-level classes: <a href="./org/netbeans/modules/junit/plugin/JUnitPlugin.html"><code>JUnitPlugin</code></a>; made by: mpetras; issues: <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=72819">
#72819</a></em>
<br>
<p>
Added members <code>INC_CLASS_SETUP</code> and
<code>INC_CLASS_TEARDOWN</code>
to enum <code>JUnitPlugin.CreateTestParam</code>.
Added method
<code>createTestActionCalled(FileObject[])</code>
to class <code>JUnitPlugin</code>.
</p>
<!-- AUTOMATICALLY GENERATED - DO NOT EDIT ME! -->
<h3>
<a name="issue-74160">Added SPI for JUnit plugins</a>
</h3>
<em>Apr 7 '06; API spec. version: 2.21; affected top-level classes: <a href="./org/netbeans/modules/junit/plugin/JUnitPlugin.html"><code>JUnitPlugin</code></a>; made by: mpetras; issues: <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=74160">
#74160</a> <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=42349">
#42349</a></em>
<br>
<p>
Introduced new SPI - abstract class <code>JUnitPlugin</code> (with a nested
enum <code>CreateTestParam</code> and a nested final class <code>Location</code>).
Introduced to allow non-J2SE projects to plug in their own implementation
of JUnit support, i.e.:
</p>
<ul>
<li>jumping to a test for the current class/method and back</li>
<li>generating of test skeletons</li>
</ul>
<hr>
<p><span class="footnote">Built on September 14 2018.&nbsp;&nbsp;|&nbsp;&nbsp; Copyright &#169; 2017-2018 Apache Software Foundation. All Rights Reserved.</span></p>
</body>
</html>