fluentassertions 1.2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/MSTest2008/FluentAssertions.XML +545 -0
- data/lib/MSTest2008/FluentAssertions.dll +0 -0
- data/lib/MSTest2008/FluentAssertions.pdb +0 -0
- data/lib/MSTest2010/FluentAssertions.XML +545 -0
- data/lib/MSTest2010/FluentAssertions.dll +0 -0
- data/lib/MSTest2010/FluentAssertions.pdb +0 -0
- data/lib/NUnit/FluentAssertions.XML +545 -0
- data/lib/NUnit/FluentAssertions.dll +0 -0
- data/lib/NUnit/FluentAssertions.pdb +0 -0
- data/lib/Silverlight/FluentAssertions.Silverlight.XML +545 -0
- data/lib/Silverlight/FluentAssertions.Silverlight.dll +0 -0
- data/lib/Silverlight/FluentAssertions.Silverlight.pdb +0 -0
- data/lib/xUnit/FluentAssertions.dll +0 -0
- data/lib/xUnit/FluentAssertions.pdb +0 -0
- data/lib/xUnit/FluentAssertions.xml +545 -0
- metadata +83 -0
@@ -0,0 +1,545 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<doc>
|
3
|
+
<assembly>
|
4
|
+
<name>FluentAssertions</name>
|
5
|
+
</assembly>
|
6
|
+
<members>
|
7
|
+
<member name="M:FluentAssertions.AssertionsBase`1.VerifyThat(System.Func{System.Boolean},System.String,System.Object,System.Object,System.String,System.Object[])">
|
8
|
+
<summary>
|
9
|
+
Asserts that the supplied <paramref name="condition"/> is met.
|
10
|
+
</summary>
|
11
|
+
<param name="condition">The condition to assert</param>
|
12
|
+
<param name="failureMessage">
|
13
|
+
The message that will be used in the <see cref="T:FluentAssertions.SpecificationMismatchException"/>. This should describe what
|
14
|
+
was expected and why. This message should contain the following 3 placeholders:<br/>
|
15
|
+
<list type="bullet">
|
16
|
+
<item>{0} = expected value</item>
|
17
|
+
<item>{1} = actual value</item>
|
18
|
+
<item>{2} = the reason for the expectation</item>
|
19
|
+
</list>
|
20
|
+
</param>
|
21
|
+
<param name="expected">The expected value, or <c>null</c> if there is no explicit expected value</param>
|
22
|
+
<param name="actual">The actual value, or <c>null</c> if there is no explicit actual value</param>
|
23
|
+
<param name="reason">Should describe the reason for the expectation</param>
|
24
|
+
<param name="reasonParameters">Optional parameters for the <paramref name="reason"/></param>
|
25
|
+
<example>
|
26
|
+
<code>
|
27
|
+
VerifyThat(() => value == 0,
|
28
|
+
"Expected value to be <{0}>{2}, but found <{1}>",
|
29
|
+
expected,
|
30
|
+
reason,
|
31
|
+
reasonParameters);
|
32
|
+
</code>
|
33
|
+
</example>
|
34
|
+
<exception cref="T:FluentAssertions.SpecificationMismatchException">when an exception is thrown.</exception>
|
35
|
+
</member>
|
36
|
+
<member name="M:FluentAssertions.AssertionsBase`1.VerifyThat(System.Action,System.String,System.Object,System.Object,System.String,System.Object[])">
|
37
|
+
<summary>
|
38
|
+
Asserts that the supplied <paramref name="action"/> does not throw any <see cref="T:System.Exception"/>.
|
39
|
+
</summary>
|
40
|
+
<param name="action">The <see cref="T:System.Action"/> to perform</param>
|
41
|
+
<param name="failureMessage">
|
42
|
+
The message that will be used in the <see cref="T:FluentAssertions.SpecificationMismatchException"/>. This should describe what
|
43
|
+
was expected and why. This message can contain the following placeholder:<br/>
|
44
|
+
<list type="bullet">
|
45
|
+
<item>{2} = the reason for the expectation</item>
|
46
|
+
</list>
|
47
|
+
</param>
|
48
|
+
<param name="expected">The expected value, or <c>null</c> if there is no explicit expected value</param>
|
49
|
+
<param name="actual">The actual value, or <c>null</c> if there is no explicit actual value</param>
|
50
|
+
<param name="reason">Should describe the reason for the expectation</param>
|
51
|
+
<param name="reasonParameters">Optional parameters for the <paramref name="reason"/></param>
|
52
|
+
<example>
|
53
|
+
<code>
|
54
|
+
VerifyThat(() => value == 0,
|
55
|
+
"Expected value to be positive{2}, but found <{1}>",
|
56
|
+
reason,
|
57
|
+
reasonParameters);
|
58
|
+
</code>
|
59
|
+
</example>
|
60
|
+
<exception cref="T:FluentAssertions.SpecificationMismatchException">when an exception is thrown.</exception>
|
61
|
+
</member>
|
62
|
+
<member name="M:FluentAssertions.AssertionsBase`1.VerifyThat(System.Boolean,System.String,System.Object,System.Object,System.String,System.Object[])">
|
63
|
+
<summary>
|
64
|
+
Asserts that the supplied <paramref name="condition"/> is <c>true</c>.
|
65
|
+
</summary>
|
66
|
+
<param name="condition">The condition to assert</param>
|
67
|
+
<param name="failureMessage">
|
68
|
+
The message that will be used in the <see cref="T:FluentAssertions.SpecificationMismatchException"/>. This should describe what
|
69
|
+
was expected and why. This message should contain the following 3 placeholders:<br/>
|
70
|
+
<list type="bullet">
|
71
|
+
<item>{0} = expected value</item>
|
72
|
+
<item>{1} = actual value</item>
|
73
|
+
<item>{2} = the reason for the expectation</item>
|
74
|
+
</list>
|
75
|
+
</param>
|
76
|
+
<param name="expected">The expected value</param>
|
77
|
+
<param name="actual">The actual value</param>
|
78
|
+
<param name="reason">Should describe the reason for the expectation</param>
|
79
|
+
<param name="reasonParameters">Optional parameters for the <paramref name="reason"/></param>
|
80
|
+
<example>
|
81
|
+
<code>
|
82
|
+
VerifyThat(() => value == 0,
|
83
|
+
"Expected value to be <{0}>{2}, but found <{1}>",
|
84
|
+
expected,
|
85
|
+
reason,
|
86
|
+
reasonParameters);
|
87
|
+
</code>
|
88
|
+
</example>
|
89
|
+
<exception cref="T:FluentAssertions.SpecificationMismatchException">when the condition is <c>false</c>.</exception>
|
90
|
+
</member>
|
91
|
+
<member name="M:FluentAssertions.AssertionsBase`1.Format(System.Object)">
|
92
|
+
<summary>
|
93
|
+
If the value is a collection, returns it as a comma-separated string.
|
94
|
+
</summary>
|
95
|
+
</member>
|
96
|
+
<member name="M:FluentAssertions.Assertions`2.Match(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
|
97
|
+
<summary>
|
98
|
+
Asserts that the <paramref name="predicate"/> is statisfied.
|
99
|
+
</summary>
|
100
|
+
<param name="predicate">The predicate which must be satisfied by the <typeparamref name="TSubject"/>.</param>
|
101
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
102
|
+
</member>
|
103
|
+
<member name="M:FluentAssertions.Assertions`2.Match(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.String,System.Object[])">
|
104
|
+
<summary>
|
105
|
+
Asserts that the <paramref name="predicate"/> is satisfied.
|
106
|
+
</summary>
|
107
|
+
<param name="predicate">The predicate which must be statisfied by the <typeparamref name="TSubject"/>.</param>
|
108
|
+
<param name="reason">The reason why the predicate should be satisfied.</param>
|
109
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
110
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
111
|
+
</member>
|
112
|
+
<member name="M:FluentAssertions.Assertions`2.Match``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
|
113
|
+
<summary>
|
114
|
+
Asserts that the <paramref name="predicate"/> is satisfied.
|
115
|
+
</summary>
|
116
|
+
<param name="predicate">The predicate which must be statisfied by the <typeparamref name="TSubject"/>.</param>
|
117
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
118
|
+
</member>
|
119
|
+
<member name="M:FluentAssertions.Assertions`2.Match``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.String,System.Object[])">
|
120
|
+
<summary>
|
121
|
+
Asserts that the <paramref name="predicate"/> is satisfied.
|
122
|
+
</summary>
|
123
|
+
<param name="predicate">The predicate which must be statisfied by the <typeparamref name="TSubject"/>.</param>
|
124
|
+
<param name="reason">The reason why the predicate should be satisfied.</param>
|
125
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
126
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
127
|
+
</member>
|
128
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithMessage(System.String)">
|
129
|
+
<summary>
|
130
|
+
Asserts that the thrown exception has a message matching the <paramref name="expectedMessage"/>.
|
131
|
+
</summary>
|
132
|
+
<param name="expectedMessage">The expected message of the exception.</param>
|
133
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
134
|
+
</member>
|
135
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithMessage(System.String,System.String,System.Object[])">
|
136
|
+
<summary>
|
137
|
+
Asserts that the thrown exception has a message matching the <paramref name="expectedMessage"/>.
|
138
|
+
</summary>
|
139
|
+
<param name="expectedMessage">The expected message of the exception.</param>
|
140
|
+
<param name="reason">
|
141
|
+
The reason why the message of the exception should match the <paramref name="expectedMessage"/>.
|
142
|
+
</param>
|
143
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
144
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
145
|
+
</member>
|
146
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithInnerException``1">
|
147
|
+
<summary>
|
148
|
+
Asserts that the thrown exception contains an inner exception of type <typeparamref name="TInnerException"/>.
|
149
|
+
</summary>
|
150
|
+
<typeparam name="TInnerException">The expected type of the inner exception.</typeparam>
|
151
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
152
|
+
</member>
|
153
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithInnerException``1(System.String,System.Object[])">
|
154
|
+
<summary>
|
155
|
+
Asserts that the thrown exception contains an inner exception of type <typeparamref name="TInnerException"/>.
|
156
|
+
</summary>
|
157
|
+
<typeparam name="TInnerException">The expected type of the inner exception.</typeparam>
|
158
|
+
<param name="reason">The reason why the inner exception should be of the supplied type.</param>
|
159
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
160
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
161
|
+
</member>
|
162
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithInnerMessage(System.String)">
|
163
|
+
<summary>
|
164
|
+
Asserts that the thrown exception contains an inner exception with the <paramref name="expectedInnerMessage"/>.
|
165
|
+
</summary>
|
166
|
+
<param name="expectedInnerMessage">The expected message of the inner exception.</param>
|
167
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
168
|
+
</member>
|
169
|
+
<member name="M:FluentAssertions.ExceptionAssertions`1.WithInnerMessage(System.String,System.String,System.Object[])">
|
170
|
+
<summary>
|
171
|
+
Asserts that the thrown exception contains an inner exception with the <paramref name="expectedInnerMessage"/>.
|
172
|
+
</summary>
|
173
|
+
<param name="expectedInnerMessage">The expected message of the inner exception.</param>
|
174
|
+
<param name="reason">
|
175
|
+
The reason why the message of the inner exception should match <paramref name="expectedInnerMessage"/>.
|
176
|
+
</param>
|
177
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
178
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
179
|
+
</member>
|
180
|
+
<member name="P:FluentAssertions.ExceptionAssertions`1.And">
|
181
|
+
<summary>
|
182
|
+
Gets the exception object of the exception thrown.
|
183
|
+
</summary>
|
184
|
+
</member>
|
185
|
+
<member name="T:FluentAssertions.FluentAssertionExtensions">
|
186
|
+
<summary>
|
187
|
+
Contains extension methods for custom assertions in unit tests.
|
188
|
+
</summary>
|
189
|
+
</member>
|
190
|
+
<member name="M:FluentAssertions.FluentAssertionExtensions.Enumerating(System.Func{System.Collections.IEnumerable})">
|
191
|
+
<summary>
|
192
|
+
Forces enumerating a collection. Should be used to assert that a method that uses the
|
193
|
+
<c>yield</c> keyword throws a particular exception.
|
194
|
+
</summary>
|
195
|
+
</member>
|
196
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.HaveCount(System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}})">
|
197
|
+
<summary>
|
198
|
+
Asserts that the number of items in the collection matches a condition stated by a predicate.
|
199
|
+
</summary>
|
200
|
+
</member>
|
201
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.HaveCount(System.Linq.Expressions.Expression{System.Func{System.Int32,System.Boolean}},System.String,System.Object[])">
|
202
|
+
<summary>
|
203
|
+
Asserts that the number of items in the collection matches a condition stated by a predicate.
|
204
|
+
</summary>
|
205
|
+
</member>
|
206
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.Equal(System.Collections.IEnumerable)">
|
207
|
+
<summary>
|
208
|
+
Expects the current collection to contain all the same elements in the same order as the collection identified by
|
209
|
+
<param name="expected"/>. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
210
|
+
</summary>
|
211
|
+
</member>
|
212
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.Equal(System.Object[])">
|
213
|
+
<summary>
|
214
|
+
Expects the current collection to contain all the same elements in the same order as the collection identified by
|
215
|
+
<param name="expected"/>. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
216
|
+
</summary>
|
217
|
+
</member>
|
218
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.Equal(System.Collections.IEnumerable,System.String,System.Object[])">
|
219
|
+
<summary>
|
220
|
+
Expects the current collection to contain all the same elements in the same order as the collection identified by
|
221
|
+
<param name="expected"/>. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
222
|
+
</summary>
|
223
|
+
</member>
|
224
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotEqual(System.Collections.IEnumerable)">
|
225
|
+
<summary>
|
226
|
+
Expects the current collection not to contain all the same elements in the same order as the collection identified by
|
227
|
+
<param name="expected"/>. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
228
|
+
</summary>
|
229
|
+
</member>
|
230
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotEqual(System.Collections.IEnumerable,System.String,System.Object[])">
|
231
|
+
<summary>
|
232
|
+
Expects the current collection not to contain all the same elements in the same order as the collection identified by
|
233
|
+
<param name="expected"/>. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
234
|
+
</summary>
|
235
|
+
</member>
|
236
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.BeEquivalentTo(System.Collections.IEnumerable)">
|
237
|
+
<summary>
|
238
|
+
Expects the current collection to contain all elements of the collection identified by <param name="expected"/>,
|
239
|
+
regardless of the order. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
240
|
+
</summary>
|
241
|
+
</member>
|
242
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.BeEquivalentTo(System.Object[])">
|
243
|
+
<summary>
|
244
|
+
Expects the current collection to contain all elements of the collection identified by <param name="expected"/>,
|
245
|
+
regardless of the order. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
246
|
+
</summary>
|
247
|
+
</member>
|
248
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.BeEquivalentTo(System.Collections.IEnumerable,System.String,System.Object[])">
|
249
|
+
<summary>
|
250
|
+
Expects the current collection to contain all elements of the collection identified by <param name="expected"/>,
|
251
|
+
regardless of the order. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
252
|
+
</summary>
|
253
|
+
</member>
|
254
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotBeEquivalentTo(System.Collections.IEnumerable,System.String,System.Object[])">
|
255
|
+
<summary>
|
256
|
+
Expects the current collection not to contain all elements of the collection identified by <param name="expected"/>,
|
257
|
+
regardless of the order. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
258
|
+
</summary>
|
259
|
+
</member>
|
260
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.Contain(System.Collections.IEnumerable)">
|
261
|
+
<summary>
|
262
|
+
Expects the current collection to contain the specified elements in any order. Elements are compared
|
263
|
+
using their <see cref="M:System.Object.Equals(System.Object)"/> implementation.
|
264
|
+
</summary>
|
265
|
+
</member>
|
266
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.Contain(System.Collections.IEnumerable,System.String,System.Object[])">
|
267
|
+
<summary>
|
268
|
+
Expects the current collection to contain the specified elements in any order. Elements are compared
|
269
|
+
using their <see cref="M:System.Object.Equals(System.Object)"/> implementation.
|
270
|
+
</summary>
|
271
|
+
</member>
|
272
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.ContainInOrder(System.Collections.IEnumerable)">
|
273
|
+
<summary>
|
274
|
+
Expects the current collection to contain the specified elements in the exact same order. Elements are compared
|
275
|
+
using their <see cref="M:System.Object.Equals(System.Object)"/> implementation.
|
276
|
+
</summary>
|
277
|
+
</member>
|
278
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.ContainInOrder(System.Collections.IEnumerable,System.String,System.Object[])">
|
279
|
+
<summary>
|
280
|
+
Expects the current collection to contain the specified elements in the exact same order. Elements are compared
|
281
|
+
using their <see cref="M:System.Object.Equals(System.Object)"/> implementation.
|
282
|
+
</summary>
|
283
|
+
</member>
|
284
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.HaveSameCount(System.Collections.IEnumerable)">
|
285
|
+
<summary>
|
286
|
+
Assert that the current collection has the same number of elements as <paramref name="otherCollection"/>.
|
287
|
+
</summary>
|
288
|
+
</member>
|
289
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.HaveSameCount(System.Collections.IEnumerable,System.String,System.Object[])">
|
290
|
+
<summary>
|
291
|
+
Assert that the current collection has the same number of elements as <paramref name="otherCollection"/>.
|
292
|
+
</summary>
|
293
|
+
</member>
|
294
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.BeNull">
|
295
|
+
<summary>
|
296
|
+
Asserts that the current collection has not been initialized yet with an actual collection.
|
297
|
+
</summary>
|
298
|
+
</member>
|
299
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.BeNull(System.String,System.Object[])">
|
300
|
+
<summary>
|
301
|
+
Asserts that the current collection has not been initialized yet with an actual collection.
|
302
|
+
</summary>
|
303
|
+
</member>
|
304
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotBeNull">
|
305
|
+
<summary>
|
306
|
+
Asserts that the current collection has been initialized with an actual collection.
|
307
|
+
</summary>
|
308
|
+
</member>
|
309
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotBeNull(System.String,System.Object[])">
|
310
|
+
<summary>
|
311
|
+
Asserts that the current collection has been initialized with an actual collection.
|
312
|
+
</summary>
|
313
|
+
</member>
|
314
|
+
<member name="M:FluentAssertions.CollectionAssertions`2.NotBeEquivalentTo(System.Collections.IEnumerable)">
|
315
|
+
<summary>
|
316
|
+
Expects the current collection not to contain all elements of the collection identified by <param name="expected"/>,
|
317
|
+
regardless of the order. Elements are compared using their <see cref="M:System.Object.Equals(System.Object)"/>.
|
318
|
+
</summary>
|
319
|
+
</member>
|
320
|
+
<member name="M:FluentAssertions.DateTimeAssertions.BeMoreThan(System.TimeSpan)">
|
321
|
+
<summary>
|
322
|
+
The amount of time that a <see cref="T:System.DateTime"/> should exceed compared to another <see cref="T:System.DateTime"/>.
|
323
|
+
</summary>
|
324
|
+
</member>
|
325
|
+
<member name="M:FluentAssertions.DateTimeAssertions.BeAtLeast(System.TimeSpan)">
|
326
|
+
<summary>
|
327
|
+
The amount of time that a <see cref="T:System.DateTime"/> should be equal or exceed compared to another <see cref="T:System.DateTime"/>.
|
328
|
+
</summary>
|
329
|
+
</member>
|
330
|
+
<member name="M:FluentAssertions.DateTimeAssertions.BeExactly(System.TimeSpan)">
|
331
|
+
<summary>
|
332
|
+
The amount of time that a <see cref="T:System.DateTime"/> should differ exactly compared to another <see cref="T:System.DateTime"/>.
|
333
|
+
</summary>
|
334
|
+
</member>
|
335
|
+
<member name="M:FluentAssertions.DateTimeAssertions.BeWithin(System.TimeSpan)">
|
336
|
+
<summary>
|
337
|
+
The maximum amount of time that a <see cref="T:System.DateTime"/> should differ compared to another <see cref="T:System.DateTime"/>.
|
338
|
+
</summary>
|
339
|
+
</member>
|
340
|
+
<member name="M:FluentAssertions.DateTimeAssertions.BeLessThan(System.TimeSpan)">
|
341
|
+
<summary>
|
342
|
+
The amount of time that a <see cref="T:System.DateTime"/> should be within another <see cref="T:System.DateTime"/>.
|
343
|
+
</summary>
|
344
|
+
</member>
|
345
|
+
<member name="T:FluentAssertions.TimeSpanAssertions">
|
346
|
+
<summary>
|
347
|
+
Provides methods for asserting that two <see cref="T:System.DateTime"/> objects differ in certain ways.
|
348
|
+
</summary>
|
349
|
+
</member>
|
350
|
+
<member name="M:FluentAssertions.TimeSpanAssertions.Before(System.DateTime)">
|
351
|
+
<summary>
|
352
|
+
Asserts that a <see cref="T:System.DateTime"/> occurs a specified amount of time before another <see cref="T:System.DateTime"/>.
|
353
|
+
</summary>
|
354
|
+
<param name="target">
|
355
|
+
The <see cref="T:System.DateTime"/> to compare the subject with.
|
356
|
+
</param>
|
357
|
+
</member>
|
358
|
+
<member name="M:FluentAssertions.TimeSpanAssertions.Before(System.DateTime,System.String,System.Object[])">
|
359
|
+
<summary>
|
360
|
+
Asserts that a <see cref="T:System.DateTime"/> occurs a specified amount of time before another <see cref="T:System.DateTime"/>.
|
361
|
+
</summary>
|
362
|
+
<param name="target">
|
363
|
+
The <see cref="T:System.DateTime"/> to compare the subject with.
|
364
|
+
</param>
|
365
|
+
<param name="reason">
|
366
|
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
|
367
|
+
start with the word <i>because</i>, it is prepended to the message.
|
368
|
+
</param>
|
369
|
+
<param name="reasonParameters">
|
370
|
+
Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
|
371
|
+
</param>
|
372
|
+
</member>
|
373
|
+
<member name="M:FluentAssertions.TimeSpanAssertions.After(System.DateTime)">
|
374
|
+
<summary>
|
375
|
+
Asserts that a <see cref="T:System.DateTime"/> occurs a specified amount of time after another <see cref="T:System.DateTime"/>.
|
376
|
+
</summary>
|
377
|
+
<param name="target">
|
378
|
+
The <see cref="T:System.DateTime"/> to compare the subject with.
|
379
|
+
</param>
|
380
|
+
</member>
|
381
|
+
<member name="M:FluentAssertions.TimeSpanAssertions.After(System.DateTime,System.String,System.Object[])">
|
382
|
+
<summary>
|
383
|
+
Asserts that a <see cref="T:System.DateTime"/> occurs a specified amount of time after another <see cref="T:System.DateTime"/>.
|
384
|
+
</summary>
|
385
|
+
<param name="target">
|
386
|
+
The <see cref="T:System.DateTime"/> to compare the subject with.
|
387
|
+
</param>
|
388
|
+
<param name="reason">
|
389
|
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
|
390
|
+
start with the word <i>because</i>, it is prepended to the message.
|
391
|
+
</param>
|
392
|
+
<param name="reasonParameters">
|
393
|
+
Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
|
394
|
+
</param>
|
395
|
+
</member>
|
396
|
+
<member name="T:FluentAssertions.TimeSpanAssertions.TimeSpanPredicate">
|
397
|
+
<summary>
|
398
|
+
Provides the logic and the display text for a <see cref="T:FluentAssertions.TimeSpanCondition"/>.
|
399
|
+
</summary>
|
400
|
+
</member>
|
401
|
+
<member name="M:FluentAssertions.StringAssertions.#ctor(System.String)">
|
402
|
+
<summary>
|
403
|
+
Initializes a new instance of the <see cref="T:System.Object"/> class.
|
404
|
+
</summary>
|
405
|
+
</member>
|
406
|
+
<member name="M:FluentAssertions.StringAssertions.BeEquivalentTo(System.String)">
|
407
|
+
<summary>
|
408
|
+
Case insensitive comparison
|
409
|
+
</summary>
|
410
|
+
</member>
|
411
|
+
<member name="M:FluentAssertions.StringAssertions.BeEquivalentTo(System.String,System.String,System.Object[])">
|
412
|
+
<summary>
|
413
|
+
Case insensitive comparison
|
414
|
+
</summary>
|
415
|
+
</member>
|
416
|
+
<member name="M:FluentAssertions.StringAssertions.NotBeNullOrEmpty">
|
417
|
+
<summary>
|
418
|
+
Ensures that a string is neither <c>null</c> or empty.
|
419
|
+
</summary>
|
420
|
+
</member>
|
421
|
+
<member name="M:FluentAssertions.StringAssertions.NotBeNullOrEmpty(System.String,System.Object[])">
|
422
|
+
<summary>
|
423
|
+
Ensures that a string is neither <c>null</c> or empty.
|
424
|
+
</summary>
|
425
|
+
<param name="reason">
|
426
|
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
|
427
|
+
start with the word <i>because</i>, it is prepended to the message.
|
428
|
+
</param>
|
429
|
+
<param name="reasonParameters">
|
430
|
+
Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
|
431
|
+
</param>
|
432
|
+
</member>
|
433
|
+
<member name="M:FluentAssertions.StringAssertions.BeNullOrEmpty">
|
434
|
+
<summary>
|
435
|
+
Ensures that a string is neither <c>null</c> or empty.
|
436
|
+
</summary>
|
437
|
+
</member>
|
438
|
+
<member name="M:FluentAssertions.StringAssertions.BeNullOrEmpty(System.String,System.Object[])">
|
439
|
+
<summary>
|
440
|
+
Ensures that a string is either <c>null</c> or empty.
|
441
|
+
</summary>
|
442
|
+
<param name="reason">
|
443
|
+
A formatted phrase explaining why the assertion should be satisfied. If the phrase does not
|
444
|
+
start with the word <i>because</i>, it is prepended to the message.
|
445
|
+
</param>
|
446
|
+
<param name="reasonParameters">
|
447
|
+
Zero or more values to use for filling in any <see cref="M:System.String.Format(System.String,System.Object[])"/> compatible placeholders.
|
448
|
+
</param>
|
449
|
+
</member>
|
450
|
+
<member name="M:FluentAssertions.AndConstraint`1.#ctor(`0)">
|
451
|
+
<summary>
|
452
|
+
Initializes a new instance of the <see cref="T:System.Object"/> class.
|
453
|
+
</summary>
|
454
|
+
</member>
|
455
|
+
<member name="M:FluentAssertions.GenericCollectionAssertions`1.Contain(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
|
456
|
+
<summary>
|
457
|
+
Asserts that the collection contains at least one item that matches the predicate.
|
458
|
+
</summary>
|
459
|
+
</member>
|
460
|
+
<member name="M:FluentAssertions.GenericCollectionAssertions`1.Contain(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.String,System.Object[])">
|
461
|
+
<summary>
|
462
|
+
Asserts that the collection contains at least one item that matches the predicate.
|
463
|
+
</summary>
|
464
|
+
</member>
|
465
|
+
<member name="M:FluentAssertions.GenericCollectionAssertions`1.NotContain(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}})">
|
466
|
+
<summary>
|
467
|
+
Asserts that the collection does not contain any items that match the predicate.
|
468
|
+
</summary>
|
469
|
+
</member>
|
470
|
+
<member name="M:FluentAssertions.GenericCollectionAssertions`1.NotContain(System.Linq.Expressions.Expression{System.Func{`0,System.Boolean}},System.String,System.Object[])">
|
471
|
+
<summary>
|
472
|
+
Asserts that the collection does not contain any items that match the predicate.
|
473
|
+
</summary>
|
474
|
+
</member>
|
475
|
+
<member name="M:FluentAssertions.InvokingAssertions`1.ShouldThrow``1">
|
476
|
+
<summary>
|
477
|
+
Asserts that an exception is thrown of type <typeparamref name="TException"/>.
|
478
|
+
</summary>
|
479
|
+
<typeparam name="TException">The expected type of the exception.</typeparam>
|
480
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
481
|
+
</member>
|
482
|
+
<member name="M:FluentAssertions.InvokingAssertions`1.ShouldThrow``1(System.String,System.Object[])">
|
483
|
+
<summary>
|
484
|
+
Asserts that an exception is thrown of type <typeparamref name="TException"/>.
|
485
|
+
</summary>
|
486
|
+
<typeparam name="TException">The expected type of the exception.</typeparam>
|
487
|
+
<param name="reason">The reason why the exception should be of type <typeparamref name="TException"/>.</param>
|
488
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
489
|
+
<returns>An <see cref="!:AndConstraint"/> which can be used to chain assertions.</returns>
|
490
|
+
</member>
|
491
|
+
<member name="M:FluentAssertions.PropertyAssertions`1.AllProperties">
|
492
|
+
<summary>
|
493
|
+
Includes all properties of <typeparamref name="T"/> when comparing the subject with another object using <see cref="M:FluentAssertions.PropertyAssertions`1.EqualTo(System.Object)"/>.
|
494
|
+
</summary>
|
495
|
+
</member>
|
496
|
+
<member name="M:FluentAssertions.PropertyAssertions`1.AllPropertiesBut(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Linq.Expressions.Expression{System.Func{`0,System.Object}}[])">
|
497
|
+
<summary>
|
498
|
+
Includes all properties of <typeparamref name="T"/> when comparing the subject with another object using <see cref="M:FluentAssertions.PropertyAssertions`1.EqualTo(System.Object)"/>,
|
499
|
+
except those specified using a property expression.
|
500
|
+
</summary>
|
501
|
+
</member>
|
502
|
+
<member name="M:FluentAssertions.PropertyAssertions`1.Properties(System.Linq.Expressions.Expression{System.Func{`0,System.Object}},System.Linq.Expressions.Expression{System.Func{`0,System.Object}}[])">
|
503
|
+
<summary>
|
504
|
+
Includes only those properties of <typeparamref name="T"/> when comparing the subject with another object using <see cref="M:FluentAssertions.PropertyAssertions`1.EqualTo(System.Object)"/>
|
505
|
+
that were specified using a property expression.
|
506
|
+
</summary>
|
507
|
+
</member>
|
508
|
+
<member name="M:FluentAssertions.PropertyAssertions`1.EqualTo(System.Object)">
|
509
|
+
<summary>
|
510
|
+
Verifies that the previously selected properties of <typeparamref name="T"/> have the same value as the equally named
|
511
|
+
properties of <paramref name="comparee"/>.
|
512
|
+
</summary>
|
513
|
+
<remarks>
|
514
|
+
Property values are considered equal if, after converting them to the requested type, calling <see cref="!:T.Equals(object)"/>
|
515
|
+
returns <c>true</c>.
|
516
|
+
</remarks>
|
517
|
+
</member>
|
518
|
+
<member name="M:FluentAssertions.PropertyAssertions`1.EqualTo(System.Object,System.String,System.Object[])">
|
519
|
+
<summary>
|
520
|
+
Verifies that the previously selected properties of <typeparamref name="T"/> have the same value as the equally named
|
521
|
+
properties of <paramref name="comparee"/>.
|
522
|
+
</summary>
|
523
|
+
<remarks>
|
524
|
+
Property values are considered equal if, after converting them to the requested type, calling <see cref="!:T.Equals(object)"/>
|
525
|
+
returns <c>true</c>.
|
526
|
+
</remarks>
|
527
|
+
</member>
|
528
|
+
<member name="M:FluentAssertions.ObjectAssertions.BeAssignableTo``1">
|
529
|
+
<summary>
|
530
|
+
Asserts that the object is assignable to a variable of type <typeparamref name="T"/>.
|
531
|
+
</summary>
|
532
|
+
<typeparam name="T">The type to which the object should be assignable.</typeparam>
|
533
|
+
<returns>An <see cref="T:FluentAssertions.AndConstraint`1"/> which can be used to chain assertions.</returns>
|
534
|
+
</member>
|
535
|
+
<member name="M:FluentAssertions.ObjectAssertions.BeAssignableTo``1(System.String,System.Object[])">
|
536
|
+
<summary>
|
537
|
+
Asserts that the object is assignable to a variable of type <typeparamref name="T"/>.
|
538
|
+
</summary>
|
539
|
+
<typeparam name="T">The type to which the object should be assignable.</typeparam>
|
540
|
+
<param name="reason">The reason why the object should be assignable to the type.</param>
|
541
|
+
<param name="reasonParameters">The parameters used when formatting the <paramref name="reason"/>.</param>
|
542
|
+
<returns>An <see cref="T:FluentAssertions.AndConstraint`1"/> which can be used to chain assertions.</returns>
|
543
|
+
</member>
|
544
|
+
</members>
|
545
|
+
</doc>
|