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.
Files changed (173) hide show
  1. data/docs/addinsDialog.html +1 -1
  2. data/docs/assertions.html +1 -1
  3. data/docs/attributes.html +1 -1
  4. data/docs/category.html +1 -1
  5. data/docs/collectionAssert.html +1 -1
  6. data/docs/collectionConstraints.html +3 -1
  7. data/docs/combinatorial.html +1 -1
  8. data/docs/comparisonAsserts.html +1 -1
  9. data/docs/comparisonConstraints.html +1 -1
  10. data/docs/compoundConstraints.html +1 -1
  11. data/docs/conditionAsserts.html +1 -1
  12. data/docs/conditionConstraints.html +1 -1
  13. data/docs/configEditor.html +1 -1
  14. data/docs/configFiles.html +1 -1
  15. data/docs/consoleCommandLine.html +16 -19
  16. data/docs/constraintModel.html +1 -1
  17. data/docs/contextMenu.html +1 -1
  18. data/docs/culture.html +1 -1
  19. data/docs/customConstraints.html +1 -1
  20. data/docs/datapoint.html +1 -1
  21. data/docs/datapointProviders.html +1 -1
  22. data/docs/delayedConstraint.html +1 -1
  23. data/docs/description.html +1 -1
  24. data/docs/directoryAssert.html +1 -1
  25. data/docs/equalConstraint.html +1 -1
  26. data/docs/equalityAsserts.html +1 -1
  27. data/docs/eventListeners.html +1 -1
  28. data/docs/exception.html +1 -1
  29. data/docs/exceptionAsserts.html +26 -24
  30. data/docs/explicit.html +1 -1
  31. data/docs/extensibility.html +2 -2
  32. data/docs/extensionTips.html +1 -1
  33. data/docs/fileAssert.html +1 -1
  34. data/docs/fixtureSetup.html +1 -1
  35. data/docs/fixtureTeardown.html +2 -2
  36. data/docs/getStarted.html +1 -1
  37. data/docs/guiCommandLine.html +1 -1
  38. data/docs/identityAsserts.html +1 -1
  39. data/docs/ignore.html +1 -1
  40. data/docs/index.html +3 -3
  41. data/docs/installation.html +2 -2
  42. data/docs/license.html +1 -1
  43. data/docs/listMapper.html +1 -1
  44. data/docs/mainMenu.html +1 -1
  45. data/docs/maxtime.html +1 -1
  46. data/docs/multiAssembly.html +1 -1
  47. data/docs/nunit-console.html +1 -1
  48. data/docs/nunit-gui.html +1 -1
  49. data/docs/nunitAddins.html +1 -1
  50. data/docs/pairwise.html +1 -1
  51. data/docs/parameterizedTests.html +1 -1
  52. data/docs/pathConstraints.html +1 -1
  53. data/docs/platform.html +2 -1
  54. data/docs/pnunit.html +1 -1
  55. data/docs/projectEditor.html +1 -1
  56. data/docs/property.html +1 -1
  57. data/docs/propertyConstraint.html +1 -1
  58. data/docs/quickStart.html +1 -1
  59. data/docs/random.html +2 -2
  60. data/docs/range.html +1 -1
  61. data/docs/releaseNotes.html +73 -1
  62. data/docs/repeat.html +1 -1
  63. data/docs/requiredAddin.html +1 -1
  64. data/docs/requiresMTA.html +1 -1
  65. data/docs/requiresSTA.html +1 -1
  66. data/docs/requiresThread.html +1 -1
  67. data/docs/sameasConstraint.html +1 -1
  68. data/docs/samples.html +1 -1
  69. data/docs/sequential.html +1 -1
  70. data/docs/setCulture.html +1 -1
  71. data/docs/settingsDialog.html +1 -1
  72. data/docs/setup.html +1 -1
  73. data/docs/setupFixture.html +1 -1
  74. data/docs/stringAssert.html +1 -1
  75. data/docs/stringConstraints.html +3 -1
  76. data/docs/suite.html +1 -1
  77. data/docs/suiteBuilders.html +1 -1
  78. data/docs/teardown.html +2 -2
  79. data/docs/test.html +1 -1
  80. data/docs/testCase.html +1 -1
  81. data/docs/testCaseSource.html +4 -3
  82. data/docs/testDecorators.html +1 -1
  83. data/docs/testFixture.html +54 -21
  84. data/docs/testProperties.html +1 -1
  85. data/docs/testcaseBuilders.html +1 -1
  86. data/docs/testcaseProviders.html +1 -1
  87. data/docs/theory.html +1 -1
  88. data/docs/throwsConstraint.html +1 -1
  89. data/docs/timeout.html +1 -1
  90. data/docs/typeAsserts.html +1 -1
  91. data/docs/typeConstraints.html +1 -1
  92. data/docs/upgrade.html +1 -1
  93. data/docs/utilityAsserts.html +1 -1
  94. data/docs/valueSource.html +3 -3
  95. data/docs/values.html +1 -1
  96. data/docs/vsSupport.html +1 -1
  97. data/lib/net-1.1/framework/nunit.framework.dll +0 -0
  98. data/lib/net-1.1/framework/nunit.framework.xml +5350 -5325
  99. data/lib/net-1.1/framework/nunit.mocks.dll +0 -0
  100. data/lib/net-1.1/framework/pnunit.framework.dll +0 -0
  101. data/lib/net-1.1/lib/nunit-console-runner.dll +0 -0
  102. data/lib/net-1.1/lib/nunit.core.dll +0 -0
  103. data/lib/net-1.1/lib/nunit.core.interfaces.dll +0 -0
  104. data/lib/net-1.1/lib/nunit.fixtures.dll +0 -0
  105. data/lib/net-1.1/lib/nunit.util.dll +0 -0
  106. data/lib/net-1.1/nunit-agent.exe +0 -0
  107. data/lib/net-1.1/nunit-console.exe +0 -0
  108. data/lib/net-1.1/nunit.framework.dll +0 -0
  109. data/lib/net-1.1/pnunit-agent.exe +0 -0
  110. data/lib/net-1.1/pnunit-launcher.exe +0 -0
  111. data/lib/net-1.1/pnunit.framework.dll +0 -0
  112. data/lib/net-1.1/pnunit.tests.dll +0 -0
  113. data/lib/net-1.1/tests/loadtest-assembly.dll +0 -0
  114. data/lib/net-1.1/tests/mock-assembly.dll +0 -0
  115. data/lib/net-1.1/tests/nonamespace-assembly.dll +0 -0
  116. data/lib/net-1.1/tests/nunit-console.tests.dll +0 -0
  117. data/lib/net-1.1/tests/nunit.core.tests.dll +0 -0
  118. data/lib/net-1.1/tests/nunit.fixtures.tests.dll +0 -0
  119. data/lib/net-1.1/tests/nunit.framework.dll +0 -0
  120. data/lib/net-1.1/tests/nunit.framework.tests.dll +0 -0
  121. data/lib/net-1.1/tests/nunit.mocks.tests.dll +0 -0
  122. data/lib/net-1.1/tests/nunit.util.tests.dll +0 -0
  123. data/lib/net-1.1/tests/test-assembly.dll +0 -0
  124. data/lib/net-1.1/tests/test-utilities.dll +0 -0
  125. data/lib/net-1.1/tests/timing-tests.dll +0 -0
  126. data/lib/net-2.0/framework/nunit.framework.dll +0 -0
  127. data/lib/net-2.0/framework/nunit.framework.xml +5690 -5665
  128. data/lib/net-2.0/framework/nunit.mocks.dll +0 -0
  129. data/lib/net-2.0/framework/pnunit.framework.dll +0 -0
  130. data/lib/net-2.0/lib/nunit-console-runner.dll +0 -0
  131. data/lib/net-2.0/lib/nunit-gui-runner.dll +0 -0
  132. data/lib/net-2.0/lib/nunit.core.dll +0 -0
  133. data/lib/net-2.0/lib/nunit.core.interfaces.dll +0 -0
  134. data/lib/net-2.0/lib/nunit.fixtures.dll +0 -0
  135. data/lib/net-2.0/lib/nunit.uiexception.dll +0 -0
  136. data/lib/net-2.0/lib/nunit.uikit.dll +0 -0
  137. data/lib/net-2.0/lib/nunit.util.dll +0 -0
  138. data/lib/net-2.0/nunit-agent-x86.exe +0 -0
  139. data/lib/net-2.0/nunit-agent-x86.exe.config +87 -0
  140. data/lib/net-2.0/nunit-agent.exe +0 -0
  141. data/lib/net-2.0/nunit-console-x86.exe +0 -0
  142. data/lib/net-2.0/nunit-console.exe +0 -0
  143. data/lib/net-2.0/nunit-x86.exe +0 -0
  144. data/lib/net-2.0/nunit.exe +0 -0
  145. data/lib/net-2.0/nunit.framework.dll +0 -0
  146. data/lib/net-2.0/pnunit-agent.exe +0 -0
  147. data/lib/net-2.0/pnunit-launcher.exe +0 -0
  148. data/lib/net-2.0/pnunit.framework.dll +0 -0
  149. data/lib/net-2.0/pnunit.tests.dll +0 -0
  150. data/lib/net-2.0/tests/loadtest-assembly.dll +0 -0
  151. data/lib/net-2.0/tests/mock-assembly.dll +0 -0
  152. data/lib/net-2.0/tests/nonamespace-assembly.dll +0 -0
  153. data/lib/net-2.0/tests/nunit-console.tests.dll +0 -0
  154. data/lib/net-2.0/tests/nunit-gui.tests.dll +0 -0
  155. data/lib/net-2.0/tests/nunit.core.tests.dll +0 -0
  156. data/lib/net-2.0/tests/nunit.fixtures.tests.dll +0 -0
  157. data/lib/net-2.0/tests/nunit.framework.dll +0 -0
  158. data/lib/net-2.0/tests/nunit.framework.tests.dll +0 -0
  159. data/lib/net-2.0/tests/nunit.mocks.tests.dll +0 -0
  160. data/lib/net-2.0/tests/nunit.uiexception.tests.dll +0 -0
  161. data/lib/net-2.0/tests/nunit.uikit.tests.dll +0 -0
  162. data/lib/net-2.0/tests/nunit.util.tests.dll +0 -0
  163. data/lib/net-2.0/tests/test-assembly.dll +0 -0
  164. data/lib/net-2.0/tests/test-utilities.dll +0 -0
  165. data/lib/net-2.0/tests/timing-tests.dll +0 -0
  166. metadata +7 -12
  167. data/docs/img/assemblyReloadOptions.JPG +0 -0
  168. data/docs/img/testResultOptions.JPG +0 -0
  169. data/docs/img/textOutputOptions.jpg +0 -0
  170. data/docs/img/treeDisplayOptions.JPG +0 -0
  171. data/docs/img/visualStudioOptions.JPG +0 -0
  172. data/lib/net-1.1/clr.bat +0 -96
  173. data/lib/net-2.0/clr.bat +0 -96
