nunit 2.5.2.9222 → 2.5.3.9345
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 +1 -1
- data/docs/category.html +1 -1
- data/docs/collectionAssert.html +1 -1
- data/docs/collectionConstraints.html +3 -1
- data/docs/combinatorial.html +1 -1
- 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 +16 -19
- data/docs/constraintModel.html +1 -1
- data/docs/contextMenu.html +1 -1
- data/docs/culture.html +1 -1
- data/docs/customConstraints.html +1 -1
- data/docs/datapoint.html +1 -1
- data/docs/datapointProviders.html +1 -1
- 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 +1 -1
- data/docs/exceptionAsserts.html +26 -24
- data/docs/explicit.html +1 -1
- data/docs/extensibility.html +2 -2
- data/docs/extensionTips.html +1 -1
- data/docs/fileAssert.html +1 -1
- data/docs/fixtureSetup.html +1 -1
- data/docs/fixtureTeardown.html +2 -2
- 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/index.html +3 -3
- data/docs/installation.html +2 -2
- data/docs/license.html +1 -1
- 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 +1 -1
- data/docs/pathConstraints.html +1 -1
- data/docs/platform.html +2 -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 +2 -2
- data/docs/range.html +1 -1
- data/docs/releaseNotes.html +73 -1
- 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 +1 -1
- data/docs/setup.html +1 -1
- data/docs/setupFixture.html +1 -1
- data/docs/stringAssert.html +1 -1
- data/docs/stringConstraints.html +3 -1
- data/docs/suite.html +1 -1
- data/docs/suiteBuilders.html +1 -1
- data/docs/teardown.html +2 -2
- data/docs/test.html +1 -1
- data/docs/testCase.html +1 -1
- data/docs/testCaseSource.html +4 -3
- data/docs/testDecorators.html +1 -1
- data/docs/testFixture.html +54 -21
- data/docs/testProperties.html +1 -1
- data/docs/testcaseBuilders.html +1 -1
- data/docs/testcaseProviders.html +1 -1
- data/docs/theory.html +1 -1
- data/docs/throwsConstraint.html +1 -1
- 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 +3 -3
- data/docs/values.html +1 -1
- 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 +5350 -5325
- 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 +5690 -5665
- 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/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-x86.exe +0 -0
- data/lib/net-2.0/nunit-agent-x86.exe.config +87 -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 +7 -12
- data/docs/img/assemblyReloadOptions.JPG +0 -0
- data/docs/img/testResultOptions.JPG +0 -0
- data/docs/img/textOutputOptions.jpg +0 -0
- data/docs/img/treeDisplayOptions.JPG +0 -0
- data/docs/img/visualStudioOptions.JPG +0 -0
- data/lib/net-1.1/clr.bat +0 -96
- data/lib/net-2.0/clr.bat +0 -96
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.
|
65
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
68
|
+
<li><a href="index.html">NUnit 2.5.3</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
@@ -43,7 +43,7 @@
|
|
43
43
|
<!-- Submenu -->
|
44
44
|
<div id="subnav">
|
45
45
|
<ul>
|
46
|
-
<li><a href="index.html">NUnit 2.5.
|
46
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
47
47
|
<ul>
|
48
48
|
<li><a href="getStarted.html">Getting Started</a></li>
|
49
49
|
<li><a href="assertions.html">Assertions</a></li>
|
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.
|
222
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
138
|
+
<li><a href="index.html">NUnit 2.5.3</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>
|
@@ -163,6 +163,7 @@ CollectionContainsConstraint( object )
|
|
163
163
|
<h4>Syntax</h4>
|
164
164
|
<div class="code"><pre>
|
165
165
|
Has.Member( object )
|
166
|
+
Contains.Item( object )
|
166
167
|
</pre></div>
|
167
168
|
|
168
169
|
<h4>Examples of Use</h4>
|
@@ -172,6 +173,7 @@ string[] sarray = new string[] { "a", "b", "c" };
|
|
172
173
|
|
173
174
|
Assert.That( iarray, Has.Member(3) );
|
174
175
|
Assert.That( sarray, Has.Member("b") );
|
176
|
+
Assert.That( sarray, Contains.Item("c") );
|
175
177
|
Assert.That( sarray, Has.No.Member("x") );
|
176
178
|
</pre></div>
|
177
179
|
|
@@ -281,7 +283,7 @@ same modifier is used more than once, the result is undefined.
|
|
281
283
|
<!-- Submenu -->
|
282
284
|
<div id="subnav">
|
283
285
|
<ul>
|
284
|
-
<li><a href="index.html">NUnit 2.5.
|
286
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
285
287
|
<ul>
|
286
288
|
<li><a href="getStarted.html">Getting Started</a></li>
|
287
289
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/combinatorial.html
CHANGED
@@ -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.
|
64
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
232
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
199
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
56
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
105
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
168
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
59
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
125
|
+
<li><a href="index.html">NUnit 2.5.3</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>
|
@@ -79,27 +79,24 @@ be better served by using the <b>/run</b> option.
|
|
79
79
|
A few are designed to operate correctly under multiple versions. In either case,
|
80
80
|
it is important to be able to specify the CLR version to be used for testing.</p>
|
81
81
|
|
82
|
-
<p>
|
82
|
+
<p>Prior to version 2.5, it was necessary to run the console program itself using
|
83
|
+
the CLR version under which you wanted to run tests. This was done either by
|
84
|
+
editing the nunit-console.exe.config file or by setting the COMPLUS_Version
|
85
|
+
environment variable before running the program.
|
83
86
|
|
84
|
-
<p>
|
85
|
-
|
86
|
-
alternative when switching CLRs, you may use the provided <b>clr.bat</b>
|
87
|
-
command to specify the version under which NUnit should run.</p>
|
87
|
+
<p>Under NUnit 2.5 and later versions, you may still use either of these approaches,
|
88
|
+
but a simpler method is available.
|
88
89
|
|
89
|
-
<p>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
put this on your path, or copy it to a convenient location. Enter <b>clr /?</b>
|
96
|
-
for a list of options.</p>
|
90
|
+
<p>The <b>/framework</b> option allows you to specify the version of the runtime
|
91
|
+
to be used in executing tests. If that version specified is different from the
|
92
|
+
one being used by NUnit, the tests are run in a separate process. For example,
|
93
|
+
you may enter
|
94
|
+
<pre class="programtext"> nunit-console myassembly.dll /framework:net-1.1</pre>
|
95
|
+
</p>
|
97
96
|
|
98
|
-
<p
|
99
|
-
|
100
|
-
|
101
|
-
<p><b>Clr.bat</b> works for Microsoft .NET versions. For running under Mono,
|
102
|
-
you should use the Mono command, which is part of the Mono distribution.
|
97
|
+
<p>This command will run tests under .NET 1.1 even if you are running the .NET 2.0
|
98
|
+
build of the nunit-console. Beginning with version 2.5.3, all versions of .NET
|
99
|
+
through 4.0 as well as Mono profiles 1.0, 2.0 and 3.5 are supported.
|
103
100
|
|
104
101
|
<h4>Specifying Test Categories to Include or Exclude</h4>
|
105
102
|
<p>NUnit provides CategoryAttribute for use in marking tests as belonging to
|
@@ -269,7 +266,7 @@ may run for any amount of time.
|
|
269
266
|
<!-- Submenu -->
|
270
267
|
<div id="subnav">
|
271
268
|
<ul>
|
272
|
-
<li><a href="index.html">NUnit 2.5.
|
269
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
273
270
|
<ul>
|
274
271
|
<li><a href="getStarted.html">Getting Started</a></li>
|
275
272
|
<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.
|
127
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
72
|
+
<li><a href="index.html">NUnit 2.5.3</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.
|
212
|
+
<li><a href="index.html">NUnit 2.5.3</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
@@ -80,7 +80,7 @@ Assert.That( myArray, Has.Some.Matches(myConstraint) );</pre>
|
|
80
80
|
<!-- Submenu -->
|
81
81
|
<div id="subnav">
|
82
82
|
<ul>
|
83
|
-
<li><a href="index.html">NUnit 2.5.
|
83
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
84
84
|
<ul>
|
85
85
|
<li><a href="getStarted.html">Getting Started</a></li>
|
86
86
|
<li><a href="assertions.html">Assertions</a></li>
|
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.
|
58
|
+
<li><a href="index.html">NUnit 2.5.3</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>
|
@@ -84,7 +84,7 @@ of a parameterized test method.
|
|
84
84
|
<!-- Submenu -->
|
85
85
|
<div id="subnav">
|
86
86
|
<ul>
|
87
|
-
<li><a href="index.html">NUnit 2.5.
|
87
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
88
88
|
<ul>
|
89
89
|
<li><a href="getStarted.html">Getting Started</a></li>
|
90
90
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/delayedConstraint.html
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
<!-- Submenu -->
|
52
52
|
<div id="subnav">
|
53
53
|
<ul>
|
54
|
-
<li><a href="index.html">NUnit 2.5.
|
54
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
55
55
|
<ul>
|
56
56
|
<li><a href="getStarted.html">Getting Started</a></li>
|
57
57
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/description.html
CHANGED
@@ -132,7 +132,7 @@ new applciations. If both are used, the Description attribute takes precedence.<
|
|
132
132
|
<!-- Submenu -->
|
133
133
|
<div id="subnav">
|
134
134
|
<ul>
|
135
|
-
<li><a href="index.html">NUnit 2.5.
|
135
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
136
136
|
<ul>
|
137
137
|
<li><a href="getStarted.html">Getting Started</a></li>
|
138
138
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/directoryAssert.html
CHANGED
@@ -106,7 +106,7 @@ DirectoryAssert.IsNotWithin( string expected, string actual,
|
|
106
106
|
<!-- Submenu -->
|
107
107
|
<div id="subnav">
|
108
108
|
<ul>
|
109
|
-
<li><a href="index.html">NUnit 2.5.
|
109
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
110
110
|
<ul>
|
111
111
|
<li><a href="getStarted.html">Getting Started</a></li>
|
112
112
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/equalConstraint.html
CHANGED
@@ -212,7 +212,7 @@ For a <b>DirectoryInfo</b>, the first-level directory contents are compared.
|
|
212
212
|
<!-- Submenu -->
|
213
213
|
<div id="subnav">
|
214
214
|
<ul>
|
215
|
-
<li><a href="index.html">NUnit 2.5.
|
215
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
216
216
|
<ul>
|
217
217
|
<li><a href="getStarted.html">Getting Started</a></li>
|
218
218
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/equalityAsserts.html
CHANGED
@@ -145,7 +145,7 @@ values are tested for exact equality.
|
|
145
145
|
<!-- Submenu -->
|
146
146
|
<div id="subnav">
|
147
147
|
<ul>
|
148
|
-
<li><a href="index.html">NUnit 2.5.
|
148
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
149
149
|
<ul>
|
150
150
|
<li><a href="getStarted.html">Getting Started</a></li>
|
151
151
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/eventListeners.html
CHANGED
@@ -65,7 +65,7 @@ that you have no need of.
|
|
65
65
|
<!-- Submenu -->
|
66
66
|
<div id="subnav">
|
67
67
|
<ul>
|
68
|
-
<li><a href="index.html">NUnit 2.5.
|
68
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
69
69
|
<ul>
|
70
70
|
<li><a href="getStarted.html">Getting Started</a></li>
|
71
71
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/exception.html
CHANGED
@@ -252,7 +252,7 @@ namespace NUnitTests {
|
|
252
252
|
<!-- Submenu -->
|
253
253
|
<div id="subnav">
|
254
254
|
<ul>
|
255
|
-
<li><a href="index.html">NUnit 2.5.
|
255
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
256
256
|
<ul>
|
257
257
|
<li><a href="getStarted.html">Getting Started</a></li>
|
258
258
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/exceptionAsserts.html
CHANGED
@@ -45,43 +45,43 @@
|
|
45
45
|
<p><b>Assert.Catch</b> is similar to <b>Assert.Throws</b> but will pass for an exception
|
46
46
|
that is derived from the one specified.
|
47
47
|
|
48
|
-
<div class="code"><pre>
|
49
|
-
Assert.Throws( Type expectedExceptionType, TestDelegate code );
|
50
|
-
Assert.Throws( Type expectedExceptionType, TestDelegate code,
|
48
|
+
<div class="code" style="width: 40em"><pre>
|
49
|
+
Exception Assert.Throws( Type expectedExceptionType, TestDelegate code );
|
50
|
+
Exception Assert.Throws( Type expectedExceptionType, TestDelegate code,
|
51
51
|
string message );
|
52
|
-
Assert.Throws( Type expectedExceptionType, TestDelegate code,
|
52
|
+
Exception Assert.Throws( Type expectedExceptionType, TestDelegate code,
|
53
53
|
string message, params object[] parms);
|
54
54
|
|
55
|
-
Assert.Throws( IResolveConstraint constraint, TestDelegate code );
|
56
|
-
Assert.Throws( IResolveConstraint constraint, TestDelegate code,
|
55
|
+
Exception Assert.Throws( IResolveConstraint constraint, TestDelegate code );
|
56
|
+
Exception Assert.Throws( IResolveConstraint constraint, TestDelegate code,
|
57
57
|
string message );
|
58
|
-
Assert.Throws( IResolveConstraint constraint, TestDelegate code,
|
58
|
+
Exception Assert.Throws( IResolveConstraint constraint, TestDelegate code,
|
59
59
|
string message, params object[] parms);
|
60
60
|
|
61
|
-
Assert.Throws<T>( TestDelegate code );
|
62
|
-
Assert.Throws<T>( TestDelegate code, string message );
|
63
|
-
Assert.Throws<T>( TestDelegate code, string message,
|
61
|
+
T Assert.Throws<T>( TestDelegate code );
|
62
|
+
T Assert.Throws<T>( TestDelegate code, string message );
|
63
|
+
T Assert.Throws<T>( TestDelegate code, string message,
|
64
64
|
params object[] parms);
|
65
65
|
|
66
|
-
Assert.DoesNotThrow( TestDelegate code );
|
67
|
-
Assert.DoesNotThrow( TestDelegate code, string message );
|
68
|
-
Assert.DoesNotThrow( TestDelegate code, string message,
|
66
|
+
void Assert.DoesNotThrow( TestDelegate code );
|
67
|
+
void Assert.DoesNotThrow( TestDelegate code, string message );
|
68
|
+
void Assert.DoesNotThrow( TestDelegate code, string message,
|
69
69
|
params object[] parms);
|
70
70
|
|
71
|
-
Assert.Catch( TestDelegate code );
|
72
|
-
Assert.Catch( TestDelegate code, string message );
|
73
|
-
Assert.Catch( TestDelegate code, string message,
|
71
|
+
Exception Assert.Catch( TestDelegate code );
|
72
|
+
Exception Assert.Catch( TestDelegate code, string message );
|
73
|
+
Exception Assert.Catch( TestDelegate code, string message,
|
74
74
|
params object[] parms);
|
75
75
|
|
76
|
-
Assert.Catch( Type expectedExceptionType, TestDelegate code );
|
77
|
-
Assert.Catch( Type expectedExceptionType, TestDelegate code,
|
76
|
+
Exception Assert.Catch( Type expectedExceptionType, TestDelegate code );
|
77
|
+
Exception Assert.Catch( Type expectedExceptionType, TestDelegate code,
|
78
78
|
string message );
|
79
|
-
Assert.Catch( Type expectedExceptionType, TestDelegate code,
|
79
|
+
Exception Assert.Catch( Type expectedExceptionType, TestDelegate code,
|
80
80
|
string message, params object[] parms);
|
81
81
|
|
82
|
-
Assert.Catch<T>( TestDelegate code );
|
83
|
-
Assert.Catch<T>( TestDelegate code, string message );
|
84
|
-
Assert.Catch<T>( TestDelegate code, string message,
|
82
|
+
T Assert.Catch<T>( TestDelegate code );
|
83
|
+
T Assert.Catch<T>( TestDelegate code, string message );
|
84
|
+
T Assert.Catch<T>( TestDelegate code, string message,
|
85
85
|
params object[] parms);
|
86
86
|
</pre></div>
|
87
87
|
|
@@ -178,8 +178,10 @@ Assert.Throws( Is.InstanceOf( typeof(ApplicationException), code );
|
|
178
178
|
Assert.Throws( Is.InstanceOf<ApplicationException>(), code );
|
179
179
|
|
180
180
|
// Allow both ApplicationException and any derived type
|
181
|
-
Assert.Catch( code );
|
182
181
|
Assert.Catch<ApplicationException>( code );
|
182
|
+
|
183
|
+
// Allow any kind of exception
|
184
|
+
Assert.Catch( code );
|
183
185
|
</pre>
|
184
186
|
</div>
|
185
187
|
|
@@ -192,7 +194,7 @@ Assert.Catch<ApplicationException>( code );
|
|
192
194
|
<!-- Submenu -->
|
193
195
|
<div id="subnav">
|
194
196
|
<ul>
|
195
|
-
<li><a href="index.html">NUnit 2.5.
|
197
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
196
198
|
<ul>
|
197
199
|
<li><a href="getStarted.html">Getting Started</a></li>
|
198
200
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/explicit.html
CHANGED
@@ -210,7 +210,7 @@ public class SuccessTests
|
|
210
210
|
<!-- Submenu -->
|
211
211
|
<div id="subnav">
|
212
212
|
<ul>
|
213
|
-
<li><a href="index.html">NUnit 2.5.
|
213
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
214
214
|
<ul>
|
215
215
|
<li><a href="getStarted.html">Getting Started</a></li>
|
216
216
|
<li><a href="assertions.html">Assertions</a></li>
|
data/docs/extensibility.html
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
<p>Extensions to the NUnit framework - the part of NUnit that is referenced
|
32
32
|
by tests - usually take the form of
|
33
|
-
<a href="customConstraints.html">Custom
|
33
|
+
<a href="customConstraints.html">Custom Constraints</a>, written by users to
|
34
34
|
encapsulate tests that pertain to their specific projects.</p>
|
35
35
|
|
36
36
|
<p>Extending the features found within NUnit itself depends on the use of
|
@@ -46,7 +46,7 @@ including the GUI.</p>
|
|
46
46
|
<!-- Submenu -->
|
47
47
|
<div id="subnav">
|
48
48
|
<ul>
|
49
|
-
<li><a href="index.html">NUnit 2.5.
|
49
|
+
<li><a href="index.html">NUnit 2.5.3</a></li>
|
50
50
|
<ul>
|
51
51
|
<li><a href="getStarted.html">Getting Started</a></li>
|
52
52
|
<li><a href="assertions.html">Assertions</a></li>
|