nunit 2.5.0.9122 → 2.5.1.9189
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/addinsDialog.html +1 -1
- data/docs/assertions.html +1 -1
- data/docs/attributes.html +58 -58
- data/docs/category.html +1 -1
- data/docs/collectionAssert.html +1 -1
- data/docs/collectionConstraints.html +1 -1
- data/docs/combinatorial.html +3 -3
- data/docs/comparisonAsserts.html +1 -1
- data/docs/comparisonConstraints.html +1 -1
- data/docs/compoundConstraints.html +1 -1
- data/docs/conditionAsserts.html +1 -1
- data/docs/conditionConstraints.html +1 -1
- data/docs/configEditor.html +1 -1
- data/docs/configFiles.html +1 -1
- data/docs/consoleCommandLine.html +11 -5
- data/docs/constraintModel.html +1 -1
- data/docs/contextMenu.html +1 -1
- data/docs/culture.html +1 -1
- data/docs/customConstraints.html +24 -24
- data/docs/datapoint.html +1 -1
- data/docs/datapointProviders.html +29 -5
- data/docs/delayedConstraint.html +1 -1
- data/docs/description.html +1 -1
- data/docs/directoryAssert.html +1 -1
- data/docs/equalConstraint.html +1 -1
- data/docs/equalityAsserts.html +1 -1
- data/docs/eventListeners.html +1 -1
- data/docs/exception.html +56 -56
- data/docs/exceptionAsserts.html +5 -5
- data/docs/explicit.html +1 -1
- data/docs/extensibility.html +1 -1
- data/docs/extensionTips.html +1 -1
- data/docs/fileAssert.html +1 -1
- data/docs/fixtureSetup.html +1 -1
- data/docs/fixtureTeardown.html +1 -1
- data/docs/getStarted.html +1 -1
- data/docs/guiCommandLine.html +1 -1
- data/docs/identityAsserts.html +1 -1
- data/docs/ignore.html +1 -1
- data/docs/img/generalSettings.jpg +0 -0
- data/docs/img/gui-screenshot.jpg +0 -0
- data/docs/img/gui-verify.jpg +0 -0
- data/docs/img/miniGui.jpg +0 -0
- data/docs/index.html +3 -3
- data/docs/installation.html +2 -2
- data/docs/license.html +3 -3
- data/docs/listMapper.html +1 -1
- data/docs/mainMenu.html +1 -1
- data/docs/maxtime.html +1 -1
- data/docs/multiAssembly.html +1 -1
- data/docs/nunit-console.html +1 -1
- data/docs/nunit-gui.html +1 -1
- data/docs/nunitAddins.html +1 -1
- data/docs/pairwise.html +1 -1
- data/docs/parameterizedTests.html +20 -1
- data/docs/pathConstraints.html +1 -1
- data/docs/platform.html +1 -1
- data/docs/pnunit.html +1 -1
- data/docs/projectEditor.html +1 -1
- data/docs/property.html +1 -1
- data/docs/propertyConstraint.html +1 -1
- data/docs/quickStart.html +1 -1
- data/docs/random.html +1 -1
- data/docs/range.html +1 -1
- data/docs/releaseNotes.html +824 -411
- data/docs/repeat.html +1 -1
- data/docs/requiredAddin.html +1 -1
- data/docs/requiresMTA.html +1 -1
- data/docs/requiresSTA.html +1 -1
- data/docs/requiresThread.html +1 -1
- data/docs/sameasConstraint.html +1 -1
- data/docs/samples.html +1 -1
- data/docs/sequential.html +1 -1
- data/docs/setCulture.html +1 -1
- data/docs/settingsDialog.html +7 -1
- data/docs/setup.html +1 -1
- data/docs/setupFixture.html +1 -1
- data/docs/stringAssert.html +1 -1
- data/docs/stringConstraints.html +154 -23
- data/docs/suite.html +1 -1
- data/docs/suiteBuilders.html +1 -1
- data/docs/teardown.html +1 -1
- data/docs/test.html +1 -1
- data/docs/testCase.html +56 -56
- data/docs/testCaseSource.html +24 -11
- data/docs/testDecorators.html +1 -1
- data/docs/testFixture.html +11 -11
- data/docs/testProperties.html +1 -1
- data/docs/testcaseBuilders.html +1 -1
- data/docs/testcaseProviders.html +28 -5
- data/docs/theory.html +1 -1
- data/docs/throwsConstraint.html +46 -17
- data/docs/timeout.html +1 -1
- data/docs/typeAsserts.html +1 -1
- data/docs/typeConstraints.html +1 -1
- data/docs/upgrade.html +1 -1
- data/docs/utilityAsserts.html +1 -1
- data/docs/valueSource.html +19 -10
- data/docs/values.html +3 -3
- data/docs/vsSupport.html +1 -1
- data/lib/net-1.1/framework/nunit.framework.dll +0 -0
- data/lib/net-1.1/framework/nunit.framework.xml +105 -19
- data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
- data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
- data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
- data/lib/net-1.1/lib/nunit.core.dll +0 -0
- data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
- data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
- data/lib/net-1.1/lib/nunit.util.dll +0 -0
- data/lib/net-1.1/nunit-agent.exe +0 -0
- data/lib/net-1.1/nunit-console.exe +0 -0
- data/lib/net-1.1/nunit.framework.dll +0 -0
- data/lib/net-1.1/pnunit-agent.exe +0 -0
- data/lib/net-1.1/pnunit-launcher.exe +0 -0
- data/lib/net-1.1/pnunit.framework.dll +0 -0
- data/lib/net-1.1/pnunit.tests.dll +0 -0
- data/lib/net-1.1/tests/loadtest-assembly.dll +0 -0
- data/lib/net-1.1/tests/mock-assembly.dll +0 -0
- data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
- data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.framework.dll +0 -0
- data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
- data/lib/net-1.1/tests/nunit.util.tests.dll +0 -0
- data/lib/net-1.1/tests/test-assembly.dll +0 -0
- data/lib/net-1.1/tests/test-utilities.dll +0 -0
- data/lib/net-1.1/tests/timing-tests.dll +0 -0
- data/lib/net-2.0/framework/nunit.framework.dll +0 -0
- data/lib/net-2.0/framework/nunit.framework.xml +113 -19
- data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
- data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
- data/lib/net-2.0/lib/Failure.png +0 -0
- data/lib/net-2.0/lib/Ignored.png +0 -0
- data/lib/net-2.0/lib/Inconclusive.png +0 -0
- data/lib/net-2.0/lib/Skipped.png +0 -0
- data/lib/net-2.0/lib/Success.png +0 -0
- data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
- data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
- data/lib/net-2.0/lib/nunit.core.dll +0 -0
- data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
- data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
- data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
- data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
- data/lib/net-2.0/lib/nunit.util.dll +0 -0
- data/lib/net-2.0/nunit-agent.exe +0 -0
- data/lib/net-2.0/nunit-console-x86.exe +0 -0
- data/lib/net-2.0/nunit-console.exe +0 -0
- data/lib/net-2.0/nunit-x86.exe +0 -0
- data/lib/net-2.0/nunit.exe +0 -0
- data/lib/net-2.0/nunit.framework.dll +0 -0
- data/lib/net-2.0/pnunit-agent.exe +0 -0
- data/lib/net-2.0/pnunit-launcher.exe +0 -0
- data/lib/net-2.0/pnunit.framework.dll +0 -0
- data/lib/net-2.0/pnunit.tests.dll +0 -0
- data/lib/net-2.0/tests/loadtest-assembly.dll +0 -0
- data/lib/net-2.0/tests/mock-assembly.dll +0 -0
- data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
- data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.framework.dll +0 -0
- data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
- data/lib/net-2.0/tests/nunit.util.tests.dll +0 -0
- data/lib/net-2.0/tests/test-assembly.dll +0 -0
- data/lib/net-2.0/tests/test-utilities.dll +0 -0
- data/lib/net-2.0/tests/timing-tests.dll +0 -0
- metadata +9 -8
- data/lib/net-2.0/lib/Failure.jpg +0 -0
- data/lib/net-2.0/lib/Gray.jpg +0 -0
- data/lib/net-2.0/lib/Ignored.jpg +0 -0
- data/lib/net-2.0/lib/Success.jpg +0 -0
data/docs/addinsDialog.html
CHANGED
@@ -62,7 +62,7 @@ and any error message displayed here when that addin is selected.
|
|
62
62
|
<!-- Submenu -->
|
63
63
|
<div id="subnav">
|
64
64
|
<ul>
|
65
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
65
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
66
66
|
<ul>
|
67
67
|
<li><a href="getStarted.html">Getting Started</a></li>
|
68
68
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/assertions.html
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
<!-- Submenu -->
|
66
66
|
<div id="subnav">
|
67
67
|
<ul>
|
68
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
68
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
69
69
|
<ul>
|
70
70
|
<li><a href="getStarted.html">Getting Started</a></li>
|
71
71
|
<li id="current"><a href="assertions.html">Assertions</a></li>
|
data/docs/attributes.html
CHANGED
@@ -36,68 +36,68 @@
|
|
36
36
|
file that contains tests must include a using statement for that namespace and
|
37
37
|
the project must reference the framework assembly, nunit.framework.dll.</p>
|
38
38
|
<p>Beginning with NUnit 2.4.6, NUnit's attributes are no longer sealed and any
|
39
|
-
attributes that derive from them will be
|
40
|
-
|
39
|
+
attributes that derive from them will be recognized by NUnit.
|
40
|
+
|
41
41
|
</div>
|
42
42
|
|
43
43
|
<!-- Submenu -->
|
44
44
|
<div id="subnav">
|
45
|
-
<ul>
|
46
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
47
|
-
<ul>
|
48
|
-
<li><a href="getStarted.html">Getting Started</a></li>
|
49
|
-
<li><a href="assertions.html">Assertions</a></li>
|
50
|
-
<li><a href="constraintModel.html">Constraints</a></li>
|
51
|
-
<li id="current"><a href="attributes.html">Attributes</a></li>
|
52
|
-
<ul>
|
53
|
-
<li><a href="category.html">Category</a></li>
|
54
|
-
<li><a href="combinatorial.html">Combinatorial</a></li>
|
55
|
-
<li><a href="culture.html">Culture</a></li>
|
56
|
-
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
57
|
-
<li><a href="description.html">Description</a></li>
|
58
|
-
<li><a href="exception.html">Exception</a></li>
|
59
|
-
<li><a href="explicit.html">Explicit</a></li>
|
60
|
-
<li><a href="ignore.html">Ignore</a></li>
|
61
|
-
<li><a href="maxtime.html">Maxtime</a></li>
|
62
|
-
<li><a href="pairwise.html">Pairwise</a></li>
|
63
|
-
<li><a href="platform.html">Platform</a></li>
|
64
|
-
<li><a href="property.html">Property</a></li>
|
65
|
-
<li><a href="random.html">Random</a></li>
|
66
|
-
<li><a href="range.html">Range</a></li>
|
67
|
-
<li><a href="repeat.html">Repeat</a></li>
|
68
|
-
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
69
|
-
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
70
|
-
<li><a href="requiresSTA.html">Requires STA</a></li>
|
71
|
-
<li><a href="requiresThread.html">Requires Thread</a></li>
|
72
|
-
<li><a href="sequential.html">Sequential</a></li>
|
73
|
-
<li><a href="setCulture.html">SetCulture</a></li>
|
74
|
-
<li><a href="setup.html">Setup</a></li>
|
75
|
-
<li><a href="setupFixture.html">SetupFixture</a></li>
|
76
|
-
<li><a href="suite.html">Suite</a></li>
|
77
|
-
<li><a href="teardown.html">Teardown</a></li>
|
78
|
-
<li><a href="test.html">Test</a></li>
|
79
|
-
<li><a href="testCase.html">TestCase</a></li>
|
80
|
-
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
81
|
-
<li><a href="testFixture.html">TestFixture</a></li>
|
82
|
-
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
83
|
-
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
84
|
-
<li><a href="theory.html">Theory</a></li>
|
85
|
-
<li><a href="timeout.html">Timeout</a></li>
|
86
|
-
<li><a href="values.html">Values</a></li>
|
87
|
-
<li><a href="valueSource.html">ValueSource</a></li>
|
88
|
-
</ul>
|
89
|
-
<li><a href="nunit-console.html">Console Runner</a></li>
|
90
|
-
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
91
|
-
<li><a href="configFiles.html">Configuration Files</a></li>
|
92
|
-
<li><a href="pnunit.html">PNUnit</a></li>
|
93
|
-
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
94
|
-
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
95
|
-
<li><a href="extensibility.html">Extensibility</a></li>
|
96
|
-
<li><a href="releaseNotes.html">Release Notes</a></li>
|
97
|
-
<li><a href="samples.html">Samples</a></li>
|
98
|
-
<li><a href="license.html">License</a></li>
|
99
|
-
</ul>
|
100
|
-
</ul>
|
45
|
+
<ul>
|
46
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
47
|
+
<ul>
|
48
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
49
|
+
<li><a href="assertions.html">Assertions</a></li>
|
50
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
51
|
+
<li id="current"><a href="attributes.html">Attributes</a></li>
|
52
|
+
<ul>
|
53
|
+
<li><a href="category.html">Category</a></li>
|
54
|
+
<li><a href="combinatorial.html">Combinatorial</a></li>
|
55
|
+
<li><a href="culture.html">Culture</a></li>
|
56
|
+
<li><a href="datapoint.html">Datapoint(s)</a></li>
|
57
|
+
<li><a href="description.html">Description</a></li>
|
58
|
+
<li><a href="exception.html">Exception</a></li>
|
59
|
+
<li><a href="explicit.html">Explicit</a></li>
|
60
|
+
<li><a href="ignore.html">Ignore</a></li>
|
61
|
+
<li><a href="maxtime.html">Maxtime</a></li>
|
62
|
+
<li><a href="pairwise.html">Pairwise</a></li>
|
63
|
+
<li><a href="platform.html">Platform</a></li>
|
64
|
+
<li><a href="property.html">Property</a></li>
|
65
|
+
<li><a href="random.html">Random</a></li>
|
66
|
+
<li><a href="range.html">Range</a></li>
|
67
|
+
<li><a href="repeat.html">Repeat</a></li>
|
68
|
+
<li><a href="requiredAddin.html">RequiredAddin</a></li>
|
69
|
+
<li><a href="requiresMTA.html">Requires MTA</a></li>
|
70
|
+
<li><a href="requiresSTA.html">Requires STA</a></li>
|
71
|
+
<li><a href="requiresThread.html">Requires Thread</a></li>
|
72
|
+
<li><a href="sequential.html">Sequential</a></li>
|
73
|
+
<li><a href="setCulture.html">SetCulture</a></li>
|
74
|
+
<li><a href="setup.html">Setup</a></li>
|
75
|
+
<li><a href="setupFixture.html">SetupFixture</a></li>
|
76
|
+
<li><a href="suite.html">Suite</a></li>
|
77
|
+
<li><a href="teardown.html">Teardown</a></li>
|
78
|
+
<li><a href="test.html">Test</a></li>
|
79
|
+
<li><a href="testCase.html">TestCase</a></li>
|
80
|
+
<li><a href="testCaseSource.html">TestCaseSource</a></li>
|
81
|
+
<li><a href="testFixture.html">TestFixture</a></li>
|
82
|
+
<li><a href="fixtureSetup.html">TestFixtureSetUp</a></li>
|
83
|
+
<li><a href="fixtureTeardown.html">TestFixtureTearDown</a></li>
|
84
|
+
<li><a href="theory.html">Theory</a></li>
|
85
|
+
<li><a href="timeout.html">Timeout</a></li>
|
86
|
+
<li><a href="values.html">Values</a></li>
|
87
|
+
<li><a href="valueSource.html">ValueSource</a></li>
|
88
|
+
</ul>
|
89
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
90
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
91
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
92
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
93
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
94
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
95
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
96
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
97
|
+
<li><a href="samples.html">Samples</a></li>
|
98
|
+
<li><a href="license.html">License</a></li>
|
99
|
+
</ul>
|
100
|
+
</ul>
|
101
101
|
</div>
|
102
102
|
<!-- End of Submenu -->
|
103
103
|
|
data/docs/category.html
CHANGED
@@ -219,7 +219,7 @@ public void MyTest()
|
|
219
219
|
<!-- Submenu -->
|
220
220
|
<div id="subnav">
|
221
221
|
<ul>
|
222
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
222
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
223
223
|
<ul>
|
224
224
|
<li><a href="getStarted.html">Getting Started</a></li>
|
225
225
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/collectionAssert.html
CHANGED
@@ -135,7 +135,7 @@ CollectionAssert.IsOrdered( IEnumerable collection, IComparer comparer,
|
|
135
135
|
<!-- Submenu -->
|
136
136
|
<div id="subnav">
|
137
137
|
<ul>
|
138
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
138
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
139
139
|
<ul>
|
140
140
|
<li><a href="getStarted.html">Getting Started</a></li>
|
141
141
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -281,7 +281,7 @@ same modifier is used more than once, the result is undefined.
|
|
281
281
|
<!-- Submenu -->
|
282
282
|
<div id="subnav">
|
283
283
|
<ul>
|
284
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
284
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
285
285
|
<ul>
|
286
286
|
<li><a href="getStarted.html">Getting Started</a></li>
|
287
287
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/combinatorial.html
CHANGED
@@ -45,8 +45,8 @@
|
|
45
45
|
<div class="code"><pre>
|
46
46
|
[Test, Combinatorial]
|
47
47
|
public void MyTest(
|
48
|
-
[Values(1,2,3) int x,
|
49
|
-
[Values("A","B"] string s)
|
48
|
+
[Values(1,2,3)] int x,
|
49
|
+
[Values("A","B")] string s)
|
50
50
|
{
|
51
51
|
...
|
52
52
|
}
|
@@ -61,7 +61,7 @@ public void MyTest(
|
|
61
61
|
<!-- Submenu -->
|
62
62
|
<div id="subnav">
|
63
63
|
<ul>
|
64
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
64
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
65
65
|
<ul>
|
66
66
|
<li><a href="getStarted.html">Getting Started</a></li>
|
67
67
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/comparisonAsserts.html
CHANGED
@@ -229,7 +229,7 @@ Assert.LessOrEqual( IComparable arg1, IComparable arg2, string message,
|
|
229
229
|
<!-- Submenu -->
|
230
230
|
<div id="subnav">
|
231
231
|
<ul>
|
232
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
232
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
233
233
|
<ul>
|
234
234
|
<li><a href="getStarted.html">Getting Started</a></li>
|
235
235
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -196,7 +196,7 @@ Assert.That(myOwnObject,
|
|
196
196
|
<!-- Submenu -->
|
197
197
|
<div id="subnav">
|
198
198
|
<ul>
|
199
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
199
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
200
200
|
<ul>
|
201
201
|
<li><a href="getStarted.html">Getting Started</a></li>
|
202
202
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -53,7 +53,7 @@ Expect( 2.3, GreaterThan( 2.0 ) & LessThan( 3.0 ) );
|
|
53
53
|
<!-- Submenu -->
|
54
54
|
<div id="subnav">
|
55
55
|
<ul>
|
56
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
56
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
57
57
|
<ul>
|
58
58
|
<li><a href="getStarted.html">Getting Started</a></li>
|
59
59
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/conditionAsserts.html
CHANGED
@@ -102,7 +102,7 @@ or a collection.</p>
|
|
102
102
|
<!-- Submenu -->
|
103
103
|
<div id="subnav">
|
104
104
|
<ul>
|
105
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
105
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
106
106
|
<ul>
|
107
107
|
<li><a href="getStarted.html">Getting Started</a></li>
|
108
108
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -165,7 +165,7 @@ Assert.That( collection, Is.Unique );
|
|
165
165
|
<!-- Submenu -->
|
166
166
|
<div id="subnav">
|
167
167
|
<ul>
|
168
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
168
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
169
169
|
<ul>
|
170
170
|
<li><a href="getStarted.html">Getting Started</a></li>
|
171
171
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/configEditor.html
CHANGED
@@ -56,7 +56,7 @@ existing configuration to use as a template.</p>
|
|
56
56
|
<!-- Submenu -->
|
57
57
|
<div id="subnav">
|
58
58
|
<ul>
|
59
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
59
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
60
60
|
<ul>
|
61
61
|
<li><a href="getStarted.html">Getting Started</a></li>
|
62
62
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/configFiles.html
CHANGED
@@ -122,7 +122,7 @@ level must be one that is defined by log4net.
|
|
122
122
|
<!-- Submenu -->
|
123
123
|
<div id="subnav">
|
124
124
|
<ul>
|
125
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
125
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
126
126
|
<ul>
|
127
127
|
<li><a href="getStarted.html">Getting Started</a></li>
|
128
128
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -158,16 +158,22 @@ the shell you are using.
|
|
158
158
|
<a href="category.html">Category Attribute</a> and the
|
159
159
|
<a href="explicit.html">Explicit Attribute</a>.</p>
|
160
160
|
<h4>Redirecting Output</h4>
|
161
|
-
<p>
|
162
|
-
|
163
|
-
|
164
|
-
file:
|
161
|
+
<p>Output created by the test, which is normally shown on the console, may be
|
162
|
+
redirected to a file. The following command redirects standard output to the
|
163
|
+
file TestResult.txt:
|
165
164
|
<pre class="programtext"> nunit-console nunit.tests.dll /out:TestResult.txt</pre>
|
166
165
|
</p>
|
167
166
|
<p>The following command redirects standard error output to the StdErr.txt file.
|
168
167
|
<pre class="programtext"> nunit-console nunit.tests.dll /err:StdErr.txt</pre>
|
169
168
|
</p>
|
170
169
|
|
170
|
+
<p><b>Note:</b>This option only redirects output produced <b>by the tests</b>,
|
171
|
+
together with selected NUnit output that is interspersed with the test output.
|
172
|
+
It does not redirect <b>all</b> console output. If you want to redirect <b>all</b>
|
173
|
+
output to a file, you should use command line redirection as supported by the
|
174
|
+
shell you are using. This option exists for the purpose of separating test
|
175
|
+
output from other output, such as the NUnit summary report.
|
176
|
+
|
171
177
|
<h4>Labeling Test Output</h4>
|
172
178
|
<p>The output from each test normally follows right after that of the preceding
|
173
179
|
test. You may use the <b>/labels</b> option to cause an identifying label to be
|
@@ -263,7 +269,7 @@ may run for any amount of time.
|
|
263
269
|
<!-- Submenu -->
|
264
270
|
<div id="subnav">
|
265
271
|
<ul>
|
266
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
272
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
267
273
|
<ul>
|
268
274
|
<li><a href="getStarted.html">Getting Started</a></li>
|
269
275
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/constraintModel.html
CHANGED
@@ -124,7 +124,7 @@ Expect( TestDelegate del, IResolveConstraint constraint );
|
|
124
124
|
<!-- Submenu -->
|
125
125
|
<div id="subnav">
|
126
126
|
<ul>
|
127
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
127
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
128
128
|
<ul>
|
129
129
|
<li><a href="getStarted.html">Getting Started</a></li>
|
130
130
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/contextMenu.html
CHANGED
@@ -69,7 +69,7 @@ results in substantial reduction in load time.</p>
|
|
69
69
|
<!-- Submenu -->
|
70
70
|
<div id="subnav">
|
71
71
|
<ul>
|
72
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
72
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
73
73
|
<ul>
|
74
74
|
<li><a href="getStarted.html">Getting Started</a></li>
|
75
75
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/culture.html
CHANGED
@@ -209,7 +209,7 @@ public class SuccessTests
|
|
209
209
|
<!-- Submenu -->
|
210
210
|
<div id="subnav">
|
211
211
|
<ul>
|
212
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
212
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
213
213
|
<ul>
|
214
214
|
<li><a href="getStarted.html">Getting Started</a></li>
|
215
215
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/customConstraints.html
CHANGED
@@ -79,30 +79,30 @@ Assert.That( myArray, Has.Some.Matches(myConstraint) );</pre>
|
|
79
79
|
|
80
80
|
<!-- Submenu -->
|
81
81
|
<div id="subnav">
|
82
|
-
<ul>
|
83
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
84
|
-
<ul>
|
85
|
-
<li><a href="getStarted.html">Getting Started</a></li>
|
86
|
-
<li><a href="assertions.html">Assertions</a></li>
|
87
|
-
<li><a href="constraintModel.html">Constraints</a></li>
|
88
|
-
<li><a href="attributes.html">Attributes</a></li>
|
89
|
-
<li><a href="nunit-console.html">Console Runner</a></li>
|
90
|
-
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
91
|
-
<li><a href="configFiles.html">Configuration Files</a></li>
|
92
|
-
<li><a href="pnunit.html">PNUnit</a></li>
|
93
|
-
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
94
|
-
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
95
|
-
<li><a href="extensibility.html">Extensibility</a></li>
|
96
|
-
<ul>
|
97
|
-
<li id="current"><a href="customConstraints.html">Custom Constraints</a></li>
|
98
|
-
<li><a href="nunitAddins.html">NUnit Addins</a></li>
|
99
|
-
<li><a href="extensionTips.html">Tips for Extenders</a></li>
|
100
|
-
</ul>
|
101
|
-
<li><a href="releaseNotes.html">Release Notes</a></li>
|
102
|
-
<li><a href="samples.html">Samples</a></li>
|
103
|
-
<li><a href="license.html">License</a></li>
|
104
|
-
</ul>
|
105
|
-
</ul>
|
82
|
+
<ul>
|
83
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
84
|
+
<ul>
|
85
|
+
<li><a href="getStarted.html">Getting Started</a></li>
|
86
|
+
<li><a href="assertions.html">Assertions</a></li>
|
87
|
+
<li><a href="constraintModel.html">Constraints</a></li>
|
88
|
+
<li><a href="attributes.html">Attributes</a></li>
|
89
|
+
<li><a href="nunit-console.html">Console Runner</a></li>
|
90
|
+
<li><a href="nunit-gui.html">Gui Runner</a></li>
|
91
|
+
<li><a href="configFiles.html">Configuration Files</a></li>
|
92
|
+
<li><a href="pnunit.html">PNUnit</a></li>
|
93
|
+
<li><a href="multiAssembly.html">Multiple Assemblies</a></li>
|
94
|
+
<li><a href="vsSupport.html">Visual Studio Support</a></li>
|
95
|
+
<li><a href="extensibility.html">Extensibility</a></li>
|
96
|
+
<ul>
|
97
|
+
<li id="current"><a href="customConstraints.html">Custom Constraints</a></li>
|
98
|
+
<li><a href="nunitAddins.html">NUnit Addins</a></li>
|
99
|
+
<li><a href="extensionTips.html">Tips for Extenders</a></li>
|
100
|
+
</ul>
|
101
|
+
<li><a href="releaseNotes.html">Release Notes</a></li>
|
102
|
+
<li><a href="samples.html">Samples</a></li>
|
103
|
+
<li><a href="license.html">License</a></li>
|
104
|
+
</ul>
|
105
|
+
</ul>
|
106
106
|
</div>
|
107
107
|
<!-- End of Submenu -->
|
108
108
|
|
data/docs/datapoint.html
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
<!-- Submenu -->
|
56
56
|
<div id="subnav">
|
57
57
|
<ul>
|
58
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
58
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
59
59
|
<ul>
|
60
60
|
<li><a href="getStarted.html">Getting Started</a></li>
|
61
61
|
<li><a href="assertions.html">Assertions</a></li>
|
@@ -37,7 +37,8 @@ of a parameterized test method.
|
|
37
37
|
IExtensionPoint listeners = host.GetExtensionPoint( "DataPointProviders" );</pre>
|
38
38
|
|
39
39
|
<h4>Interface</h4>
|
40
|
-
<p>The extension object passed to Install must implement the
|
40
|
+
<p>The extension object passed to Install must implement either the
|
41
|
+
<b>IDataPointProvider</b> or the <b>IDataPointProvider2</b> interface:
|
41
42
|
|
42
43
|
<pre>
|
43
44
|
public interface IDataPointProvider
|
@@ -45,22 +46,45 @@ of a parameterized test method.
|
|
45
46
|
bool HasDataFor( ParameterInfo parameter );
|
46
47
|
IEnumerable GetDataFor( ParameterInfo parameter );
|
47
48
|
}
|
49
|
+
|
50
|
+
public interface IDataPointProvider2 : IDatapointProvider
|
51
|
+
{
|
52
|
+
bool HasDataFor( ParameterInfo parameter, Test parentSuite );
|
53
|
+
IEnumerable GetDataFor( ParameterInfo parameter, Test parentSuite );
|
54
|
+
}
|
48
55
|
</pre>
|
49
56
|
|
50
|
-
<p>
|
57
|
+
<p>NUnit will call <b>IDataPointProvider2</b> if it is available. Otherwise
|
58
|
+
<b>IDataPointProvider</b> will be used.
|
59
|
+
|
60
|
+
<p>The <b>HasDataFor</b> method should return true if the provider is able to
|
51
61
|
supply data for the specified parameter. If a provider only wants to be used
|
52
62
|
on certain types of tests, it can examine the supplied ParameterInfo and
|
53
|
-
its associated MethodInfo and Type.
|
63
|
+
its associated MethodInfo and Type and/or the parent test suite.
|
54
64
|
|
55
|
-
<p>The GetDataFor method should return a list of individual values to
|
65
|
+
<p>The <b>GetDataFor</b> method should return a list of individual values to
|
56
66
|
use for the supplied parameter in running the test.
|
67
|
+
|
68
|
+
<h4>Notes:</h4>
|
69
|
+
|
70
|
+
<ol>
|
71
|
+
<li>Most providers will delegate one of the interface implementations
|
72
|
+
to the other if they implement both.
|
73
|
+
<li>DataPointProviders that use data from the fixture class should use
|
74
|
+
<b>IDataPointProvider2</b> interface so that they are able to access any
|
75
|
+
arguments supplied for constructing the fixture object.
|
76
|
+
<li>Providers that acquire data from outside the fixture will usually
|
77
|
+
be able to work with <b>IDataPointProvider</b> alone.
|
78
|
+
<li>The <b>IDataPointProvider2</b> interface was added in the NUnit 2.5.1 release.
|
79
|
+
</ol>
|
80
|
+
|
57
81
|
|
58
82
|
</div>
|
59
83
|
|
60
84
|
<!-- Submenu -->
|
61
85
|
<div id="subnav">
|
62
86
|
<ul>
|
63
|
-
<li><a href="index.html">NUnit 2.5</a></li>
|
87
|
+
<li><a href="index.html">NUnit 2.5.1</a></li>
|
64
88
|
<ul>
|
65
89
|
<li><a href="getStarted.html">Getting Started</a></li>
|
66
90
|
<li><a href="assertions.html">Assertions</a></li>
|