@@ -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.2</a></li>
65
+ <li><a href="index.html">NUnit 2.5.3</a></li>
66
66
  <ul>
67
67
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
68
+ <li><a href="index.html">NUnit 2.5.3</a></li>
69
69
  <ul>
70
70
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
46
+ <li><a href="index.html">NUnit 2.5.3</a></li>
47
47
  <ul>
48
48
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
222
+ <li><a href="index.html">NUnit 2.5.3</a></li>
223
223
  <ul>
224
224
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
225
225
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
138
+ <li><a href="index.html">NUnit 2.5.3</a></li>
139
139
  <ul>
140
140
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
286
+ <li><a href="index.html">NUnit 2.5.3</a></li>
285
287
  <ul>
286
288
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
287
289
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
64
+ <li><a href="index.html">NUnit 2.5.3</a></li>
65
65
  <ul>
66
66
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
67
67
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
232
+ <li><a href="index.html">NUnit 2.5.3</a></li>
233
233
  <ul>
234
234
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
199
+ <li><a href="index.html">NUnit 2.5.3</a></li>
200
200
  <ul>
201
201
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
56
+ <li><a href="index.html">NUnit 2.5.3</a></li>
57
57
  <ul>
58
58
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
59
59
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
105
+ <li><a href="index.html">NUnit 2.5.3</a></li>
106
106
  <ul>
