You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/04/07 22:24:11 UTC
[05/19] nuget package restore
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/teardown.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/teardown.html b/lib/NUnit.org/NUnit/2.5.9/doc/teardown.html
deleted file mode 100644
index b75402c..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/teardown.html
+++ /dev/null
@@ -1,239 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - Teardown</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
-
-<h3>TearDownAttribute (NUnit 2.0 / 2.5)</h3>
-
-<p>This attribute is used inside a TestFixture to provide a common set of
- functions that are performed after each test method is run.
-
-<p><b>Before NUnit 2.5</b>, a TestFixture could have only one TearDown method
- and it was required to be an instance method.
-
-<p><b>Beginning with NUnit 2.5</b>, TearDown methods may be either static or
- instance methods and you may define more than one of them in a fixture.
- Normally, multiple TearDown methods are only defined at different levels
- of an inheritance hierarchy, as explained below.
-
-<p>So long as any SetUp method runs without error, the TearDown method is
- guaranteed to run. It will not run if a SetUp method fails or throws an
- exception.</p>
-
-<h4>Example:</h4>
-
-<div class="code">
-
-<div class="langFilter">
- <a href="javascript:Show('DD1')" onmouseover="Show('DD1')"><img src="img/langFilter.gif" width="14" height="14" alt="Language Filter"></a>
- <div id="DD1" class="dropdown" style="display: none" onclick="Hide('DD1')">
- <a href="javascript:ShowCS()">C#</a><br>
- <a href="javascript:ShowVB()">VB</a><br>
- <a href="javascript:ShowMC()">C++</a><br>
- <a href="javascript:ShowJS()">J#</a><br>
- </div>
-</div>
-
-<pre class="cs">namespace NUnit.Tests
-{
- using System;
- using NUnit.Framework;
-
- [TestFixture]
- public class SuccessTests
- {
- [SetUp] public void Init()
- { /* ... */ }
-
- [TearDown] public void Cleanup()
- { /* ... */ }
-
- [Test] public void Add()
- { /* ... */ }
- }
-}
-</pre>
-
-<pre class="vb">Imports System
-Imports Nunit.Framework
-
-Namespace Nunit.Tests
-
- <TestFixture()> Public Class SuccessTests
- <SetUp()> Public Sub Init()
- ' ...
- End Sub
-
- <TearDown()> Public Sub Cleanup()
- ' ...
- End Sub
-
- <Test()> Public Sub Add()
- ' ...
- End Sub
- End Class
-End Namespace
-</pre>
-
-<pre class="mc">#using <Nunit.Framework.dll>
-using namespace System;
-using namespace NUnit::Framework;
-
-namespace NUnitTests
-{
- [TestFixture]
- public __gc class SuccessTests
- {
- [SetUp] void Init();
- [TearDown] void Cleanup();
-
- [Test] void Add();
- };
-}
-
-#include "cppsample.h"
-
-namespace NUnitTests {
- // ...
-}
-</pre>
-
-<pre class="js">package NUnit.Tests;
-
-import System.*;
-import NUnit.Framework.TestFixture;
-
-
-/** @attribute NUnit.Framework.TestFixture() */
-public class SuccessTests
-{
- /** @attribute NUnit.Framework.SetUp() */
- public void Init()
- { /* ... */ }
-
- /** @attribute NUnit.Framework.TearDown() */
- public void Cleanup()
- { /* ... */ }
-
- /** @attribute NUnit.Framework.Test() */
- public void Add()
- { /* ... */ }
-}
-</pre>
-
-</div>
-
-<h3>Inheritance</h3>
-
-<p>The TearDown attribute is inherited from any base class. Therefore, if a base
- class has defined a TearDown method, that method will be called
- after each test method in the derived class.
-
-<p>Before NUnit 2.5, you were permitted only one TearDown method. If you wanted to
- have some TearDown functionality in the base class and add more in the derived
- class you needed to call the base class method yourself.
-
-<p>With NUnit 2.5, you can achieve the same result by defining a TearDown method
- in the base class and another in the derived class. NUnit will call base
- class TearDown methods after those in the derived classes.
-
-<p><b>Note:</b> Although it is possible to define multiple TearDown methods
- in the same class, you should rarely do so. Unlike methods defined in
- separate classes in the inheritance hierarchy, the order in which they
- are executed is not guaranteed.
-
-<h4>See also...</h4>
-<ul>
-<li><a href="setup.html">SetUpAttribute</a><li><a href="fixtureSetup.html">TestFixtureSetUpAttribute</a><li><a href="fixtureTeardown.html">TestFixtureTearDownAttribute</a></ul>
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li id="current"><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/test.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/test.html b/lib/NUnit.org/NUnit/2.5.9/doc/test.html
deleted file mode 100644
index f27dd28..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/test.html
+++ /dev/null
@@ -1,215 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - Test</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
-
-<h3>TestAttribute (NUnit 2.0 / 2.5)</h3>
-
-<p>The Test attribute is one way of marking a method inside a TestFixture class
- as a test. For backwards compatibility with previous versions of Nunit a
- test method may also be found if the first 4 letters are "test"
- regardless of case. This option is available by setting a value in
- the config file for the test.</p>
-
-<p>Prior to NUnit 2.5, the signature for a test method was:
- <pre> public void MethodName()</pre></p>
-
-<p>Beginning with NUnit 2.5, static methods may be used as tests:
- <pre> public static void MethodName()</pre></p>
-
-<p>In addition, with 2.5, test methods may have arguments and return
- values, provided that NUnit is told what values to use for the
- arguments and how to handle the return value. For more information
- on these capabilities, see
- <a href="parameterizedTests.html">Parameterized Tests</a> as well as some of the related attributes
- listed at the end of this page.
-
-<p>Parameterized test methods may also be generic, provided that
- NUnit is able to deduce the proper argument types from the
- types of the data arguments supplied.
-
-<p>If the programmer marks a test method that does not have the correct signature
- it will be considered as not runnable and be indicated as such by the console
- or gui runner. In the Gui, such tests are marked in red.</p>
-
-<p>In the examples on this page, NUnit would have no way of knowing what values
- to supply as arguments, so methods without parameters are used.
-
-<h4>Example:</h4>
-
-<div class="code">
-
-<div class="langFilter">
- <a href="javascript:Show('DD1')" onmouseover="Show('DD1')"><img src="img/langFilter.gif" width="14" height="14" alt="Language Filter"></a>
- <div id="DD1" class="dropdown" style="display: none;" onclick="Hide('DD1')">
- <a href="javascript:ShowCS()">C#</a><br>
- <a href="javascript:ShowVB()">VB</a><br>
- <a href="javascript:ShowMC()">C++</a><br>
- <a href="javascript:ShowJS()">J#</a><br>
- </div>
-</div>
-
-<pre class="cs">namespace NUnit.Tests
-{
- using System;
- using NUnit.Framework;
-
- [TestFixture]
- public class SuccessTests
- {
- [Test] public void Add()
- { /* ... */ }
-
- public void TestSubtract()
- { /* backwards compatibility */ }
- }
-}
-</pre>
-
-<pre class="vb">Imports System
-Imports Nunit.Framework
-
-Namespace Nunit.Tests
-
- <TestFixture()> Public Class SuccessTests
- <Test()> Public Sub Add()
- ' ...
- End Sub
- End Class
-End Namespace
-</pre>
-
-<pre class="mc">#using <Nunit.Framework.dll>
-using namespace System;
-using namespace NUnit::Framework;
-
-namespace NUnitTests
-{
- [TestFixture]
- public __gc class SuccessTests
- {
- [Test] void Add();
- };
-}
-
-#include "cppsample.h"
-
-namespace NUnitTests {
- // ...
-}
-</pre>
-
-<pre class="js">package NUnit.Tests;
-
-import System.*;
-import NUnit.Framework.TestFixture;
-
-
-/** @attribute NUnit.Framework.TestFixture() */
-public class SuccessTests
-{
- /** @attribute NUnit.Framework.Test() */
- public void Add()
- { /* ... */ }
-}
-</pre>
-</div>
-
-<h4>See also...</h4>
-
-<ul>
-<li><a href="parameterizedTests.html">Parameterized Tests</a><li><a href="testCase.html">TestCaseAttribute</a></ul>
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li id="current"><a href="test.html">Test</a></li>
-<ul>
-<li><a href="parameterizedTests.html">Parameterized Tests</a></li>
-</ul>
-<li><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testCase.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testCase.html b/lib/NUnit.org/NUnit/2.5.9/doc/testCase.html
deleted file mode 100644
index 29e7e58..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testCase.html
+++ /dev/null
@@ -1,180 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestCase</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
-
-<h3>TestCaseAttribute (NUnit 2.5)</h3>
-
-<p><b>TestCaseAttribute</b> serves the dual purpose of marking a method with
- parameters as a test method and providing inline data to be used when
- invoking that method. Here is an example of a test being run three
- times, with three different sets of data:
-
-<div class="code">
-<pre>[TestCase(12,3,4)]
-[TestCase(12,2,6)]
-[TestCase(12,4,3)]
-public void DivideTest(int n, int d, int q)
-{
- Assert.AreEqual( q, n / d );
-}
-</pre>
-</div>
-
-<p><b>Note:</b> Because arguments to .NET attributes are limited in terms of the
-Types that may be used, NUnit will make some attempt to convert the supplied
-values using <b>Convert.ChangeType()</b> before supplying it to the test.
-
-<p><b>TestCaseAttribute</b> may appear one or more times on a test method,
-which may also carry other attributes providing test data, such as the
-<a href="factories.html">FactoriesAttribute</a>.
-The method may optionally be marked with the
-<a href="test.html">TestAttribute</a> as well.
-
-<p>By using the named parameter <b>Result</b> this test set may be simplified
-further:
-
-<div class="code">
-<pre>[TestCase(12,3, Result=4)]
-[TestCase(12,2, Result=6)]
-[TestCase(12,4, Result=3)]
-public int DivideTest(int n, int d)
-{
- return( n / d );
-}
-</pre>
-</div>
-
-<p>In the above example, NUnit checks that the return
-value of the method is equal to the expected result provided on the attribut
-
-<p><b>TestCaseAttribute</b> supports a number of additional
-named parameters, which may be used as follows:
-
-<dl>
-<dt><b>Description</b>
-<dd>Sets the description property of the test
-<dt><b>ExpectedException</b>
-<dd>Specifies a the Type of an exception that should be thrown by this invocation
-<dt><b>ExpectedExceptionName</b>
-<dd>Specifies a the FullName of an exception that should be thrown by this invocation
-<dt><b>ExpectedMessage</b>
-<dd>Specifies the message text of the expected exception
-<dt><b>MatchType</b>
-<dd>A <b>MessageMatch</b> enum value indicating how to test the expected message
-(See <a href="exception.html">ExpectedExceptionAttribute</a>)
-<dt><b>Result</b>
-<dd>The expected result to be returned from the method, which must have
-a compatible return type.
-<dt><b>TestName</b>
-<dd>Provides a name for the test. If not specified, a name is generated based on
-the method name and the arguments provided.
-<dt><b>Ignore</b>
-<dd>Set to true in order to ignore the individual test case.
-<dt><b>IgnoreReason</b>
-<dd>Specifies the reason for ignoring this test case. If set to a non-empty
- string, then Ignore is assumed to be true.
-</dl>
-
-<h3>Order of Execution</h3>
-
-<p>In NUnit 2.5, individual test cases are sorted alphabetically and executed in
- that order. With NUnit 2.5.1, the individual cases are not sorted, but are
- executed in the order in which NUnit discovers them. This order does <b>not</b>
- follow the lexical order of the attributes and will often vary between different
- compilers or different versions of the CLR.
-
-<p>As a result, when <b>TestCaseAttribute</b> appears multiple times on a method
- or when other data-providing attributes are used in combination with
- <b>TestCaseAttribute</b>, the order of the test cases is undefined.
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li id="current"><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testCaseSource.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testCaseSource.html b/lib/NUnit.org/NUnit/2.5.9/doc/testCaseSource.html
deleted file mode 100644
index dca0f9a..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testCaseSource.html
+++ /dev/null
@@ -1,325 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestCaseSource</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
-
-<h3>TestCaseSourceAttribute (NUnit 2.5)</h3>
-
-<p><b>TestCaseSourceAttribute</b> is used on a parameterized test method to
-identify the property, method or field that will provide the required
-arguments. The attribute has two public constructors.
-
-<div class="code">
-<pre>
-TestCaseSourceAttribute(Type sourceType, string sourceName);
-TestCaseSourceAttribute(string sourceName);
-</pre>
-</div>
-
-<p>If <b>sourceType</b> is specified, it represents the class that provides
-the test cases. It must have a default constructor.
-
-<p>If <b>sourceType</b> is not specified, the class containing the test
-method is used. NUnit will construct it using either the default constructor
-or - if arguments are provided - the appropriate constructor for those
-arguments.
-
-<p>The <b>sourceName</b> argument represents the name of the source used
-to provide test cases. It has the following characteristics:
-<ul>
-<li>It may be a field, property or method.
-<li>It may be either an instance or a static member.
-<li>It must return an IEnumerable or a type that implements IEnumerable.
-<li>The individual items returned by the enumerator must be compatible
- with the signature of the method on which the attribute appears.
- The rules for this are described in the next section.
-</ul>
-
-<h3>Constructing Test Cases</h3>
-
-<p>In constructing tests, NUnit uses each item returned by
-the enumerator as follows:
-<ol>
-
-<li><p>If it is an object implementing <b>NUnit.Framework.ITestCaseData</b>,
-its properties are used to provide the test case. In NUnit 2.5, this is
-done using reflection to allow compatibility with earlier versions that
-did not implement <b>ITestCaseData</b>.
-
-<p>The following public fields or properties are used:
- <p><dl>
- <dt><b>Arguments</b>
- <dd>An <b>object[]</b> representing the arguments to the method
- <dt><b>Categories</b>
- <dd>An IList of categories to be applied to the test case.
- <dt><b>Description</b>
- <dd>Sets the description property of the test
- <dt><b>ExpectedException</b>
- <dd>Specifies a the Type of an exception that should be thrown by this invocation
- <dt><b>ExpectedExceptionName</b>
- <dd>Specifies a the FullName of an exception that should be thrown by this invocation
- <dt><b>Properties</b>
- <dd>An IDictionary of properties to be applied to the test case.
- Note that the values provided must be compatible with PropertiesAttribute.
- In particular, use of custom types or enums will cause problems.
- <dt><b>Result</b>
- <dd>The expected result to be returned from the method, which must have
- a compatible return type.
- <dt><b>TestName</b>
- <dd>Provides a name for the test. If not specified, a name is generated based on
- the method name and the arguments provided
- <dt><b>Ignored</b>
- <dd>If true, the test case is ignored.
- <dt><b>IgnoreReason</b>
- <dd>Specifies the reason for ignoring this test case. If set to a non-empty
- string, then the test is ignored.
- </dl>
-
-<p>
-<li><p>If the test has a single argument and the returned value matches the type of
-that argument it is used directly.
-
-<li><p>If it is an <b>object[]</b>, its members are used to provide
-the arguments for the method, as in this example, which returns
-arguments from a named static field.
-
-<div class="code">
-<pre>[Test, TestCaseSource("DivideCases")]
-public void DivideTest(int n, int d, int q)
-{
- Assert.AreEqual( q, n / d );
-}
-
-static object[] DivideCases =
-{
- new object[] { 12, 3, 4 },
- new object[] { 12, 2, 6 },
- new object[] { 12, 4, 3 }
-};
-</pre></div>
-
-<li><p>If it is an array of some other type, NUnit can use it provided
-that the arguments to the method are all of that type. For example,
-the above code could be modified to make the three nested arrays
-of type int[].
-
-<li><p>If anything else is returned, it is used directly as the sole
-argument to the method. This allows NUnit to give an error message
-in cases where the method requires a different number arguments or
-an argument of a different type.
-This can also eliminate a bit of extra typing by the programmer,
-as in this example:
-
-<div class="code"><pre>
-static int[] EvenNumbers = new int[] { 2, 4, 6, 8 };
-
-[Test, TestCaseSource("EvenNumbers")]
-public void TestMethod(int num)
-{
- Assert.IsTrue( num % 2 == 0 );
-}
-</pre></div>
-
-</ol>
-
-<h3>TestCaseData Class</h3>
-
-<p>Although any object implementing <b>ITestCaseData</b> may be used to
- provide extended test case information, NUnit provides the <b>TestCaseData</b>
- class for this purpose. The following example returns <b>TestCaseData</b>
- instances from a data source in a separately defined class.
-
-<div class="code">
-<pre>[TestFixture]
-public class MyTests
-{
- [Test,TestCaseSource(typeof(MyFactoryClass),"TestCases")]
- public int DivideTest(int n, int d)
- {
- return n/d;
- }
-
- ...
-}
-
-public class MyFactoryClass
-{
- public static IEnumerable TestCases
- {
- get
- {
- yield return new TestCaseData( 12, 3 ).Returns( 4 );
- yield return new TestCaseData( 12, 2 ).Returns( 6 );
- yield return new TestCaseData( 12, 4 ).Returns( 3 );
- yield return new TestCaseData( 0, 0 )
- .Throws(typeof(DivideByZeroException))
- .SetName("DivideByZero")
- .SetDescription("An exception is expected");
- }
- }
-}
-</div>
-
-<p>This example uses the fluent interface supported by <b>TestCaseData</b>
-to make the program more readable. The last yield statement above is equivalent to
-
-<div class="code"><pre>
- TestCaseData data = new TestCaseData(0,0);
- data.ExpectedException = typeof(DivideByZeroException;
- data.TestName = "DivideByZero";
- data.Description = "An exception is expected";
- yield return data;
-</pre>
-</div>
-
-<p><b>TestCaseData</b> supports the following properties
-and methods, which may be appended to an instance in any order.
-
-<p>
-<dl>
- <dt><b>.Returns</b>
- <dd>The expected result to be returned from the method, which must have
- a compatible return type.
- <dt><b>.SetCategory(string)</b>
- <dd>Applies a category to the test
- <dt><b>.SetProperty(string, string)</b>
- <dt><b>.SetProperty(string, int)</b>
- <dt><b>.SetProperty(string, double)</b>
- <dd>Applies a named property and value to the test
- <dt><b>.SetDescription(string)</b>
- <dd>Sets the description property of the test
- <dt><b>.SetName(string)</b>
- <dd>Provides a name for the test. If not specified, a name is generated based on
- the method name and the arguments provided
- <dt><b>.Throws(Type)</b>
- <dt><b>.Throws(string)</b>
- <dd>Specifies a the Type or FullName of an exception that should be thrown by this invocation
- <dt><b>.Ignore()</b>
- <dd>Causes the test case to be ignored.
- <dt><b>.Ignore(string)</b>
- <dd>Causes the test case to be ignored with a reason specified.
-</dl>
-
-<h3>Order of Execution</h3>
-
-<p>In NUnit 2.5, individual test cases are sorted alphabetically and executed in
- that order. With NUnit 2.5.1, the individual cases are not sorted, but are
- executed in the order in which NUnit discovers them. This order does <b>not</b>
- follow the lexical order of the attributes and will often vary between different
- compilers or different versions of the CLR.
-
-<p>As a result, when <b>TestCaseSourceAttribute</b> appears multiple times on a
- method or when other data-providing attributes are used in combination with
- <b>TestCaseSourceAttribute</b>, the order of the test cases is undefined.
-
-<p>However, when a single <b>TestCaseSourceAttribute</b> is used by itself,
- the order of the tests follows exactly the order in which the test cases
- are returned from the source.
-
-<h3>Note on Object Construction</h3>
-
-<p>NUnit locates the test cases at the time the tests are loaded, creates
-instances of each class with non-static sources and builds a list of
-tests to be executed. Each source object is only created once at this
-time and is destroyed after all tests are loaded.
-
-<p>If the data source is in the test fixture itself, the object is created
-using the appropriate constructor for the fixture parameters provided on
-the <b>TestFixtureAttribute</b> or
-the default constructor if no parameters were specified. Since this object
-is destroyed before the tests are run, no communication is possible between
-these two phases - or between different runs - except through the parameters
-themselves.
-
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li><a href="testCase.html">TestCase</a></li>
-<li id="current"><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testDecorators.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testDecorators.html b/lib/NUnit.org/NUnit/2.5.9/doc/testDecorators.html
deleted file mode 100644
index 7194087..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testDecorators.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestDecorators</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<h3>TestDecorators (NUnit 2.4)</h3>
-
-<h4>Purpose</h4>
-<p>TestDecorators are able to modify a test after it has been constructed.
-
-<h4>Extension Point</h4>
-<p>Addins use the host to access this extension point by name:
-
-<pre>
- IExtensionPoint testDecorators = host.GetExtensionPoint( "TestDecorators" );</pre>
-
-<h4>Interface</h4>
-<p>The extension object passed to Install must implement the ITestDecorator interface:
-
-<pre>
- public interface ITestDecorator
- {
- Test Decorate( Test test, MemberInfo member );
- }
-</pre>
-
-<p>The Decorate method may do several things, depending on what it needs
-to accomplish:
-<ol>
- <li>Return test unmodified
- <li>Modify properties of the test object and return it
- <li>Replace test with another object, either discarding the
- original or aggregating it in the new test.
-</ol>
-
-<p>Depending on what the decorator does, it may need to run
-ahead of other decorators or after them. Decorators should
-be installed using the Install method overload that takes
-a priority. The priorities range from 1 to 9 and decorators
-with lower priority values are installed first. The following
-standard values are defined for use if desired:
-<ul>
-<li>DecoratorPriority.Default = 0
-<li>DecoratorPriority.First = 1
-<li>DecoratorPriority.Normal = 5
-<li>DecoratorPriority.Last = 9
-</ul>
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<ul>
-<li><a href="customConstraints.html">Custom Constraints</a></li>
-<li><a href="nunitAddins.html">NUnit Addins</a></li>
-<ul>
-<li><a href="suiteBuilders.html">SuiteBuilders</a></li>
-<li><a href="testcaseBuilders.html">TestcaseBuilders</a></li>
-<li id="current"><a href="testDecorators.html">TestDecorators</a></li>
-<li><a href="testcaseProviders.html">TestcaseProviders</a></li>
-<li><a href="datapointProviders.html">DatapointProviders</a></li>
-<li><a href="eventListeners.html">EventListeners</a></li>
-</ul>
-<li><a href="extensionTips.html">Tips for Extenders</a></li>
-</ul>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testFixture.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testFixture.html b/lib/NUnit.org/NUnit/2.5.9/doc/testFixture.html
deleted file mode 100644
index 07c1ff5..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testFixture.html
+++ /dev/null
@@ -1,413 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestFixture</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<script language="JavaScript" src="codeFuncs.js" ></script> <!-- Do it this way for IE -->
-
-<h3>TestFixtureAttribute (NUnit 2.0 / 2.5)</h3>
-
-<p>This is the attribute that marks a class that contains tests and, optionally,
- setup or teardown methods. NUnit 2.5 introduces parameterized and generic
- test fixtures - see below.</p>
-
-<p>Most restrictions on a class that is used as a test fixture have now been
- eliminated. As of NUnit 2.5.3, a test fixture class:
- <ul>
- <li>May be public, protected, private or internal.
- <li>May be a static class in .NET 2.0 or later.
- <li>May be generic, so long as any type parameters are provided or
- can be inferred from the actual arguments.
- <li>May not be abstract - although the attribute may be applied to an
- abstract class intended to serve as a base class for test fixtures.
- <li>If no arguments are provided with the TestFixtureAttribute, the class
- must have a default constructor.
- <li>If arguments are provided, they must match one of the constructors.
- </ul>
-</p>
-
-<p>If any of these restrictions are violated, the class is not runnable
- as a test and will display as an error.</p>
-
-<p>It is advisable that the constructor not have any side effects,
- since NUnit may construct the object multiple times in the course of a session.</li>
-
-<p>Beginning with NUnit 2.5, the <b>TestFixture</b> attribute is optional
- for non-parameterized, non-generic fixtures. So long as the class contains
- at least one method marked with the <b>Test</b>, <b>TestCase</b> or
- <b>TestCaseSource</b> attribute, it will be treated as a test fixture.
-
-<h4>Example:</h4>
-
-<div class="code">
-
-<div class="langFilter">
- <a href="javascript:Show('DD1')" onmouseover="Show('DD1')"><img src="img/langFilter.gif" width="14" height="14" alt="Language Filter"></a>
- <div id="DD1" class="dropdown" style="display: none;" onclick="Hide('DD1')">
- <a href="javascript:ShowCS()">C#</a><br>
- <a href="javascript:ShowVB()">VB</a><br>
- <a href="javascript:ShowMC()">C++</a><br>
- <a href="javascript:ShowJS()">J#</a><br>
- </div>
-</div>
-
-<pre class="cs">namespace NUnit.Tests
-{
- using System;
- using NUnit.Framework;
-
- [TestFixture]
- public class SuccessTests
- {
- // ...
- }
-}
-</pre>
-
-<pre class="vb">Imports System
-Imports Nunit.Framework
-
-Namespace Nunit.Tests
-
- <TestFixture()> Public Class SuccessTests
- ' ...
- End Class
-End Namespace
-</pre>
-
-<pre class="mc">#using <Nunit.Framework.dll>
-using namespace System;
-using namespace NUnit::Framework;
-
-namespace NUnitTests
-{
- [TestFixture]
- public __gc class SuccessTests
- {
- // ...
- };
-}
-
-#include "cppsample.h"
-
-namespace NUnitTests {
- // ...
-}
-</pre>
-
-<pre class="js">package NUnit.Tests;
-
-import System.*;
-import NUnit.Framework.TestFixture;
-
-
-/** @attribute NUnit.Framework.TestFixture() */
-public class SuccessTests
-{
- // ...
-}
-</pre>
-
-</div>
-
-<h3>Inheritance</h3>
-
-<p>The <b>TestFixtureAttribute</b> may be applied to a base class and is
-inherited by any derived classes. This includes any abstract base class,
-so the well-known Abstract Fixture pattern may be implemented if desired.
-
-<p>In order to facilitate use of generic and/or parameterized classes,
-where the derived class may require a different number of arguments (or
-type arguments) from the base class, any <b>TestFixture</b> attribute on a
-derived class causes those on the base classes to be ignored. This allows
-use of code like the following:
-
-<div class="code">
-<pre>[TestFixture]
-public class AbstractFixtureBase
-{
- ...
-}
-
-[TestFixture(typeof(string))]
-public class DerivedFixture<T> : AbstractFixtureBase
-{
- ...
-}
-</pre>
-</div>
-
-<h3>Parameterized Test Fixtures (NUnit 2.5)</h3>
-
-<p>Beginning with NUnit 2.5, test fixtures may take constructor arguments.
- Argument values are specified as arguments to the <b>TestFixture</b>
- attribute. NUnit will construct a separate instance of the fixture
- for each set of arguments.
-
-<p>Individual fixture instances in a set of parameterized fixtures may be ignored.
- Set the <b>Ignore</b> named parameter of the attribute to true or set
- <b>IgnoreReason</b> to a non-empty string.
-
-<h4>Example</h4>
-
-<p>The following test fixture would be instantiated by NUnit three times,
- passing in each set of arguments to the appropriate constructor. Note
- that there are three different constructors, matching the data types
- provided as arguments.
-
-<div class="code"><pre>
-[TestFixture("hello", "hello", "goodbye")]
-[TestFixture("zip", "zip")]
-[TestFixture(42, 42, 99)]
-public class ParameterizedTestFixture
-{
- private string eq1;
- private string eq2;
- private string neq;
-
- public ParameterizedTestFixture(string eq1, string eq2, string neq)
- {
- this.eq1 = eq1;
- this.eq2 = eq2;
- this.neq = neq;
- }
-
- public ParameterizedTestFixture(string eq1, string eq2)
- : this(eq1, eq2, null) { }
-
- public ParameterizedTestFixture(int eq1, int eq2, int neq)
- {
- this.eq1 = eq1.ToString();
- this.eq2 = eq2.ToString();
- this.neq = neq.ToString();
- }
-
- [Test]
- public void TestEquality()
- {
- Assert.AreEqual(eq1, eq2);
- if (eq1 != null && eq2 != null)
- Assert.AreEqual(eq1.GetHashCode(), eq2.GetHashCode());
- }
-
- [Test]
- public void TestInequality()
- {
- Assert.AreNotEqual(eq1, neq);
- if (eq1 != null && neq != null)
- Assert.AreNotEqual(eq1.GetHashCode(), neq.GetHashCode());
- }
-}
-</pre></div>
-
-<h3>Generic Test Fixtures (NUnit 2.5)</h3>
-
-<p>Beginning with NUnit 2.5, you may also use a generic class as a test fixture.
- In order for NUnit to instantiate the fixture, you must either specify the
- types to be used as arguments to <b>TestFixtureAttribute</b> or use the
- named parameter <b>TypeArgs=</b> to specify them. NUnit will construct a
- separate instance of the fixture for each <b>TestFixtureAttribute</b>
- you provide.
-
-<h4>Example</h4>
-
-<p>The following test fixture would be instantiated by NUnit twice,
- once using an ArrayList and once using a List<int>.
-
-<div class="code"><pre>
-[TestFixture(typeof(ArrayList))]
-[TestFixture(typeof(List<int>))]
-public class IList_Tests<TList> where TList : IList, new()
-{
- private IList list;
-
- [SetUp]
- public void CreateList()
- {
- this.list = new TList();
- }
-
- [Test]
- public void CanAddToList()
- {
- list.Add(1); list.Add(2); list.Add(3);
- Assert.AreEqual(3, list.Count);
- }
-}</pre></div>
-
-<h3>Generic Test Fixtures with Parameters (NUnit 2.5)</h3>
-
-<p>If a Generic fixture, uses constructor arguments, there are three
- approaches to telling NUnit which arguments are type parameters
- and which are normal constructor parameters.
- <ol>
- <li>Specify both sets of parameters as arguments to the <b>TestFixtureAttribute</b>.
- Leading <b>System.Type</b> arguments are used as type parameters, while
- any remaining arguments are used to construct the instance. In the
- following example, this leads to some obvious duplication...
-
-<div class="code"><pre>
-[TestFixture(typeof(double), typeof(int), 100.0, 42)]
-[TestFixture(typeof(int) typeof(double), 42, 100.0)]
-public class SpecifyBothSetsOfArgs<T1, T2>
-{
- T1 t1;
- T2 t2;
-
- public SpecifyBothSetsOfArgs(T1 t1, T2 t2)
- {
- this.t1 = t1;
- this.t2 = t2;
- }
-
- [TestCase(5, 7)]
- public void TestMyArgTypes(T1 t1, T2 t2)
- {
- Assert.That(t1, Is.TypeOf<T1>());
- Assert.That(t2, Is.TypeOf<T2>());
- }
-}</pre></div>
-
- <li>Specify normal parameters as arguments to <b>TestFixtureAttribute</b>
- and use the named parameter <b>TypeArgs=</b> to specify the type
- arguments. Again, for this example, the type info is duplicated, but
- it is at least more cleanly separated from the normal arguments...
-
-<div class="code" style="width: 40em"><pre>
-[TestFixture(100.0, 42, TypeArgs=new Type[] {typeof(double), typeof(int) } )]
-[TestFixture(42, 100.0, TypeArgs=new Type[] {typeof(int), typeof(double) } )]
-public class SpecifyTypeArgsSeparately<T1, T2>
-{
- T1 t1;
- T2 t2;
-
- public SpecifyTypeArgsSeparately(T1 t1, T2 t2)
- {
- this.t1 = t1;
- this.t2 = t2;
- }
-
- [TestCase(5, 7)]
- public void TestMyArgTypes(T1 t1, T2 t2)
- {
- Assert.That(t1, Is.TypeOf<T1>());
- Assert.That(t2, Is.TypeOf<T2>());
- }
-}</pre></div>
-
- <li>In some cases, when the constructor makes use of all the type parameters
- NUnit may simply be able to deduce them from the arguments provided.
- That's the case here and the following is the preferred way to
- write this example...
-
-<div class="code"><pre>
-[TestFixture(100.0, 42)]
-[TestFixture(42, 100.0)]
-public class DeduceTypeArgsFromArgs<T1, T2>
-{
- T1 t1;
- T2 t2;
-
- public DeduceTypeArgsFromArgs(T1 t1, T2 t2)
- {
- this.t1 = t1;
- this.t2 = t2;
- }
-
- [TestCase(5, 7)]
- public void TestMyArgTypes(T1 t1, T2 t2)
- {
- Assert.That(t1, Is.TypeOf<T1>());
- Assert.That(t2, Is.TypeOf<T2>());
- }
-}</pre></div>
- </ol>
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li id="current"><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testProperties.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testProperties.html b/lib/NUnit.org/NUnit/2.5.9/doc/testProperties.html
deleted file mode 100644
index 0152d91..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testProperties.html
+++ /dev/null
@@ -1,86 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestProperties</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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>Test Properties Dialog</h2>
-
-<p>The test properties dialog is displayed using either the View | Properties menu item on the main
-menu or the Properties item on the context menu. It shows information about the test and � if it
-has been run � about the results. The dialog contains a �pin� button in the upper right corner,
-which causes it to remain open as the user clicks on different tests.</p>
-
-<div class="screenshot-left">
- <img src="img/testProperties.jpg"></div>
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<ul>
-<li><a href="nunit-console.html">Console Runner</a></li>
-<li><a href="nunit-gui.html">Gui Runner</a></li>
-<ul>
-<li><a href="guiCommandLine.html">Command-Line</a></li>
-<li><a href="mainMenu.html">Main Menu</a></li>
-<li><a href="contextMenu.html">Context Menu</a></li>
-<li><a href="settingsDialog.html">Settings Dialog</a></li>
-<li><a href="addinsDialog.html">Addins Dialog</a></li>
-<li id="current"><a href="testProperties.html">Test Properties</a></li>
-<li><a href="configEditor.html">Configuration Editor</a></li>
-<li><a href="projectEditor.html">Project Editor</a></li>
-</ul>
-<li><a href="pnunit.html">PNUnit Runner</a></li>
-<li><a href="runtimeSelection.html">Runtime Selection</a></li>
-<li><a href="assemblyIsolation.html">Assembly Isolation</a></li>
-<li><a href="configFiles.html">Configuration Files</a></li>
-<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
-<li><a href="vsSupport.html">Visual Studio Support</a></li>
-</ul>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testcaseBuilders.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testcaseBuilders.html b/lib/NUnit.org/NUnit/2.5.9/doc/testcaseBuilders.html
deleted file mode 100644
index fabeec7..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testcaseBuilders.html
+++ /dev/null
@@ -1,112 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestcaseBuilders</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<h3>TestCaseBuilders (NUnit 2.4)</h3>
-
-<h4>Purpose</h4>
-<p>TestCaseBuilders create Tests based on a MethodInfo. NUnit uses several
-TestCaseBuilders internally to create various kinds of TestMethods.
-
-<h4>Extension Point</h4>
-Addins use the host to access this extension point by name:
-
-<pre>
- IExtensionPoint testCaseBuilders = host.GetExtensionPoint( "TestCaseBuilders" );</pre>
-
-<h4>Interfaces</h4>
-<p>The extension object passed to Install must implement either the ITestCaseBuilder
-or the ITestCaseBuilder2 interface:
-
-<pre>
- public interface ITestCaseBuilder
- {
- bool CanBuildFrom( MethodInfo method );
- Test BuildFrom( MethodInfo method );
- }
-
- public interface ITestCaseBuilder2 : ITestCaseBuilder
- {
- bool CanBuildFrom( MethodInfo method, Test suite );
- Test BuildFrom( MethodInfo method, Test suite );
- }
-</pre>
-
-<p>NUnit will call ITestCaseBuilder2 if it is available. Otherwise
-ITestCaseBuilder will be used.
-
-<p>The CanBuildFrom method should return true if the addin can build
-a test from the MethodInfo provided. Some TestCaseBuilder addins are only
-intended to apply to methods within a specific type of fixture. The
-suite argument of the ITestCaseBuilder2 interface may be used to make
-this determination.
-
-<p>The BuildFrom method should return a test constructed over the MethodInfo
-provided as an argument or null if the method cannot be used.
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<ul>
-<li><a href="customConstraints.html">Custom Constraints</a></li>
-<li><a href="nunitAddins.html">NUnit Addins</a></li>
-<ul>
-<li><a href="suiteBuilders.html">SuiteBuilders</a></li>
-<li id="current"><a href="testcaseBuilders.html">TestcaseBuilders</a></li>
-<li><a href="testDecorators.html">TestDecorators</a></li>
-<li><a href="testcaseProviders.html">TestcaseProviders</a></li>
-<li><a href="datapointProviders.html">DatapointProviders</a></li>
-<li><a href="eventListeners.html">EventListeners</a></li>
-</ul>
-<li><a href="extensionTips.html">Tips for Extenders</a></li>
-</ul>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/testcaseProviders.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/testcaseProviders.html b/lib/NUnit.org/NUnit/2.5.9/doc/testcaseProviders.html
deleted file mode 100644
index ad29a01..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/testcaseProviders.html
+++ /dev/null
@@ -1,140 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TestcaseProviders</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<h3>TestCaseProviders (NUnit 2.5)</h3>
-
-<h4>Purpose</h4>
-<p>TestCaseProviders are used with parameterized tests to provide the
-specific test cases that will be used in calling the test.
-
-<h4>Extension Point</h4>
-<p>Addins use the host to access this extension point by name:
-
-<pre>
- IExtensionPoint listeners = host.GetExtensionPoint( "ParameterProviders" );</pre>
-
-<h4>Interface</h4>
-<p>The extension object passed to Install must implement either the
- <b>ITestCaseProvider</b> or the <b>ITestCaseProvider2</b> interface:
-
-<pre>
- public interface ITestCaseProvider
- {
- bool HasTestCasesFor( MethodInfo method );
- IEnumerable GetTestCasesFor( MethodInfo method );
- }
-
- public interface ITestCaseProvider2 : ITestCaseProvider
- {
- bool HasTestCasesFor( MethodInfo method, Test suite );
- IEnumerable GetTestCasesFor( MethodInfo method, Test suite );
- }
-</pre>
-
-<p>NUnit will call <b>ITestCaseProvider2</b> if it is available. Otherwise
- <b>ITestCaseProvider</b> will be used.
-
-<p><b>HasTestCasesFor</b> should return true if the provider is able to supply test cases
- for the specified method. If a provider only wants to be used on certain types
- of tests, it can examine the provided MethodInfo and the suite for which the
- test is being constructed and return true or false based on what it finds.
-
-<p>The GetParametersFor method should return a list of individual test cases.
- Each test case may be expressed as a ParameterSet, as an array of arguments
- or as a custom object containing one or more of the following properties:
-
- <ul>
- <li>Arguments
- <li>RunState
- <li>NotRunReason
- <li>ExpectedExceptionType
- <li>ExpectedExceptionName
- <li>ExpectedExceptionMessage
- <li>Result
- <li>Description
- <li>TestName
- </ul>
-
-<p>The ParameterSet class provides all these properties and may be used
-to avoid the overhead of reflecting on the properties.
-
-<h4>Notes:</h4>
-
-<ol>
-<li>Most providers will delegate one of the interface implementations
- to the other if they implement both.
-<li>TestCaseProviders that use data from the fixture class should use
- <b>ITestCaseProvider2</b> interface so that they are able to access any
- arguments supplied for constructing the fixture object.
-<li>Providers that acquire data from outside the fixture will usually
- be able to work with <b>ITestCaseProvider</b> alone.
-<li>The <b>ITestCaseProvider2</b> interface was added in the NUnit 2.5.1 release.
-</ol>
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<ul>
-<li><a href="customConstraints.html">Custom Constraints</a></li>
-<li><a href="nunitAddins.html">NUnit Addins</a></li>
-<ul>
-<li><a href="suiteBuilders.html">SuiteBuilders</a></li>
-<li><a href="testcaseBuilders.html">TestcaseBuilders</a></li>
-<li><a href="testDecorators.html">TestDecorators</a></li>
-<li id="current"><a href="testcaseProviders.html">TestcaseProviders</a></li>
-<li><a href="datapointProviders.html">DatapointProviders</a></li>
-<li><a href="eventListeners.html">EventListeners</a></li>
-</ul>
-<li><a href="extensionTips.html">Tips for Extenders</a></li>
-</ul>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/theory.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/theory.html b/lib/NUnit.org/NUnit/2.5.9/doc/theory.html
deleted file mode 100644
index e8e5d76..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/theory.html
+++ /dev/null
@@ -1,191 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - Theory</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<h3>TheoryAttribute (NUnit 2.5) (Experimental)</h3>
-
-<p>A Theory is a special type of test, used to verify a general
- statement about the system under development. Normal tests are
- <em>example-based</em>. That is, the developer supplies one or
- more examples of inputs and expected outputs either within the
- code of the test or - in the case of
- <a href="parameterizedTests.html">Parameterized Tests</a>
- - as arguments to the test method. A theory, on the other hand,
- makes a general statement that all of its assertions will pass
- for all arguments satisfying certain assumptions.
-
-<p>Theories are implemented in NUnit
- as methods within a <b>TestFixture</b>, which are annotated
- with the <b>TheoryAttribute</b>. Theory methods must always have
- arguments and therefore appears quite similar to
- <a href="parameterizedTests.html">Parameterized Tests</a> at first glance. However, a Theory incorporates additional data sources
- for its arguments and allows special processing for assumptions
- about that data. The key difference, though, is that theories
- make general statements and are more than just a set of examples.
-
-<h4>Data for Theories</h4>
-
-<p>The primary source of data for a <b>Theory</b> is the
- <a href="datapoint.html"><b>Datapoint</b> or <b>Datapoints</b> attribute</a>.
- NUnit will use any fields of the required types, which are annotated
- with one of these attributes, to provide data for each parameter
- of the Theory. NUnit assembles the values for individual arguments
- combinatorially to provide test cases for the theory.
-
-<p>In addition to the Datapoint and Datapoints attributes, it
- is possible to use any of the approaches for supplying data
- that are recognized on normal parameterized tests. We suggest
- that this capability not be overused, since it runs counter
- to the distinction between a test based on examples and a
- theory. However, it may be useful in order to guarantee that
- a specific test case is included.
-
-<h4>Assumptions</h4>
-
-<p>The theory itself is responsible for ensuring that all data supplied
- meets its assumptions. It does this by use of the
- <b>Assume.That(...)</b> construct, which works just like
- <b>Assert.That(...)</b> but does not cause a failure. If
- the assumption is not satisfied for a particular test case, that case
- returns an Inconclusive result, rather than a Success or Failure.
-
-<p>The overall result of executing a Theory over a set of test cases is
- determined as follows:
-
- <ul>
- <li>If the assumptions are violated for <b>all</b> test cases, then the
- Theory itself is marked as a failure.
-
- <li>If any Assertion fails, the Theory itself fails.
-
- <li>If at least <b>some</b> cases pass the stated assumptions, and
- there are <b>no</b> assertion failures or exceptions, then the
- Theory passes.
- </ul>
-
-<h4>Example:</h4>
-
-<p>In the following example, the theory SquareRootDefinition
- verifies that the implementation of square root satisies
- the following definition:
-
-<p style="margin: 2em"><i>
-"Given a non-negative number, the square root of that number
- is always non-negative and, when multiplied by itself, gives
- the original number."</i>
-
-<div class="code" style="width: 36em">
-<pre>
-public class SqrtTests
-{
- [Datapoints]
- public double[] values = new double[] { 0.0, 1.0, -1.0, 42.0 };
-
- [Theory]
- public void SquareRootDefinition(double num)
- {
- Assume.That(num >= 0.0);
-
- double sqrt = Math.Sqrt(num);
-
- Assert.That(sqrt >= 0.0);
- Assert.That(sqrt * sqrt, Is.EqualTo(num).Within(0.000001));
- }
-}
-</pre>
-</div>
-
-<h4>See also...</h4>
-
-<ul>
-<li><a href="datapoint.html">Datapoint(s)Attribute</a><li><a href="parameterizedTests.html">Parameterized Tests</a></ul>
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li id="current"><a href="theory.html">Theory</a></li>
-<li><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/throwsConstraint.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/throwsConstraint.html b/lib/NUnit.org/NUnit/2.5.9/doc/throwsConstraint.html
deleted file mode 100644
index 0bbb4ba..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/throwsConstraint.html
+++ /dev/null
@@ -1,157 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - ThrowsConstraint</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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>Throws Constraint (NUnit 2.5)</h2>
-
-<p><b>ThrowsConstraint</b> is used to test that some code, represented as a delegate,
-throws a particular exception. It may be used alone, to merely test the type
-of constraint, or with an additional constraint to be applied to the exception
-specified as an argument.
-
-p>The related <b>ThrowsNothingConstraint</b> simply asserts that the delegate
-does not throw an exception.
-
-<h4>Constructors</h4>
-<div class="code"><pre>
-ThrowsConstraint(Type expectedType)
-ThrowsConstraint<T>()
-ThrowsConstraint(Type expectedType, Constraint constraint)
-ThrowsConstraint<T>(Constraint constraint)
-ThrowsNothingConstraint()
-</pre></div>
-
-<h4>Syntax</h4>
-<div class="code"><pre>
-Throws.Exception
-Throws.TargetInvocationException
-Throws.ArgumentException
-Throws.InvalidOperationException
-Throws.TypeOf(Type expectedType)
-Throws.TypeOf<T>()
-Throws.InstanceOf(Type expectedType)
-Throws.InstanceOf<T>()
-Throws.Nothing
-Throws.InnerException
-</pre></div>
-
-<h4>Examples of Use</h4>
-<div class="code"><pre>
-// .NET 1.1
-Assert.That( new TestDelegate(SomeMethod),
- Throws.TypeOf(typeof(ArgumentException)));
-Assert.That( new TestDelegate(SomeMethod),
- Throws.Exception.TypeOf(typeof(ArgumentException)));
-Assert.That( new TestDelegate(SomeMethod),
- Throws.TypeOf(typeof(ArgumentException))
- .With.Property("Parameter").EqualTo("myParam"));
-Assert.That( new TestDelegate(SomeMethod),
- Throws.ArgumentException );
-Assert.That( new TestDelegate(SomeMethod),
- Throws.TargetInvocationException
- .With.InnerException.TypeOf(ArgumentException));
-
-// .NET 2.0
-Assert.That( SomeMethod,
- Throws.TypeOf<ArgumentException>());
-Assert.That( SomeMethod,
- Throws.Exception.TypeOf<ArgumentException>());
-Assert.That( SomeMethod,
- Throws.TypeOf<ArgumentException>()
- .With.Property("Parameter").EqualTo("myParam"));
-Assert.That( SomeMethod, Throws.ArgumentException );
-Assert.That( SomeMethod,
- Throws.TargetInvocationException
- .With.InnerException.TypeOf<ArgumentException>());
-</pre></div>
-
-<h4>Notes</h4>
-<ol>
-<li><b>Throws.Exception</b> may be followed by further constraints,
- which are applied to the exception itself as shown in the last two
- examples above. It may also be used alone to verify that some
- exception has been thrown, without regard to type. This is
- not a recommended practice since you should normally know
- what exception you are expecting.
-<li><b>Throws.TypeOf</b> and <b>Throws.InstanceOf</b> are provided
- as a shorter syntax for this common test. They work exactly like
- the corresponding forms following <b>Throws.Exception</b>.
-<li><b>Throws.TargetInvocationException/b>, <b>Throws.ArgumentException</b>
- and <b>Throws.InvalidOperationException</b> provide a shortened form
- for some common exceptions.
-<li>Used alone, <b>Throws.InnerException</b> simply tests the InnerException
- value of the thrown exception. More commonly, it will be used in
- combination with a test for the type of the outer exception as shown
- in the examples above.
-</ol>
-
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<ul>
-<li><a href="equalConstraint.html">Equal Constraint</a></li>
-<li><a href="sameasConstraint.html">SameAs Constraint</a></li>
-<li><a href="conditionConstraints.html">Condition Constraints</a></li>
-<li><a href="comparisonConstraints.html">Comparison Constrants</a></li>
-<li><a href="pathConstraints.html">Path Constraints</a></li>
-<li><a href="typeConstraints.html">Type Constraints</a></li>
-<li><a href="stringConstraints.html">String Constraints</a></li>
-<li><a href="collectionConstraints.html">Collection Constraints</a></li>
-<li><a href="propertyConstraint.html">Property Constraint</a></li>
-<li id="current"><a href="throwsConstraint.html">Throws Constraint</a></li>
-<li><a href="compoundConstraints.html">Compound Constraints</a></li>
-<li><a href="delayedConstraint.html">Delayed Constraint</a></li>
-<li><a href="listMapper.html">List Mapper</a></li>
-<li><a href="reusableConstraint.html">Reusable Constraint</a></li>
-</ul>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/timeout.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/timeout.html b/lib/NUnit.org/NUnit/2.5.9/doc/timeout.html
deleted file mode 100644
index d9c85a1..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/timeout.html
+++ /dev/null
@@ -1,123 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - Timeout</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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">
-
-<h3>TimeoutAttribute (NUnit 2.5)</h3>
-
-<p>The <b>TimeoutAttribute</b> is used to specify a timeout value in milliseconds
- for a test case. If the test case runs longer than the time specified it
- is immediately cancelled and reported as a failure, with a message
- indicating that the timeout was exceeded.
-
-<p>The attribute may also be specified on a fixture or assembly, in which
- case it indicates the default timeout for any subordinate test cases.
-
-<h4>Example</h4>
-
-<div class="code"><pre>
-[Test, Timeout(2000)]
-public void PotentiallyLongRunningTest()
-{
- ...
-}
-</pre></div>
-
-<h4>Notes</h4>
-<ol>
-<li>Beginning with NUnit 2.5.5, timeouts are suppressed when running under a debugger.</li>
-</ol>
-
-<h4>See Also...</h4>
-<ul>
-<li><a href="maxtime.html">MaxtimeAttribute</a></ul>
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<ul>
-<li><a href="category.html">Category</a></li>
-<li><a href="combinatorial.html">Combinatorial</a></li>
-<li><a href="culture.html">Culture</a></li>
-<li><a href="datapoint.html">Datapoint(s)</a></li>
-<li><a href="description.html">Description</a></li>
-<li><a href="exception.html">Exception</a></li>
-<li><a href="explicit.html">Explicit</a></li>
-<li><a href="ignore.html">Ignore</a></li>
-<li><a href="maxtime.html">Maxtime</a></li>
-<li><a href="pairwise.html">Pairwise</a></li>
-<li><a href="platform.html">Platform</a></li>
-<li><a href="property.html">Property</a></li>
-<li><a href="random.html">Random</a></li>
-<li><a href="range.html">Range</a></li>
-<li><a href="repeat.html">Repeat</a></li>
-<li><a href="requiredAddin.html">RequiredAddin</a></li>
-<li><a href="requiresMTA.html">Requires MTA</a></li>
-<li><a href="requiresSTA.html">Requires STA</a></li>
-<li><a href="requiresThread.html">Requires Thread</a></li>
-<li><a href="sequential.html">Sequential</a></li>
-<li><a href="setCulture.html">SetCulture</a></li>
-<li><a href="setup.html">Setup</a></li>
-<li><a href="setupFixture.html">SetupFixture</a></li>
-<li><a href="suite.html">Suite</a></li>
-<li><a href="teardown.html">Teardown</a></li>
-<li><a href="test.html">Test</a></li>
-<li><a href="testCase.html">TestCase</a></li>
-<li><a href="testCaseSource.html">TestCaseSource</a></li>
-<li><a href="testFixture.html">TestFixture</a></li>
-<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
-<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
-<li><a href="theory.html">Theory</a></li>
-<li id="current"><a href="timeout.html">Timeout</a></li>
-<li><a href="values.html">Values</a></li>
-<li><a href="valueSource.html">ValueSource</a></li>
-</ul>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f63ba31d/lib/NUnit.org/NUnit/2.5.9/doc/typeAsserts.html
----------------------------------------------------------------------
diff --git a/lib/NUnit.org/NUnit/2.5.9/doc/typeAsserts.html b/lib/NUnit.org/NUnit/2.5.9/doc/typeAsserts.html
deleted file mode 100644
index ef479bb..0000000
--- a/lib/NUnit.org/NUnit/2.5.9/doc/typeAsserts.html
+++ /dev/null
@@ -1,129 +0,0 @@
-<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<html>
-<!-- Standard Head Part -->
-<head>
-<title>NUnit - TypeAsserts</title>
-<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
-<meta http-equiv="Content-Language" content="en-US">
-<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>Type Asserts (NUnit 2.2.3 / 2.5)</h2>
-
-<p>These methods allow us to make assertions about the type of an object.</p>
-
-<div class="code" style="width: 36em" ><pre>
-
-Assert.IsInstanceOfType( Type expected, object actual );
-Assert.IsInstanceOfType( Type expected, object actual,
- string message );
-Assert.IsInstanceOfType( Type expected, object actual,
- string message, params object[] parms );
-
-Assert.IsNotInstanceOfType( Type expected, object actual );
-Assert.IsNotInstanceOfType( Type expected, object actual,
- string message );
-Assert.IsNotInstanceOfType( Type expected, object actual,
- string message, params object[] parms );
-
-Assert.IsAssignableFrom( Type expected, object actual );
-Assert.IsAssignableFrom( Type expected, object actual,
- string message );
-Assert.IsAssignableFrom( Type expected, object actual,
- string message, params object[] parms );
-
-Assert.IsNotAssignableFrom( Type expected, object actual );
-Assert.IsNotAssignableFrom( Type expected, object actual,
- string message );
-Assert.IsNotAssignableFrom( Type expected, object actual,
- string message, params object[] parms );
-
-</pre></div>
-
-Beginning with NUnit 2.5, generic equivalents are available
-in .NET 2.0 NUnit packages.
-
-<div class="code" style="width: 36em" ><pre>
-
-Assert.IsInstanceOf<T>( object actual );
-Assert.IsInstanceOf<T>( object actual, string message );
-Assert.IsInstanceOf<T>( object actual,
- string message, params object[] parms );
-
-Assert.IsNotInstanceOf<T>( object actual );
-Assert.IsNotInstanceOf<T>( object actual, string message );
-Assert.IsNotInstanceOf<T>( object actual,
- string message, params object[] parms );
-
-Assert.IsAssignableFrom<T>( object actual );
-Assert.IsAssignableFrom<T>( object actual, string message );
-Assert.IsAssignableFrom<T>( object actual,
- string message, params object[] parms );
-
-Assert.IsNotAssignableFrom<T>( object actual );
-Assert.IsNotAssignableFrom<T>( object actual, string message );
-Assert.IsNotAssignableFrom<T>( object actual,
- string message, params object[] parms );
-
-</pre></div>
-
-
-</div>
-
-<!-- Submenu -->
-<div id="subnav">
-<ul>
-<li><a href="index.html">NUnit 2.5.9</a></li>
-<ul>
-<li><a href="getStarted.html">Getting Started</a></li>
-<li><a href="assertions.html">Assertions</a></li>
-<ul>
-<li><a href="equalityAsserts.html">Equality Asserts</a></li>
-<li><a href="identityAsserts.html">Identity Asserts</a></li>
-<li><a href="conditionAsserts.html">Condition Asserts</a></li>
-<li><a href="comparisonAsserts.html">Comparison Asserts</a></li>
-<li id="current"><a href="typeAsserts.html">Type Asserts</a></li>
-<li><a href="exceptionAsserts.html">Exception Asserts</a></li>
-<li><a href="utilityAsserts.html">Utility Methods</a></li>
-<li><a href="stringAssert.html">String Assert</a></li>
-<li><a href="collectionAssert.html">Collection Assert</a></li>
-<li><a href="fileAssert.html">File Assert</a></li>
-<li><a href="directoryAssert.html">Directory Assert</a></li>
-</ul>
-<li><a href="constraintModel.html">Constraints</a></li>
-<li><a href="attributes.html">Attributes</a></li>
-<li><a href="runningTests.html">Running Tests</a></li>
-<li><a href="extensibility.html">Extensibility</a></li>
-<li><a href="releaseNotes.html">Release Notes</a></li>
-<li><a href="samples.html">Samples</a></li>
-<li><a href="license.html">License</a></li>
-</ul>
-</ul>
-</div>
-<!-- End of Submenu -->
-
-
-<!-- Standard Footer for NUnit.org -->
-<div id="footer">
- Copyright © 2010 Charlie Poole. All Rights Reserved.
-</div>
-<!-- End of Footer -->
-
-</body>
-</html>