sharptestsex-nunit 1.0.0.0.20100911

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,31 @@
1
+ Microsoft Public License (Ms-PL)
2
+
3
+ This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
4
+
5
+ 1. Definitions
6
+
7
+ The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
8
+
9
+ A "contribution" is the original software, or any additions or changes to the software.
10
+
11
+ A "contributor" is any person that distributes its contribution under this license.
12
+
13
+ "Licensed patents" are a contributor's patent claims that read directly on its contribution.
14
+
15
+ 2. Grant of Rights
16
+
17
+ (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
18
+
19
+ (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
20
+
21
+ 3. Conditions and Limitations
22
+
23
+ (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
24
+
25
+ (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
26
+
27
+ (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
28
+
29
+ (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
30
+
31
+ (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
@@ -0,0 +1,772 @@
1
+ <?xml version="1.0"?>
2
+ <doc>
3
+ <assembly>
4
+ <name>SharpTestsEx.NUnit</name>
5
+ </assembly>
6
+ <members>
7
+ <member name="T:SharpTestsEx.ActionAssert">
8
+ <summary>
9
+ Assertion for <see cref="T:System.Action"/>.
10
+ </summary>
11
+ </member>
12
+ <member name="M:SharpTestsEx.ActionAssert.Throws``1(System.Action)">
13
+ <summary>
14
+ Verifies that the given <see cref="T:System.Action"/> throws a specific <see cref="T:System.Exception"/>.
15
+ </summary>
16
+ <typeparam name="T">The specific expected <see cref="T:System.Exception"/>.</typeparam>
17
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
18
+ <returns>The <see cref="T:System.Exception"/>.</returns>
19
+ <exception cref="T:SharpTestsEx.AssertException">The <paramref name="action"/> does not throws the expected <see cref="T:System.Exception"/>. </exception>
20
+ </member>
21
+ <member name="M:SharpTestsEx.ActionAssert.Throws``1(System.Action,System.String)">
22
+ <summary>
23
+ Verifies that the given <see cref="T:System.Action"/> throws a specific <see cref="T:System.Exception"/>.
24
+ </summary>
25
+ <typeparam name="T">The specific expected <see cref="T:System.Exception"/>.</typeparam>
26
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
27
+ <param name="customMessage">A message to display if the assertion fails. This message can be seen in the unit test results. </param>
28
+ <returns>The <see cref="T:System.Exception"/>.</returns>
29
+ <exception cref="T:SharpTestsEx.AssertException">The <paramref name="action"/> does not throws the expected <see cref="T:System.Exception"/>. </exception>
30
+ </member>
31
+ <member name="M:SharpTestsEx.ActionAssert.Throws(System.Action)">
32
+ <summary>
33
+ Verifies that the given <see cref="T:System.Action"/> throws an <see cref="T:System.Exception"/>.
34
+ </summary>
35
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
36
+ <returns>The <see cref="T:System.Exception"/>.</returns>
37
+ <exception cref="T:SharpTestsEx.AssertException">The <paramref name="action"/> does not throws an <see cref="T:System.Exception"/>. </exception>
38
+ </member>
39
+ <member name="M:SharpTestsEx.ActionAssert.Throws(System.Action,System.String)">
40
+ <summary>
41
+ Verifies that the given <see cref="T:System.Action"/> throws an <see cref="T:System.Exception"/>.
42
+ </summary>
43
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
44
+ <param name="customMessage">A message to display if the assertion fails. This message can be seen in the unit test results. </param>
45
+ <returns>The <see cref="T:System.Exception"/>.</returns>
46
+ <exception cref="T:SharpTestsEx.AssertException">The <paramref name="action"/> does not throws the expected <see cref="T:System.Exception"/>. </exception>
47
+ </member>
48
+ <member name="M:SharpTestsEx.ActionAssert.NotThrow(System.Action)">
49
+ <summary>
50
+ Verifies that the given <see cref="T:System.Action"/> does not throw any <see cref="T:System.Exception"/>.
51
+ </summary>
52
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
53
+ </member>
54
+ <member name="M:SharpTestsEx.ActionAssert.NotThrow(System.Action,System.String)">
55
+ <summary>
56
+ Verifies that the given <see cref="T:System.Action"/> does not throw any <see cref="T:System.Exception"/>.
57
+ </summary>
58
+ <param name="action">The given <see cref="T:System.Action"/> to execute.</param>
59
+ <param name="customMessage">A message to display if the assertion fails. This message can be seen in the unit test results. </param>
60
+ </member>
61
+ <member name="T:SharpTestsEx.Assertions.ExpressionStringBuilder">
62
+ <summary>
63
+ The intention of <see cref="T:SharpTestsEx.Assertions.ExpressionStringBuilder"/> is to create a more readable
64
+ string representation for the failure message.
65
+ </summary>
66
+ </member>
67
+ <member name="T:SharpTestsEx.Assertions.NullAssertion`1">
68
+ <summary>
69
+ Verifies that the specified object is null. The assertion fails if it is not null.
70
+ </summary>
71
+ <typeparam name="TA">Type of the actual value subject of the assertion.</typeparam>
72
+ </member>
73
+ <member name="T:SharpTestsEx.Assertions.Assertion`2">
74
+ <summary>
75
+ Represent a Assertion template where the real logic is delegated.
76
+ </summary>
77
+ <typeparam name="TA">Type of the actual value.</typeparam>
78
+ <typeparam name="TE">Type of the expected value.</typeparam>
79
+ </member>
80
+ <member name="M:SharpTestsEx.Assertions.NullAssertion`1.#ctor">
81
+ <summary>
82
+ Initializes a new instance of the <see cref="T:SharpTestsEx.Assertions.NullAssertion`1"/> class.
83
+ </summary>
84
+ </member>
85
+ <member name="T:SharpTestsEx.Assertions.ObjectEqualsAssertion`2">
86
+ <summary>
87
+ Verifies that two specified generic type data are equal. The assertion fails if they are not equal.
88
+ </summary>
89
+ <typeparam name="TA">Type of the actual value.</typeparam>
90
+ <typeparam name="TE">Type of the expected value.</typeparam>
91
+ <remarks>
92
+ The comparison is done ny the base <see cref="M:System.Object.Equals(System.Object,System.Object)"/>.
93
+ </remarks>
94
+ </member>
95
+ <member name="M:SharpTestsEx.Assertions.ObjectEqualsAssertion`2.#ctor(`1)">
96
+ <summary>
97
+ Initializes a new instance of the <see cref="T:SharpTestsEx.Assertions.ObjectEqualsAssertion`2"/> class.
98
+ </summary>
99
+ <param name="expected">The value to compare.</param>
100
+ </member>
101
+ <member name="T:SharpTestsEx.Assertions.SameInstanceAssertion`2">
102
+ <summary>
103
+ Verifies that two specified instances are the same object instance..
104
+ </summary>
105
+ <typeparam name="TA">Type of the actual value.</typeparam>
106
+ <typeparam name="TE">Type of the expected value.</typeparam>
107
+ </member>
108
+ <member name="M:SharpTestsEx.Assertions.SameInstanceAssertion`2.#ctor(`1)">
109
+ <summary>
110
+ Initializes a new instance of the <see cref="T:SharpTestsEx.Assertions.SameInstanceAssertion`2"/> class.
111
+ </summary>
112
+ <param name="expected">The value to compare.</param>
113
+ </member>
114
+ <member name="T:SharpTestsEx.ClassConstraintsExtensions">
115
+ <summary>
116
+ Extensions for constraint over object instances.
117
+ </summary>
118
+ </member>
119
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.SameInstanceAs(SharpTestsEx.IClassBeConstraints,System.Object)">
120
+ <summary>
121
+ Verifies that actual is the same instance than <paramref name="expected"/>.
122
+ </summary>
123
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
124
+ <param name="expected">The expected object instance.</param>
125
+ <returns>Chainable And constraint</returns>
126
+ </member>
127
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.InstanceOf``1(SharpTestsEx.IClassBeConstraints)">
128
+ <summary>
129
+ Verifies that actual is an instance of <typeparamref name="T"/>.
130
+ </summary>
131
+ <typeparam name="T">The <see cref="T:System.Type"/> expected.</typeparam>
132
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
133
+ <returns>Chainable And constraint</returns>
134
+ </member>
135
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.AssignableFrom``1(SharpTestsEx.IClassBeConstraints)">
136
+ <summary>
137
+ Verifies that actual instance is assignable from <typeparamref name="T"/>.
138
+ </summary>
139
+ <typeparam name="T">The <see cref="T:System.Type"/> expected.</typeparam>
140
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
141
+ <returns>Chainable And constraint</returns>
142
+ </member>
143
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.AssignableTo``1(SharpTestsEx.IClassBeConstraints)">
144
+ <summary>
145
+ Verifies that actual instance is assignable to <typeparamref name="T"/>.
146
+ </summary>
147
+ <typeparam name="T">The <see cref="T:System.Type"/> expected.</typeparam>
148
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
149
+ <returns>Chainable And constraint</returns>
150
+ </member>
151
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.BinarySerializable(SharpTestsEx.IClassBeConstraints)">
152
+ <summary>
153
+ Verifies that actual instance is serializable using <see cref="T:System.Runtime.Serialization.Formatters.Binary.BinaryFormatter"/>.
154
+ </summary>
155
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
156
+ <returns>Chainable And constraint</returns>
157
+ </member>
158
+ <member name="M:SharpTestsEx.ClassConstraintsExtensions.XmlSerializable(SharpTestsEx.IClassBeConstraints)">
159
+ <summary>
160
+ Verifies that actual instance is serializable using <see cref="T:System.Xml.Serialization.XmlSerializer"/>.
161
+ </summary>
162
+ <param name="constraint">The <see cref="T:SharpTestsEx.IClassBeConstraints"/> extented.</param>
163
+ <returns>Chainable And constraint</returns>
164
+ </member>
165
+ <member name="T:SharpTestsEx.Executing">
166
+ <summary>
167
+ Useful class to avoid the creation of new Action.
168
+ </summary>
169
+ <remarks>
170
+ This class can be used when the instance of the class under test is no available;
171
+ typically to test a constructor.
172
+ When you have an instance of the class under test the most appropite way to test an action
173
+ is the extension <see cref="M:SharpTestsEx.Extensions.Executing``1(``0,System.Linq.Expressions.Expression{System.Action{``0}})"/>.
174
+ </remarks>
175
+ <example>
176
+ <code>
177
+ Executing.This(() =&gt; new AClass(null)).Should().Throw();
178
+ </code>
179
+ <code>
180
+ Executing.This(() =&gt; new AClass(null)).Should().Throw{ArgumentNullException}()
181
+ .And.ValueOf
182
+ .ParamName.Should().Be("obj");
183
+ </code>
184
+ </example>
185
+ </member>
186
+ <member name="T:SharpTestsEx.IConstraints`1">
187
+ <summary>
188
+ Basic contract for a generic constraint.
189
+ </summary>
190
+ <typeparam name="T">The type of the 'actual' value subject of the test.</typeparam>
191
+ </member>
192
+ <member name="M:SharpTestsEx.IExpressionActionConstraints`1.Throws``1">
193
+ <summary>
194
+ Verifies that the <see cref="T:System.Action`1"/> throws a specific <see cref="T:System.Exception"/>.
195
+ </summary>
196
+ <typeparam name="TException">The specific <see cref="T:System.Exception"/> subclass expected. </typeparam>
197
+ <returns>Chainable And constraint</returns>
198
+ </member>
199
+ <member name="M:SharpTestsEx.IExpressionActionConstraints`1.Throws">
200
+ <summary>
201
+ Verifies that the <see cref="T:System.Action"/> throws an <see cref="T:System.Exception"/>.
202
+ </summary>
203
+ <returns>Chainable And constraint</returns>
204
+ </member>
205
+ <member name="M:SharpTestsEx.IExpressionActionConstraints`1.NotThrows">
206
+ <summary>
207
+ Verifies that the <see cref="T:System.Action"/> does not throw any <see cref="T:System.Exception"/>.
208
+ </summary>
209
+ </member>
210
+ <member name="T:SharpTestsEx.EnumerableExtensions">
211
+ <summary>
212
+ <see cref="T:System.Collections.Generic.IEnumerable`1"/> etensions methods.
213
+ </summary>
214
+ </member>
215
+ <member name="M:SharpTestsEx.EnumerableExtensions.PositionOfFirstDifference``1(System.Collections.Generic.IEnumerable{``0},System.Collections.Generic.IEnumerable{``0})">
216
+ <summary>
217
+ Find the first position where two sequence differ
218
+ </summary>
219
+ <typeparam name="TSource">The type of the elements of the input sequences.</typeparam>
220
+ <param name="first">An <see cref="T:System.Collections.Generic.IEnumerable`1"/> to compare to second</param>
221
+ <param name="second">An <see cref="T:System.Collections.Generic.IEnumerable`1"/> to compare to the first sequence. </param>
222
+ <returns>The position of the first difference; otherwise -1 where the two sequences has the same sequence.</returns>
223
+ </member>
224
+ <member name="T:SharpTestsEx.ExceptionExtensions">
225
+ <summary>
226
+ Useful extensions to test <see cref="T:System.Exception"/>s.
227
+ </summary>
228
+ </member>
229
+ <member name="M:SharpTestsEx.ExceptionExtensions.InnerExceptions(System.Exception)">
230
+ <summary>
231
+ Returns a sequence of all Inner Exceptions.
232
+ </summary>
233
+ <param name="source">The root <see cref="T:System.Exception"/> </param>
234
+ <returns>A <see cref="T:System.Collections.Generic.IEnumerable`1"/> of all Inner Exceptions</returns>
235
+ </member>
236
+ <member name="M:SharpTestsEx.ExceptionExtensions.Exceptions(System.Exception)">
237
+ <summary>
238
+ Returns a sequence of including the root <see cref="T:System.Exception"/> and all Inner Exceptions.
239
+ </summary>
240
+ <param name="source">The root <see cref="T:System.Exception"/> </param>
241
+ <returns>A <see cref="T:System.Collections.Generic.IEnumerable`1"/> of including the root <see cref="T:System.Exception"/> and all Inner Exceptions.</returns>
242
+ </member>
243
+ <member name="T:SharpTestsEx.IActionConstraints">
244
+ <summary>
245
+ Constraints for <see cref="T:System.Action"/>.
246
+ </summary>
247
+ </member>
248
+ <member name="M:SharpTestsEx.IActionConstraints.Throw``1">
249
+ <summary>
250
+ Verifies that the <see cref="T:System.Action"/> throws a specific <see cref="T:System.Exception"/>.
251
+ </summary>
252
+ <typeparam name="TException">The specific <see cref="T:System.Exception"/> subclass expected. </typeparam>
253
+ <returns>Chainable And constraint</returns>
254
+ </member>
255
+ <member name="M:SharpTestsEx.IActionConstraints.Throw">
256
+ <summary>
257
+ Verifies that the <see cref="T:System.Action"/> throws an.
258
+ </summary>
259
+ <returns>Chainable And constraint</returns>
260
+ </member>
261
+ <member name="M:SharpTestsEx.IActionConstraints.NotThrow">
262
+ <summary>
263
+ Verifies that the <see cref="T:System.Action"/> does not throw any <see cref="T:System.Exception"/>.
264
+ </summary>
265
+ </member>
266
+ <member name="P:SharpTestsEx.IActionAndConstraints`2.Exception">
267
+ <summary>
268
+ The instance <see cref="P:SharpTestsEx.IActionAndConstraints`2.Exception"/> thrown.
269
+ </summary>
270
+ <remarks>
271
+ <example>
272
+ <code>
273
+ var ex = (new Action(() =&gt; new AClass(null))).Should().Throw().Exception;
274
+ </code>
275
+ </example>
276
+ </remarks>
277
+ </member>
278
+ <member name="T:SharpTestsEx.IThrowConstraints`1">
279
+ <summary>
280
+ Chainable constraint for <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/>
281
+ </summary>
282
+ <typeparam name="TException">The specific <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/> subclass expected. </typeparam>
283
+ </member>
284
+ <member name="P:SharpTestsEx.IThrowConstraints`1.ValueOf">
285
+ <summary>
286
+ The <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/> thrown.
287
+ </summary>
288
+ <remarks>
289
+ Allow an readable chained way to begin a new assertion based on one of the properties
290
+ of the expected <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/>
291
+ <example>
292
+ <code>
293
+ (new Action(() =&gt; new AClass(null)))
294
+ .Should().Throw{ArgumentNullException}()
295
+ .And.ValueOf.ParamName
296
+ .Should().Be.EqualTo("obj");
297
+ </code>
298
+ </example>
299
+ </remarks>
300
+ </member>
301
+ <member name="P:SharpTestsEx.IThrowConstraints`1.Exception">
302
+ <summary>
303
+ The instance <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/> thrown.
304
+ </summary>
305
+ <remarks>
306
+ Allow an readable chained way to begin a new assertion based on the <see cref="P:SharpTestsEx.IThrowConstraints`1.Exception"/> itself.
307
+ <example>
308
+ <code>
309
+ (new Action(() =&gt; new AClass(null)))
310
+ .Should().Throw()
311
+ .And.Exception.Should().Be.InstanceOf{ArgumentException}();
312
+ </code>
313
+ </example>
314
+ </remarks>
315
+ </member>
316
+ <member name="T:SharpTestsEx.IAssertionInfo`1">
317
+ <summary>
318
+ Assertion information.
319
+ </summary>
320
+ <typeparam name="T">The type of the value subject of the assertion.</typeparam>
321
+ </member>
322
+ <member name="P:SharpTestsEx.IAssertionInfo`1.Actual">
323
+ <summary>
324
+ Subject of the assertion.
325
+ </summary>
326
+ </member>
327
+ <member name="P:SharpTestsEx.IAssertionInfo`1.IsNegated">
328
+ <summary>
329
+ The assertion is negated ?
330
+ </summary>
331
+ </member>
332
+ <member name="P:SharpTestsEx.IAssertionInfo`1.FailureMessage">
333
+ <summary>
334
+ The title of the assertion ("message" in MsTests terminology)
335
+ </summary>
336
+ </member>
337
+ <member name="T:SharpTestsEx.IBooleanConstraints">
338
+ <summary>
339
+ Constraint over boolean values.
340
+ </summary>
341
+ </member>
342
+ <member name="T:SharpTestsEx.IBooleanBeConstraints">
343
+ <summary>
344
+ Constraints for boolean "Should Be"
345
+ </summary>
346
+ </member>
347
+ <member name="M:SharpTestsEx.IBooleanBeConstraints.True">
348
+ <summary>
349
+ Verifies that actual is true.
350
+ </summary>
351
+ </member>
352
+ <member name="M:SharpTestsEx.IBooleanBeConstraints.False">
353
+ <summary>
354
+ Verifies that actual is false.
355
+ </summary>
356
+ </member>
357
+ <member name="P:SharpTestsEx.ExtensionsImpl.NegableConstraints`2.Not">
358
+ <summary>
359
+ Negate next constraint.
360
+ </summary>
361
+ </member>
362
+ <member name="T:SharpTestsEx.IClassConstraints">
363
+ <summary>
364
+ Constraint over object instances.
365
+ </summary>
366
+ </member>
367
+ <member name="T:SharpTestsEx.IClassConstraints`1">
368
+ <summary>
369
+ Constraints for object instance of a specific gine <see cref="T:System.Type"/>.
370
+ </summary>
371
+ <typeparam name="TValue">The <see cref="T:System.Type"/> of the instance.</typeparam>
372
+ </member>
373
+ <member name="P:SharpTestsEx.IClassConstraints`1.ValueOf">
374
+ <summary>
375
+ The actual value
376
+ </summary>
377
+ </member>
378
+ <member name="P:SharpTestsEx.IClassConstraints`1.Value">
379
+ <summary>
380
+ The actual value
381
+ </summary>
382
+ </member>
383
+ <member name="T:SharpTestsEx.IClassBeConstraints">
384
+ <summary>
385
+ Constraints for object instance "Should Be"
386
+ </summary>
387
+ </member>
388
+ <member name="M:SharpTestsEx.IClassBeConstraints.EqualTo(System.Object)">
389
+ <summary>
390
+ Verifies that actual is equal to <paramref name="expected"/>.
391
+ </summary>
392
+ <param name="expected">The expected instance</param>
393
+ <returns>Chainable And constraint</returns>
394
+ </member>
395
+ <member name="M:SharpTestsEx.IClassBeConstraints.Null">
396
+ <summary>
397
+ Verifies that the <see cref="T:System.Object"/> is null.
398
+ </summary>
399
+ <returns>Chainable And constraint</returns>
400
+ </member>
401
+ <member name="M:SharpTestsEx.IClassBeConstraints.OfType``1">
402
+ <summary>
403
+ Verifies that the actual is an instance of a specific type.
404
+ </summary>
405
+ <typeparam name="T">The expected <see cref="T:System.Type"/>.</typeparam>
406
+ <returns>
407
+ A <see cref="T:SharpTestsEx.IClassConstraints`1"/> for the instance converted to
408
+ the specified type to start a chained assertion.
409
+ </returns>
410
+ </member>
411
+ <member name="T:SharpTestsEx.IComparableConstraints`1">
412
+ <summary>
413
+ Constraint over <see cref="T:System.IComparable"/> instances.
414
+ </summary>
415
+ <typeparam name="T">The concrete type of actual value.</typeparam>
416
+ </member>
417
+ <member name="T:SharpTestsEx.IComparableBeConstraints`1">
418
+ <summary>
419
+ Constraints for <see cref="T:System.IComparable"/> instance ("Should Be")
420
+ </summary>
421
+ <typeparam name="T"></typeparam>
422
+ </member>
423
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.EqualTo(System.IComparable)">
424
+ <summary>
425
+ Verifies that actual is equal to <paramref name="expected"/>.
426
+ </summary>
427
+ <param name="expected">The expected instance</param>
428
+ <returns>Chainable And constraint</returns>
429
+ </member>
430
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.GreaterThan(System.IComparable)">
431
+ <summary>
432
+ Verifies that actual is greater than <paramref name="expected"/>.
433
+ </summary>
434
+ <param name="expected">The expected instance</param>
435
+ <returns>Chainable And constraint</returns>
436
+ </member>
437
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.LessThan(System.IComparable)">
438
+ <summary>
439
+ Verifies that actual is less than <paramref name="expected"/>.
440
+ </summary>
441
+ <param name="expected">The expected instance</param>
442
+ <returns>Chainable And constraint</returns>
443
+ </member>
444
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.GreaterThanOrEqualTo(System.IComparable)">
445
+ <summary>
446
+ Verifies that actual is greater than or equal to <paramref name="expected"/>.
447
+ </summary>
448
+ <param name="expected">The expected instance</param>
449
+ <returns>Chainable And constraint</returns>
450
+ </member>
451
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.LessThanOrEqualTo(System.IComparable)">
452
+ <summary>
453
+ Verifies that actual is less than or equal to <paramref name="expected"/>.
454
+ </summary>
455
+ <param name="expected">The expected instance</param>
456
+ <returns>Chainable And constraint</returns>
457
+ </member>
458
+ <member name="M:SharpTestsEx.IComparableBeConstraints`1.IncludedIn(System.IComparable,System.IComparable)">
459
+ <summary>
460
+ Verifies that actual is included in the range <paramref name="lowLimit"/>-<paramref name="highLimit"/>.
461
+ </summary>
462
+ <param name="lowLimit">The less aceptable value.</param>
463
+ <param name="highLimit">The higher aceptable value.</param>
464
+ <returns>Chainable And constraint</returns>
465
+ </member>
466
+ <member name="M:SharpTestsEx.ExtensionsImpl.EnumerableBeConstraints`1.Null">
467
+ <summary>
468
+ Verifies that the <see cref="T:System.Collections.Generic.IEnumerable`1"/> instance is null.
469
+ </summary>
470
+ <returns>Chainable And constraint</returns>
471
+ </member>
472
+ <member name="M:SharpTestsEx.ExtensionsImpl.EnumerableBeConstraints`1.Empty">
473
+ <summary>
474
+ Verifies that the <see cref="T:System.Collections.Generic.IEnumerable`1"/> is empty.
475
+ </summary>
476
+ <returns>Chainable And constraint</returns>
477
+ </member>
478
+ <member name="M:SharpTestsEx.ExtensionsImpl.StringBeConstraints.Null">
479
+ <summary>
480
+ Verifies that the <see cref="T:System.String"/> is null.
481
+ </summary>
482
+ <returns>Chainable And constraint</returns>
483
+ </member>
484
+ <member name="M:SharpTestsEx.ExtensionsImpl.StringBeConstraints.Empty">
485
+ <summary>
486
+ Verifies that the <see cref="T:System.String"/> is empty.
487
+ </summary>
488
+ <returns>Chainable And constraint</returns>
489
+ </member>
490
+ <member name="M:SharpTestsEx.ExtensionsImpl.TypeBeConstraints.Null">
491
+ <summary>
492
+ Verifies that the <see cref="T:System.Type"/> instance is null.
493
+ </summary>
494
+ <returns>Chainable And constraint</returns>
495
+ </member>
496
+ <member name="T:SharpTestsEx.MessageBuilderInfo`2">
497
+ <summary>
498
+ Collection information to build the failure message
499
+ </summary>
500
+ <typeparam name="TActual">Type of the actual value.</typeparam>
501
+ <typeparam name="TExpected">Type of the expected value.</typeparam>
502
+ </member>
503
+ <member name="P:SharpTestsEx.MessageBuilderInfo`2.Actual">
504
+ <summary>
505
+ The actual value under test.
506
+ </summary>
507
+ </member>
508
+ <member name="P:SharpTestsEx.MessageBuilderInfo`2.Expected">
509
+ <summary>
510
+ The expected value of the test.
511
+ </summary>
512
+ </member>
513
+ <member name="P:SharpTestsEx.MessageBuilderInfo`2.AssertionPredicate">
514
+ <summary>
515
+ The name of the assertion
516
+ </summary>
517
+ <example>
518
+ "be EqualTo"
519
+ </example>
520
+ </member>
521
+ <member name="P:SharpTestsEx.MessageBuilderInfo`2.CustomMessage">
522
+ <summary>
523
+ The user custom message.
524
+ </summary>
525
+ </member>
526
+ <member name="T:SharpTestsEx.ObjectExtensions">
527
+ <summary>
528
+ Extensions for any System.Object.
529
+ </summary>
530
+ </member>
531
+ <member name="M:SharpTestsEx.ObjectExtensions.FieldValue``1(System.Object,System.String)">
532
+ <summary>
533
+ Allow access to a private field of a class instance.
534
+ </summary>
535
+ <typeparam name="T">The <see cref="T:System.Type"/> of the field. </typeparam>
536
+ <param name="source">The class instance.</param>
537
+ <param name="fieldName">The field name.</param>
538
+ <returns>The value of the field.</returns>
539
+ </member>
540
+ <member name="T:SharpTestsEx.Properties.Resources">
541
+ <summary>
542
+ A strongly-typed resource class, for looking up localized strings, etc.
543
+ </summary>
544
+ </member>
545
+ <member name="P:SharpTestsEx.Properties.Resources.ResourceManager">
546
+ <summary>
547
+ Returns the cached ResourceManager instance used by this class.
548
+ </summary>
549
+ </member>
550
+ <member name="P:SharpTestsEx.Properties.Resources.Culture">
551
+ <summary>
552
+ Overrides the current thread's CurrentUICulture property for all
553
+ resource lookups using this strongly typed resource class.
554
+ </summary>
555
+ </member>
556
+ <member name="P:SharpTestsEx.Properties.Resources.AssertionVerb">
557
+ <summary>
558
+ Looks up a localized string similar to Should.
559
+ </summary>
560
+ </member>
561
+ <member name="P:SharpTestsEx.Properties.Resources.Be">
562
+ <summary>
563
+ Looks up a localized string similar to Be.
564
+ </summary>
565
+ </member>
566
+ <member name="P:SharpTestsEx.Properties.Resources.EmptyEnumerable">
567
+ <summary>
568
+ Looks up a localized string similar to &lt;Empty&gt;.
569
+ </summary>
570
+ </member>
571
+ <member name="P:SharpTestsEx.Properties.Resources.ExceptionMsgAccessToField">
572
+ <summary>
573
+ Looks up a localized string similar to Can&apos;t access to a field of a null value..
574
+ </summary>
575
+ </member>
576
+ <member name="P:SharpTestsEx.Properties.Resources.ExceptionMsgFieldNameTmpl">
577
+ <summary>
578
+ Looks up a localized string similar to The class {0} does not contain a field named {1}..
579
+ </summary>
580
+ </member>
581
+ <member name="P:SharpTestsEx.Properties.Resources.ExceptionMsgInvalidCastTmpl">
582
+ <summary>
583
+ Looks up a localized string similar to The class {0} does contain a field named {1} but its type is {2} and not {3}..
584
+ </summary>
585
+ </member>
586
+ <member name="P:SharpTestsEx.Properties.Resources.ExceptionMsgSerializableNull">
587
+ <summary>
588
+ Looks up a localized string similar to Can&apos;t check serialization for (null) value..
589
+ </summary>
590
+ </member>
591
+ <member name="P:SharpTestsEx.Properties.Resources.ExpectedTmpl">
592
+ <summary>
593
+ Looks up a localized string similar to Expected: {0}.
594
+ </summary>
595
+ </member>
596
+ <member name="P:SharpTestsEx.Properties.Resources.FailureMsgDifferences">
597
+ <summary>
598
+ Looks up a localized string similar to Differences :.
599
+ </summary>
600
+ </member>
601
+ <member name="P:SharpTestsEx.Properties.Resources.FailureMsgEnumerableDiffPosTmpl">
602
+ <summary>
603
+ Looks up a localized string similar to Values differ at position {0}..
604
+ </summary>
605
+ </member>
606
+ <member name="P:SharpTestsEx.Properties.Resources.FailureMsgNotThrow">
607
+ <summary>
608
+ Looks up a localized string similar to Not expected exception message:.
609
+ </summary>
610
+ </member>
611
+ <member name="P:SharpTestsEx.Properties.Resources.FailureMsgStringDiffPosTmpl">
612
+ <summary>
613
+ Looks up a localized string similar to Strings differ at position {0}..
614
+ </summary>
615
+ </member>
616
+ <member name="P:SharpTestsEx.Properties.Resources.FoundTmpl">
617
+ <summary>
618
+ Looks up a localized string similar to Found : {0}.
619
+ </summary>
620
+ </member>
621
+ <member name="P:SharpTestsEx.Properties.Resources.Negation">
622
+ <summary>
623
+ Looks up a localized string similar to Not.
624
+ </summary>
625
+ </member>
626
+ <member name="P:SharpTestsEx.Properties.Resources.NullValue">
627
+ <summary>
628
+ Looks up a localized string similar to (null).
629
+ </summary>
630
+ </member>
631
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeAssignableFrom">
632
+ <summary>
633
+ Looks up a localized string similar to Be Assignable From.
634
+ </summary>
635
+ </member>
636
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeAssignableTo">
637
+ <summary>
638
+ Looks up a localized string similar to Be Assignable To.
639
+ </summary>
640
+ </member>
641
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeBinarySerializable">
642
+ <summary>
643
+ Looks up a localized string similar to Be Binary Serializable.
644
+ </summary>
645
+ </member>
646
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeEmpty">
647
+ <summary>
648
+ Looks up a localized string similar to Be Empty.
649
+ </summary>
650
+ </member>
651
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeEqualTo">
652
+ <summary>
653
+ Looks up a localized string similar to Be Equal To.
654
+ </summary>
655
+ </member>
656
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeGreaterThan">
657
+ <summary>
658
+ Looks up a localized string similar to Be Greater Than.
659
+ </summary>
660
+ </member>
661
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeGreaterThanOrEquaTo">
662
+ <summary>
663
+ Looks up a localized string similar to Be Greater than Or Equal to.
664
+ </summary>
665
+ </member>
666
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeInRange">
667
+ <summary>
668
+ Looks up a localized string similar to Be in Range.
669
+ </summary>
670
+ </member>
671
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeInstanceOf">
672
+ <summary>
673
+ Looks up a localized string similar to Be Instance Of.
674
+ </summary>
675
+ </member>
676
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeLessThan">
677
+ <summary>
678
+ Looks up a localized string similar to Be Less Than.
679
+ </summary>
680
+ </member>
681
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeLessThanOrEqualTo">
682
+ <summary>
683
+ Looks up a localized string similar to Be Less than Or Equal to.
684
+ </summary>
685
+ </member>
686
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeNull">
687
+ <summary>
688
+ Looks up a localized string similar to Be Null.
689
+ </summary>
690
+ </member>
691
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeOrdered">
692
+ <summary>
693
+ Looks up a localized string similar to Be Ordered.
694
+ </summary>
695
+ </member>
696
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeOrderedAscending">
697
+ <summary>
698
+ Looks up a localized string similar to Be Ordered ascending.
699
+ </summary>
700
+ </member>
701
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeOrderedBy">
702
+ <summary>
703
+ Looks up a localized string similar to Be Ordered By ({0}).
704
+ </summary>
705
+ </member>
706
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeSameAs">
707
+ <summary>
708
+ Looks up a localized string similar to Be Same instance As.
709
+ </summary>
710
+ </member>
711
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeSubClassOf">
712
+ <summary>
713
+ Looks up a localized string similar to Be SubClass Of.
714
+ </summary>
715
+ </member>
716
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeSubsetOf">
717
+ <summary>
718
+ Looks up a localized string similar to Be Subset Of.
719
+ </summary>
720
+ </member>
721
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateBeXmlSerializable">
722
+ <summary>
723
+ Looks up a localized string similar to Be Xml Serializable.
724
+ </summary>
725
+ </member>
726
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateContain">
727
+ <summary>
728
+ Looks up a localized string similar to Contain.
729
+ </summary>
730
+ </member>
731
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateDoesNotThrow">
732
+ <summary>
733
+ Looks up a localized string similar to Not throw.
734
+ </summary>
735
+ </member>
736
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateHaveAttribute">
737
+ <summary>
738
+ Looks up a localized string similar to Have Attribute.
739
+ </summary>
740
+ </member>
741
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateHaveSameSequenceAs">
742
+ <summary>
743
+ Looks up a localized string similar to Have Same Sequence As.
744
+ </summary>
745
+ </member>
746
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateHaveSameValuesAs">
747
+ <summary>
748
+ Looks up a localized string similar to Have Same Values As.
749
+ </summary>
750
+ </member>
751
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateHaveUniqueValues">
752
+ <summary>
753
+ Looks up a localized string similar to Have Unique Values.
754
+ </summary>
755
+ </member>
756
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateHaveValue">
757
+ <summary>
758
+ Looks up a localized string similar to Have Value.
759
+ </summary>
760
+ </member>
761
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateThrow">
762
+ <summary>
763
+ Looks up a localized string similar to Throw.
764
+ </summary>
765
+ </member>
766
+ <member name="P:SharpTestsEx.Properties.Resources.PredicateThrows">
767
+ <summary>
768
+ Looks up a localized string similar to Throws an exception.
769
+ </summary>
770
+ </member>
771
+ </members>
772
+ </doc>
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sharptestsex-nunit
3
+ version: !ruby/object:Gem::Version
4
+ hash: 40201921
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ - 0
11
+ - 20100911
12
+ version: 1.0.0.0.20100911
13
+ platform: ruby
14
+ authors:
15
+ - Fabio Maulo
16
+ - JDiamond
17
+ autorequire:
18
+ bindir: bin
19
+ cert_chain: []
20
+
21
+ date: 2010-09-11 00:00:00 -05:00
22
+ default_executable:
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: nunit
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - "="
31
+ - !ruby/object:Gem::Version
32
+ hash: 20307
33
+ segments:
34
+ - 2
35
+ - 5
36
+ - 5
37
+ - 10112
38
+ version: 2.5.5.10112
39
+ type: :runtime
40
+ version_requirements: *id001
41
+ description: "#TestsEx (Sharp Tests Extensions) is a set of extensible extensions. The main target is write short assertions where the Visual Studio IDE intellisense is your guide. #TestsEx can be used with NUnit, MsTests, xUnit, MbUnit. Note: This is the nunit-specific build and depends upon NUnit. For a framework-independent build, use the sharptestsex gem. For other unit test framework builds, you may use one of the following gems: [sharptestsex-xunit, sharptestsex-mstest]"
42
+ email: ""
43
+ executables: []
44
+
45
+ extensions: []
46
+
47
+ extra_rdoc_files: []
48
+
49
+ files:
50
+ - lib/sharptestsex-nunit/License.txt
51
+ - lib/sharptestsex-nunit/SharpTestsEx.NUnit.dll
52
+ - lib/sharptestsex-nunit/SharpTestsEx.NUnit.xml
53
+ has_rdoc: true
54
+ homepage: http://sharptestex.codeplex.com/
55
+ licenses: []
56
+
57
+ post_install_message:
58
+ rdoc_options: []
59
+
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
70
+ version: "0"
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
79
+ version: "0"
80
+ requirements: []
81
+
82
+ rubyforge_project: sharptestsex
83
+ rubygems_version: 1.3.7
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: Sharp Tests Ex (for NUnit) - .NET Fluent Assertions for Your Tests
87
+ test_files: []
88
+