107
107
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
168
+ <li><a href="index.html">NUnit 2.5.3</a></li>
169
169
  <ul>
170
170
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
171
171
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
59
+ <li><a href="index.html">NUnit 2.5.3</a></li>
60
60
  <ul>
61
61
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
62
62
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
125
+ <li><a href="index.html">NUnit 2.5.3</a></li>
126
126
  <ul>
127
127
  <li><a href="getStarted.html">Getting&nbsp;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>NUnit 2.5 provides several alternative ways to do this.
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>When only one version of the CLR is used, the config files for nunit-gui and
85
- nunit-console may be set up to specify that version. As a more convenient
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>For example, to run the tests in nunit.tests.dll under the RTM version of
90
- the .Net 2.0 framework, use:</p>
91
-
92
- <pre class="programtext"> clr net-2.0 nunit-console nunit.tests.dll</pre>
93
-
94
- <p>The <b>clr.bat</b> file is located in the NUnit <b>bin</b> directory. You may
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><b>Note:</b> If you use a &lt;startup&gt; section in the config file, it takes
99
- precedence over this option.</p>
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.2</a></li>
269
+ <li><a href="index.html">NUnit 2.5.3</a></li>
273
270
  <ul>
274
271
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
275
272
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
127
+ <li><a href="index.html">NUnit 2.5.3</a></li>
128
128
  <ul>
