Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Commit

Permalink
Update docs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
CharliePoole committed Dec 17, 2014
1 parent a3cc78e commit 1c5c6f1
Show file tree
Hide file tree
Showing 117 changed files with 4,553 additions and 3,397 deletions.
53 changes: 27 additions & 26 deletions doc/actionAttributes.html
Expand Up @@ -16,9 +16,9 @@
<!-- Standard Header for NUnit.org -->
<div id="header">
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
<div id="nav">
<a href="http://www.nunit.org">NUnit</a>
<a class="active" href="index.html">Documentation</a>
<div id="nav">
<a href="http://www.nunit.org">NUnit</a>
<a class="active" href="index.html">Documentation</a>
</div>
</div>
<!-- End of Header -->
Expand Down Expand Up @@ -57,7 +57,7 @@ <h3>Resolving the Problem</h3>

<p><b>Action Attributes</b> get us out of our bind. Consider this example:

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[TestFixture, ResetServiceLocator]
public class MyTests
{
Expand Down Expand Up @@ -93,7 +93,7 @@ <h3>Implementing an Action Attribute</h3>
<p>Action attributes are defined by the programmer. They implement the <b>ITestAction</b>
interface, which is defined as follows:

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
public interface ITestAction
{
void BeforeTest(TestDetails details);
Expand All @@ -108,7 +108,7 @@ <h3>Implementing an Action Attribute</h3>
an abstract class with virtual implementations of each member of the interface. Alternatively, you
may derive from <b>System.Attribute</b> and implement the interface directly.

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[Flags]
public enum ActionTargets
{
Expand Down Expand Up @@ -158,7 +158,7 @@ <h3>Examples</h3>

<p>The examples that follow all use the following sample Action Attribute:

<div class="code" style="width: 44em"><pre>
<div class="code" style="width: 44em"><pre class="prettyprint">
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class |
AttributeTargets.Interface | AttributeTargets.Assembly,
AllowMultiple = true)]
Expand Down Expand Up @@ -206,7 +206,7 @@ <h3>Method Attached Actions</h3>

<h4>Example 1 (applied to simple test method):</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[TestFixture]
public class ActionAttributeSampleTests
{
Expand All @@ -219,15 +219,15 @@ <h4>Example 1 (applied to simple test method):</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Case: Hello, from ActionAttributeSampleTests.SimpleTest.
Test ran.
After Case: Hello, from ActionAttributeSampleTests.SimpleTest.
</pre>

<h4>Example 2 (applied action twice to test method):</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[TestFixture]
public class ActionAttributeSampleTests
{
Expand All @@ -241,7 +241,7 @@ <h4>Example 2 (applied action twice to test method):</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Case: Greetings, from ActionAttributeSampleTests.SimpleTest.
Before Case: Hello, from ActionAttributeSampleTests.SimpleTest.
Test run.
Expand All @@ -256,7 +256,7 @@ <h5>Remarks</h5>

<h4>Example 3 (applied to a test method with test cases):</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[TestFixture]
public class ActionAttributeSampleTests
{
Expand All @@ -271,7 +271,7 @@ <h4>Example 3 (applied to a test method with test cases):</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Suite: Hello, from ActionAttributeSampleTests.SimpleTest.
Before Case: Hello, from ActionAttributeSampleTests.SimpleTest.
Test run 01.
Expand All @@ -292,7 +292,7 @@ <h3>Type Attached Actions</h3>

<h4>Example 1:</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[TestFixture] [ConsoleAction("Hello")]
public class ActionAttributeSampleTests
{
Expand All @@ -311,7 +311,7 @@ <h4>Example 1:</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Suite: Hello, from ActionAttributeSampleTests.{no method}.
Before Case: Hello, from ActionAttributeSampleTests.SimpleTestOne.
Test ran.
Expand All @@ -327,7 +327,7 @@ <h5>Remarks</h5>

<h4>Example 2 (attached to interface):</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[ConsoleAction("Hello")]
public interface IHaveAnAction
{
Expand All @@ -345,7 +345,7 @@ <h4>Example 2 (attached to interface):</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Suite: Hello, from ActionAttributeSampleTests.{no method}.
Before Case: Hello, from ActionAttributeSampleTests.SimpleTest.
Test run.
Expand All @@ -358,7 +358,7 @@ <h5>Remarks</h5>

<h4>Example 3 (action attribute is applied to interface and attribute uses interface to provide data to tests):</h4>

<div class="code" style="width: 42em"><pre>
<div class="code" style="width: 42em"><pre class="prettyprint">
[AttributeUsage(AttributeTargets.Interface)]
public class InterfaceAwareActionAttribute : TestActionAttribute
{
Expand Down Expand Up @@ -396,7 +396,7 @@ <h4>Example 3 (action attribute is applied to interface and attribute uses inter
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Hello, World!
</pre>

Expand All @@ -410,7 +410,7 @@ <h3>Assembly Attached Action</h3>

<h4>Example 1:</h4>

<div class="code"><pre>
<div class="code"><pre class="prettyprint">
[assembly: ConsoleAction("Hello")]

[TestFixture]
Expand All @@ -425,7 +425,7 @@ <h4>Example 1:</h4>
</pre></div>

<h5>Console Output:</h5>
<pre>
<pre class="prettyprint">
Before Suite: Hello, from {no fixture}.{no method}.
Before Case: Hello, from ActionAttributeSampleTests.SimpleTest.
Test run.
Expand All @@ -441,7 +441,7 @@ <h5>Remarks</h5>
<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="index.html">NUnit 2.6.3</a></li>
<li><a href="index.html">NUnit 2.6.4</a></li>
<ul>
<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
<li><a href="writingTests.html">Writing&nbsp;Tests</a></li>
Expand Down Expand Up @@ -500,18 +500,19 @@ <h5>Remarks</h5>
<li><a href="vsTestAdapterLicense.html">License</a></li>
<li><a href="vsTestAdapterReleaseNotes.html">Release&nbsp;Notes</a></li>
</ul>
<li><a href="&r=2.6.3.html"></a></li>
<li><a href="&r=2.6.3.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
</ul>
</div>
<!-- End of Submenu -->


<!-- Standard Footer for NUnit.org -->
<!-- public_html/nunit/footer.php -->
<div id="footer">
Copyright &copy; 2012 Charlie Poole. All Rights Reserved.
Copyright &copy; 2002-2014 NUnit.org. All Rights Reserved.
</div>
<!-- End of Footer -->

<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"></script>
</body>
</html>
117 changes: 117 additions & 0 deletions doc/addinsDialog.html
@@ -0,0 +1,117 @@
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - AddinsDialog</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<meta name="norton-safeweb-site-verification" content="tb6xj01p4hgo5x-8wscsmq633y11-e6nhk-bnb5d987bseanyp6p0uew-pec8j963qlzj32k5x9h3r2q7wh-vmy8bbhek5lnpp5w4p8hocouuq39e09jrkihdtaeknua" />
<link rel="stylesheet" type="text/css" href="nunit.css">
<link rel="shortcut icon" href="favicon.ico">
</head>
<!-- End Standard Head Part -->

<body>

<!-- Standard Header for NUnit.org -->
<div id="header">
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
<div id="nav">
<a href="http://www.nunit.org">NUnit</a>
<a class="active" href="index.html">Documentation</a>
</div>
</div>
<!-- End of Header -->

<div id="content">

<h2>Addins Dialog</h2>

<p>The Addins Dialog is displayed using the Tools | Addins menu item on the main
menu. It lists all addins that have been found and loaded by NUnit.</p>

<div class="screenshot-right">
<img src="img/addinsDialog.jpg"></div>

<h3>Addin</h3>

<p>This column lists the name of the addin, as defined by its author.

<h3>Status</h3>

<p>This column shows the status of each addin. Possible values are
<ul>
<li>Unknown
<li>Enabled
<li>Disabled
<li>Loaded
<li>Error
</ul>

<h3>Description</h3>

<p>If the author of an addin has provided a description, it is
shown here when the addin is selected.

<h3>Message</h3>

<p>If the addin failed to load, its status will be shown as Error
and any error message displayed here when that addin is selected.

</div>

<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="index.html">NUnit 2.6.4</a></li>
<ul>
<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
<li><a href="writingTests.html">Writing&nbsp;Tests</a></li>
<li><a href="runningTests.html">Running&nbsp;Tests</a></li>
<ul>
<li><a href="nunit-console.html">Console&nbsp;Runner</a></li>
<li><a href="nunit-gui.html">Gui&nbsp;Runner</a></li>
<ul>
<li><a href="guiCommandLine.html">Command-Line</a></li>
<li><a href="mainMenu.html">Main&nbsp;Menu</a></li>
<li><a href="contextMenu.html">Context&nbsp;Menu</a></li>
<li><a href="settingsDialog.html">Settings&nbsp;Dialog</a></li>
<li id="current"><a href="addinsDialog.html">Addins&nbsp;Dialog</a></li>
<li><a href="testProperties.html">Test&nbsp;Properties</a></li>
<li><a href="configEditor.html">Configuration&nbsp;Editor</a></li>
</ul>
<li><a href="pnunit.html">PNUnit&nbsp;Runner</a></li>
<li><a href="nunit-agent.html">NUnit&nbsp;Agent</a></li>
<li><a href="projectEditor.html">Project&nbsp;Editor</a></li>
<li><a href="runtimeSelection.html">Runtime&nbsp;Selection</a></li>
<li><a href="assemblyIsolation.html">Assembly&nbsp;Isolation</a></li>
<li><a href="configFiles.html">Configuration&nbsp;Files</a></li>
<li><a href="multiAssembly.html">Multiple&nbsp;Assemblies</a></li>
<li><a href="vsSupport.html">Visual&nbsp;Studio&nbsp;Support</a></li>
</ul>
<li><a href="extensibility.html">Extensibility</a></li>
<li><a href="releaseNotes.html">Release&nbsp;Notes</a></li>
<li><a href="samples.html">Samples</a></li>
<li><a href="license.html">License</a></li>
</ul>
<li><a href="vsTestAdapter.html">NUnit&nbsp;Test&nbsp;Adapter</a></li>
<ul>
<li><a href="vsTestAdapterLicense.html">License</a></li>
<li><a href="vsTestAdapterReleaseNotes.html">Release&nbsp;Notes</a></li>
</ul>
<li><a href="&r=2.6.4.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
</ul>
</div>
<!-- End of Submenu -->


<!-- Standard Footer for NUnit.org -->
<!-- public_html/nunit/footer.php -->
<div id="footer">
Copyright &copy; 2002-2014 NUnit.org. All Rights Reserved.
</div>
<!-- End of Footer -->
<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"></script>
</body>
</html>
17 changes: 9 additions & 8 deletions doc/assemblyIsolation.html
Expand Up @@ -16,9 +16,9 @@
<!-- Standard Header for NUnit.org -->
<div id="header">
<a id="logo" href="http://www.nunit.org"><img src="img/logo.gif" alt="NUnit.org" title="NUnit.org"></a>
<div id="nav">
<a href="http://www.nunit.org">NUnit</a>
<a class="active" href="index.html">Documentation</a>
<div id="nav">
<a href="http://www.nunit.org">NUnit</a>
<a class="active" href="index.html">Documentation</a>
</div>
</div>
<!-- End of Header -->
Expand Down Expand Up @@ -75,7 +75,7 @@ <h4>Project Settings</h4>
<!-- Submenu -->
<div id="subnav">
<ul>
<li><a href="index.html">NUnit 2.6.3</a></li>
<li><a href="index.html">NUnit 2.6.4</a></li>
<ul>
<li><a href="getStarted.html">Getting&nbsp;Started</a></li>
<li><a href="writingTests.html">Writing&nbsp;Tests</a></li>
Expand All @@ -102,18 +102,19 @@ <h4>Project Settings</h4>
<li><a href="vsTestAdapterLicense.html">License</a></li>
<li><a href="vsTestAdapterReleaseNotes.html">Release&nbsp;Notes</a></li>
</ul>
<li><a href="&r=2.6.3.html"></a></li>
<li><a href="&r=2.6.3.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
<li><a href="&r=2.6.4.html"></a></li>
</ul>
</div>
<!-- End of Submenu -->


<!-- Standard Footer for NUnit.org -->
<!-- public_html/nunit/footer.php -->
<div id="footer">
Copyright &copy; 2012 Charlie Poole. All Rights Reserved.
Copyright &copy; 2002-2014 NUnit.org. All Rights Reserved.
</div>
<!-- End of Footer -->

<script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"></script>
</body>
</html>

0 comments on commit 1c5c6f1

Please sign in to comment.