129
129
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
130
130
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
72
+ <li><a href="index.html">NUnit 2.5.3</a></li>
73
73
  <ul>
74
74
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
212
+ <li><a href="index.html">NUnit 2.5.3</a></li>
213
213
  <ul>
214
214
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
215
215
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
83
+ <li><a href="index.html">NUnit 2.5.3</a></li>
84
84
  <ul>
85
85
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
58
+ <li><a href="index.html">NUnit 2.5.3</a></li>
59
59
  <ul>
60
60
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
87
+ <li><a href="index.html">NUnit 2.5.3</a></li>
88
88
  <ul>
89
89
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
90
90
  <li><a href="assertions.html">Assertions</a></li>
@@ -51,7 +51,7 @@
51
51
  <!-- Submenu -->
52
52
  <div id="subnav">
53
53
  <ul>
54
- <li><a href="index.html">NUnit 2.5.2</a></li>
54
+ <li><a href="index.html">NUnit 2.5.3</a></li>
55
55
  <ul>
56
56
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
57
57
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
135
+ <li><a href="index.html">NUnit 2.5.3</a></li>
136
136
  <ul>
137
137
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
138
138
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
109
+ <li><a href="index.html">NUnit 2.5.3</a></li>
110
110
  <ul>
111
111
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
112
112
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
215
+ <li><a href="index.html">NUnit 2.5.3</a></li>
216
216
  <ul>
217
217
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
218
218
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
148
+ <li><a href="index.html">NUnit 2.5.3</a></li>
149
149
  <ul>
150
150
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
151
151
  <li><a href="assertions.html">Assertions</a></li>
@@ -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.2</a></li>
68
+ <li><a href="index.html">NUnit 2.5.3</a></li>
69
69
  <ul>
70
70
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
255
+ <li><a href="index.html">NUnit 2.5.3</a></li>
256
256
  <ul>
257
257
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
258
258
  <li><a href="assertions.html">Assertions</a></li>
@@ -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&lt;T&gt;( TestDelegate code );
62
- Assert.Throws&lt;T&gt;( TestDelegate code, string message );
63
- Assert.Throws&lt;T&gt;( TestDelegate code, string message,
61
+ T Assert.Throws&lt;T&gt;( TestDelegate code );
62
+ T Assert.Throws&lt;T&gt;( TestDelegate code, string message );
63
+ T Assert.Throws&lt;T&gt;( 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&lt;T&gt;( TestDelegate code );
83
- Assert.Catch&lt;T&gt;( TestDelegate code, string message );
84
- Assert.Catch&lt;T&gt;( TestDelegate code, string message,
82
+ T Assert.Catch&lt;T&gt;( TestDelegate code );
83
+ T Assert.Catch&lt;T&gt;( TestDelegate code, string message );
84
+ T Assert.Catch&lt;T&gt;( 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&lt;ApplicationException&gt;(), code );
179
179
 
180
180
  // Allow both ApplicationException and any derived type
181
- Assert.Catch( code );
182
181
  Assert.Catch&lt;ApplicationException&gt;( 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&lt;ApplicationException&gt;( code );
192
194
  <!-- Submenu -->
193
195
  <div id="subnav">
194
196
  <ul>
195
- <li><a href="index.html">NUnit 2.5.2</a></li>
197
+ <li><a href="index.html">NUnit 2.5.3</a></li>
196
198
  <ul>
197
199
  <li><a href="getStarted.html">Getting&nbsp;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.2</a></li>
213
+ <li><a href="index.html">NUnit 2.5.3</a></li>
214
214
  <ul>
215
215
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
216
216
  <li><a href="assertions.html">Assertions</a></li>
@@ -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 Constaints</a>, written by users to
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.2</a></li>
49
+ <li><a href="index.html">NUnit 2.5.3</a></li>
50
50
  <ul>
51
51
  <li><a href="getStarted.html">Getting&nbsp;Started</a></li>
52
52
  <li><a href="assertions.html">Assertions</a></li>