bbvcommon 6.268.0.20100803

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,696 @@
1
+ <?xml version="1.0"?>
2
+ <doc>
3
+ <assembly>
4
+ <name>bbv.Common.TestUtilities</name>
5
+ </assembly>
6
+ <members>
7
+ <member name="T:bbv.Common.TestUtilities.AbstractEventTester`2">
8
+ <summary>
9
+ Abstract event tester to handle vent handlers and event arguments of any type.
10
+ </summary>
11
+ <typeparam name="TEventHandler">The type of the event handler.</typeparam>
12
+ <typeparam name="TEventArgs">The type of the event arguments.</typeparam>
13
+ </member>
14
+ <member name="T:bbv.Common.TestUtilities.IEventTester">
15
+ <summary>
16
+ The checks that can be performed with an event tester.
17
+ </summary>
18
+ </member>
19
+ <member name="M:bbv.Common.TestUtilities.IEventTester.AssertWasFired">
20
+ <summary>
21
+ Asserts that the event was fired.
22
+ </summary>
23
+ </member>
24
+ <member name="M:bbv.Common.TestUtilities.IEventTester.AssertInvocationCount(System.Int32)">
25
+ <summary>
26
+ Asserts that the event was fired exactly as often as specified by <paramref name="expectedInvocationCount"/>.
27
+ </summary>
28
+ <param name="expectedInvocationCount">The expected number of invocations.</param>
29
+ </member>
30
+ <member name="M:bbv.Common.TestUtilities.IEventTester.AssertComplete">
31
+ <summary>
32
+ Asserts that all expectations of the testers are met.
33
+ Used for ordered event expectations in the <see cref="T:bbv.Common.TestUtilities.EventTestList"/>.
34
+ </summary>
35
+ </member>
36
+ <member name="E:bbv.Common.TestUtilities.IEventTester.Invocation">
37
+ <summary>
38
+ Occurs when the monitored event is fired.
39
+ </summary>
40
+ </member>
41
+ <member name="P:bbv.Common.TestUtilities.IEventTester.InvocationCount">
42
+ <summary>
43
+ Gets the number of invocation of the monitored event.
44
+ </summary>
45
+ <value>The number of invocation of the monitored event.</value>
46
+ </member>
47
+ <member name="P:bbv.Common.TestUtilities.IEventTester.WasFired">
48
+ <summary>
49
+ Gets a value indicating whether the event was fired.
50
+ </summary>
51
+ <value><c>true</c> if the event was fired; otherwise, <c>false</c>.</value>
52
+ </member>
53
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.eventInfo">
54
+ <summary>
55
+ The event that is monitored by this event helper instance.
56
+ </summary>
57
+ </member>
58
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.sender">
59
+ <summary>
60
+ The object that is monitored by this event helper instance.
61
+ </summary>
62
+ </member>
63
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.handlerDelegate">
64
+ <summary>
65
+ Delegate that is registered with the event.
66
+ </summary>
67
+ </member>
68
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.eventMatcher">
69
+ <summary>
70
+ Event matcher that is used to determine whether the event must be fired.
71
+ </summary>
72
+ </member>
73
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.matcherDescriptor">
74
+ <summary>
75
+ The matcher descriptor which is used to give the event tester a meaningful name.
76
+ </summary>
77
+ </member>
78
+ <member name="F:bbv.Common.TestUtilities.AbstractEventTester`2.expectedInvocationCount">
79
+ <summary>
80
+ The expected number of invocations.
81
+ </summary>
82
+ </member>
83
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.#ctor(System.Object,System.String)">
84
+ <summary>
85
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.AbstractEventTester`2"/> class.
86
+ </summary>
87
+ <param name="sender">The object that contains the event.</param>
88
+ <param name="eventName">The name of the event.</param>
89
+ </member>
90
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.#ctor(System.Object,System.String,`0,System.Nullable{System.Int32})">
91
+ <summary>
92
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.AbstractEventTester`2"/> class.
93
+ </summary>
94
+ <param name="sender">The object that contains the event.</param>
95
+ <param name="eventName">The name of the event.</param>
96
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
97
+ <param name="expectedInvocationCount">
98
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
99
+ current invocation count does not match this value. If null is passed no check is performed.
100
+ </param>
101
+ </member>
102
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.#ctor(System.Object,System.String,`0,System.Func{System.Object,`1,System.Boolean},System.String,System.Nullable{System.Int32})">
103
+ <summary>
104
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.AbstractEventTester`2"/> class.
105
+ </summary>
106
+ <param name="sender">The object that contains the event.</param>
107
+ <param name="eventName">The name of the event.</param>
108
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
109
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
110
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
111
+ <param name="expectedInvocationCount">The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
112
+ current invocation count does not match this value. If null is passed no check is performed.</param>
113
+ </member>
114
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.Finalize">
115
+ <summary>
116
+ Finalizes an instance of the <see cref="T:bbv.Common.TestUtilities.AbstractEventTester`2"/> class.
117
+ </summary>
118
+ </member>
119
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.AssertWasFired">
120
+ <summary>
121
+ Asserts that the event was fired.
122
+ </summary>
123
+ </member>
124
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.AssertInvocationCount(System.Int32)">
125
+ <summary>
126
+ Asserts that the event was fired exactly as often as specified by <paramref name="expectedInvocationCount"/>.
127
+ </summary>
128
+ <param name="expectedInvocationCount">The expected number of invocations.</param>
129
+ </member>
130
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.AssertComplete">
131
+ <summary>
132
+ Asserts that all expectations of the testers are met.
133
+ Used for ordered event expectations in the <see cref="T:bbv.Common.TestUtilities.EventTestList"/>.
134
+ </summary>
135
+ </member>
136
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.ToString">
137
+ <summary>
138
+ Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
139
+ </summary>
140
+ <returns>
141
+ A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
142
+ </returns>
143
+ </member>
144
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.Dispose">
145
+ <summary>
146
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
147
+ </summary>
148
+ </member>
149
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.IsMatch(System.Object,`1)">
150
+ <summary>
151
+ Determines whether the <paramref name="sender"/> and the
152
+ <paramref name="eventArgs"/> are matching a given criteria.
153
+ </summary>
154
+ <param name="sender">The sender which fired the event.</param>
155
+ <param name="eventArgs">The event arguments.</param>
156
+ <returns><c>true</c> when the criteria matches; otherwise <c>false</c>
157
+ </returns>
158
+ </member>
159
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.Dispose(System.Boolean)">
160
+ <summary>
161
+ Releases unmanaged and - optionally - managed resources
162
+ </summary>
163
+ <param name="disposing">
164
+ <c>true</c> to release both managed and unmanaged resources;
165
+ <c>false</c> to release only unmanaged resources.
166
+ </param>
167
+ </member>
168
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.Fire(System.Object,`1)">
169
+ <summary>
170
+ Fires the event.
171
+ </summary>
172
+ <param name="sender">The sender.</param>
173
+ <param name="e">The <see cref="!:TEventArgs"/> instance containing the event data.</param>
174
+ </member>
175
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.Handler(System.Object,`1)">
176
+ <summary>
177
+ Handles the event.
178
+ </summary>
179
+ <param name="sender">The sender of the event.</param>
180
+ <param name="e">The event arguments passed with the event.</param>
181
+ </member>
182
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.OnFire(System.Object,`1)">
183
+ <summary>
184
+ Invokes the fire method when an event handler is present.
185
+ </summary>
186
+ <param name="sender">The sender of the event.</param>
187
+ <param name="e">The event arguments used in the event.</param>
188
+ </member>
189
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.OnInvocation">
190
+ <summary>
191
+ Invokes the invocation event.
192
+ </summary>
193
+ </member>
194
+ <member name="M:bbv.Common.TestUtilities.AbstractEventTester`2.IncrementInvocationCount">
195
+ <summary>
196
+ Increments the invocation counter.
197
+ </summary>
198
+ </member>
199
+ <member name="E:bbv.Common.TestUtilities.AbstractEventTester`2.Invocation">
200
+ <summary>
201
+ Occurs when the monitored event is fired.
202
+ </summary>
203
+ </member>
204
+ <member name="P:bbv.Common.TestUtilities.AbstractEventTester`2.InvocationCount">
205
+ <summary>
206
+ Gets or sets the number of invocation of the monitored event.
207
+ </summary>
208
+ <value>The number of invocation of the monitored event.</value>
209
+ </member>
210
+ <member name="P:bbv.Common.TestUtilities.AbstractEventTester`2.WasFired">
211
+ <summary>
212
+ Gets a value indicating whether the event was fired.
213
+ </summary>
214
+ <value><c>true</c> if the event was fired; otherwise, <c>false</c>.</value>
215
+ </member>
216
+ <member name="P:bbv.Common.TestUtilities.AbstractEventTester`2.EventHandler">
217
+ <summary>
218
+ Gets or sets the event handler that is called when the event occurs.
219
+ </summary>
220
+ </member>
221
+ <member name="P:bbv.Common.TestUtilities.AbstractEventTester`2.EventMatcher">
222
+ <summary>
223
+ Gets the event matcher.
224
+ </summary>
225
+ <value>The event matcher.</value>
226
+ </member>
227
+ <member name="T:bbv.Common.TestUtilities.EventTesterException">
228
+ <summary>
229
+ Represents errors detected by any of the event tester classes.
230
+ </summary>
231
+ </member>
232
+ <member name="M:bbv.Common.TestUtilities.EventTesterException.#ctor(System.String)">
233
+ <summary>
234
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> class.
235
+ </summary>
236
+ <param name="message">The message.</param>
237
+ </member>
238
+ <member name="M:bbv.Common.TestUtilities.EventTesterException.#ctor(System.String,System.Exception)">
239
+ <summary>
240
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> class.
241
+ </summary>
242
+ <param name="message">The message.</param>
243
+ <param name="innerException">The inner exception.</param>
244
+ </member>
245
+ <member name="T:bbv.Common.TestUtilities.EventTestList">
246
+ <summary>
247
+ This list can be used to check several events using <see cref="T:bbv.Common.TestUtilities.EventTester"/> without having to use nested
248
+ usings. Additionally it can be used to enforce an ordered occurrence of the events.
249
+ </summary>
250
+ <example>
251
+ Usage:
252
+ <code>
253
+ using (new EventTestList(true)
254
+ {
255
+ new EventTester(this.testInterface, "NoneGenericEvent", 1),
256
+ new EventTester&lt;EventArgs&gt;(this.testInterface, "GenericEvent", 1)
257
+ })
258
+ {
259
+ DoSomethingThatTriggersTheEventsInOrderedOccurrence();
260
+ }
261
+ </code>
262
+ </example>
263
+ </member>
264
+ <member name="F:bbv.Common.TestUtilities.EventTestList.eventTesterList">
265
+ <summary>
266
+ The list of <see cref="T:bbv.Common.TestUtilities.IEventTester"/> in this list.
267
+ </summary>
268
+ </member>
269
+ <member name="F:bbv.Common.TestUtilities.EventTestList.failed">
270
+ <summary>
271
+ Indicated if an event invocation has failed.
272
+ </summary>
273
+ </member>
274
+ <member name="M:bbv.Common.TestUtilities.EventTestList.#ctor">
275
+ <summary>
276
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTestList"/> class.
277
+ </summary>
278
+ </member>
279
+ <member name="M:bbv.Common.TestUtilities.EventTestList.#ctor(System.Boolean)">
280
+ <summary>
281
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTestList"/> class.
282
+ </summary>
283
+ <param name="ordered">if set to <c>true</c> it is checked that the events occur in the order they are added.</param>
284
+ </member>
285
+ <member name="M:bbv.Common.TestUtilities.EventTestList.Dispose">
286
+ <summary>
287
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
288
+ Disposes all <see cref="T:bbv.Common.TestUtilities.IEventTester"/> in this list.
289
+ </summary>
290
+ </member>
291
+ <member name="M:bbv.Common.TestUtilities.EventTestList.Add(bbv.Common.TestUtilities.IEventTester)">
292
+ <summary>
293
+ Adds the specified event tester to the list.
294
+ </summary>
295
+ <param name="eventTester">The event tester to the list..</param>
296
+ </member>
297
+ <member name="M:bbv.Common.TestUtilities.EventTestList.GetEnumerator">
298
+ <summary>
299
+ Returns an enumerator that iterates through the collection.
300
+ </summary>
301
+ <returns>
302
+ A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
303
+ </returns>
304
+ </member>
305
+ <member name="M:bbv.Common.TestUtilities.EventTestList.System#Collections#IEnumerable#GetEnumerator">
306
+ <summary>
307
+ Returns an enumerator that iterates through a collection.
308
+ </summary>
309
+ <returns>
310
+ An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
311
+ </returns>
312
+ </member>
313
+ <member name="M:bbv.Common.TestUtilities.EventTestList.OnEventInvoked(System.Object,System.EventArgs)">
314
+ <summary>
315
+ Called when the event monitored by one of the event testers in the list is fired.
316
+ </summary>
317
+ <param name="sender">The sender of the event.</param>
318
+ <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
319
+ </member>
320
+ <member name="P:bbv.Common.TestUtilities.EventTestList.Ordered">
321
+ <summary>
322
+ Gets or sets a value indicating whether this <see cref="T:bbv.Common.TestUtilities.EventTestList"/> is ordered.
323
+ </summary>
324
+ <value><c>true</c> if ordered; otherwise, <c>false</c>.</value>
325
+ </member>
326
+ <member name="P:bbv.Common.TestUtilities.EventTestList.Count">
327
+ <summary>
328
+ Gets number of IEventTesters in this list.
329
+ </summary>
330
+ <value>The number of IEventTesters in this list.</value>
331
+ </member>
332
+ <member name="P:bbv.Common.TestUtilities.EventTestList.Item(System.Int32)">
333
+ <summary>
334
+ Gets the <see cref="T:bbv.Common.TestUtilities.IEventTester"/> at the specified index.
335
+ </summary>
336
+ <value>The <see cref="T:bbv.Common.TestUtilities.IEventTester"/> at the specified index.</value>
337
+ <param name="index">The index of the element that shall be returned.</param>
338
+ </member>
339
+ <member name="T:bbv.Common.TestUtilities.EventTester">
340
+ <summary>
341
+ This class can be used for testing if an event occurred and had the correct event arguments.
342
+ The event is registered in the constructor and released when the instance is disposed.
343
+ </summary>
344
+ <example>
345
+ Usage:
346
+ <code>
347
+ using (new EventHelper(testee, myEventName)
348
+ {
349
+ Do();
350
+ Assert.IsTrue(eventHelper.WasFired, "MyEvent was not fired!");
351
+ }
352
+ </code>
353
+ </example>
354
+ </member>
355
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String)">
356
+ <summary>
357
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
358
+ </summary>
359
+ <param name="sender">The object that contains the event.</param>
360
+ <param name="eventName">The name of the event.</param>
361
+ </member>
362
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.Func{System.Object,System.EventArgs,System.Boolean},System.String)">
363
+ <summary>
364
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
365
+ </summary>
366
+ <param name="sender">The object that contains the event.</param>
367
+ <param name="eventName">The name of the event.</param>
368
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
369
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
370
+ </member>
371
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.Int32)">
372
+ <summary>
373
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
374
+ </summary>
375
+ <param name="sender">The object that contains the event.</param>
376
+ <param name="eventName">The name of the event.</param>
377
+ <param name="expectedInvocationCount">
378
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
379
+ current invocation count does not match this value.
380
+ </param>
381
+ </member>
382
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.Func{System.Object,System.EventArgs,System.Boolean},System.String,System.Int32)">
383
+ <summary>
384
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
385
+ </summary>
386
+ <param name="sender">The object that contains the event.</param>
387
+ <param name="eventName">The name of the event.</param>
388
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
389
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
390
+ <param name="expectedInvocationCount">
391
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
392
+ current invocation count does not match this value.
393
+ </param>
394
+ </member>
395
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.EventHandler)">
396
+ <summary>
397
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
398
+ </summary>
399
+ <param name="sender">The object that contains the event.</param>
400
+ <param name="eventName">The name of the event.</param>
401
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
402
+ </member>
403
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.EventHandler,System.Func{System.Object,System.EventArgs,System.Boolean},System.String)">
404
+ <summary>
405
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
406
+ </summary>
407
+ <param name="sender">The object that contains the event.</param>
408
+ <param name="eventName">The name of the event.</param>
409
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
410
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
411
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
412
+ </member>
413
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.EventHandler,System.Int32)">
414
+ <summary>
415
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
416
+ </summary>
417
+ <param name="sender">The object that contains the event.</param>
418
+ <param name="eventName">The name of the event.</param>
419
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
420
+ <param name="expectedInvocationCount">
421
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
422
+ current invocation count does not match this value.
423
+ </param>
424
+ </member>
425
+ <member name="M:bbv.Common.TestUtilities.EventTester.#ctor(System.Object,System.String,System.EventHandler,System.Func{System.Object,System.EventArgs,System.Boolean},System.String,System.Int32)">
426
+ <summary>
427
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester"/> class.
428
+ </summary>
429
+ <param name="sender">The object that contains the event.</param>
430
+ <param name="eventName">The name of the event.</param>
431
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
432
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
433
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
434
+ <param name="expectedInvocationCount">
435
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
436
+ current invocation count does not match this value.
437
+ </param>
438
+ </member>
439
+ <member name="M:bbv.Common.TestUtilities.EventTester.Fire(System.Object,System.EventArgs)">
440
+ <summary>
441
+ Fires the event.
442
+ </summary>
443
+ <param name="sender">The sender.</param>
444
+ <param name="e">The <see cref="T:System.EventArgs"/> instance containing the event data.</param>
445
+ </member>
446
+ <member name="T:bbv.Common.TestUtilities.EventTester`1">
447
+ <summary>
448
+ This class can be used for testing if an event occurred and had the correct event arguments.
449
+ The event is registered in the constructor and released when the instance is disposed.
450
+ </summary>
451
+ <example>
452
+ Usage:
453
+ <code>
454
+ bool int someValueFromEventArgs;
455
+ using (new EventHelper&lt;MyEventArgs&gt;(testee, myEventName, (sender, e) => someValueFromEventArgs = e.Value)
456
+ {
457
+ Do();
458
+ Assert.IsTrue(eventHelper.WasFired, "MyEvent was not fired!");
459
+ Assert.AreEqual(1, someValueFromEventArgs, "The event args did not match expectation.");
460
+ }
461
+ </code>
462
+ </example>
463
+ <typeparam name="TEventArgs">The type of the event arguments.</typeparam>
464
+ </member>
465
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String)">
466
+ <summary>
467
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
468
+ </summary>
469
+ <param name="sender">The object that contains the event.</param>
470
+ <param name="eventName">The name of the event.</param>
471
+ </member>
472
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.Func{System.Object,`0,System.Boolean},System.String)">
473
+ <summary>
474
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
475
+ </summary>
476
+ <param name="sender">The object that contains the event.</param>
477
+ <param name="eventName">The name of the event.</param>
478
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
479
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
480
+ </member>
481
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.Int32)">
482
+ <summary>
483
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
484
+ </summary>
485
+ <param name="sender">The object that contains the event.</param>
486
+ <param name="eventName">The name of the event.</param>
487
+ <param name="expectedInvocationCount">
488
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
489
+ current invocation count does not match this value.
490
+ </param>
491
+ </member>
492
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.Func{System.Object,`0,System.Boolean},System.String,System.Int32)">
493
+ <summary>
494
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
495
+ </summary>
496
+ <param name="sender">The object that contains the event.</param>
497
+ <param name="eventName">The name of the event.</param>
498
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
499
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
500
+ <param name="expectedInvocationCount">
501
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
502
+ current invocation count does not match this value.
503
+ </param>
504
+ </member>
505
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.EventHandler{`0})">
506
+ <summary>
507
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
508
+ </summary>
509
+ <param name="sender">The object that contains the event.</param>
510
+ <param name="eventName">The name of the event.</param>
511
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
512
+ </member>
513
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.EventHandler{`0},System.Func{System.Object,`0,System.Boolean},System.String)">
514
+ <summary>
515
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
516
+ </summary>
517
+ <param name="sender">The object that contains the event.</param>
518
+ <param name="eventName">The name of the event.</param>
519
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
520
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
521
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
522
+ </member>
523
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.EventHandler{`0},System.Int32)">
524
+ <summary>
525
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
526
+ </summary>
527
+ <param name="sender">The object that contains the event.</param>
528
+ <param name="eventName">The name of the event.</param>
529
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
530
+ <param name="expectedInvocationCount">
531
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
532
+ current invocation count does not match this value.
533
+ </param>
534
+ </member>
535
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.#ctor(System.Object,System.String,System.EventHandler{`0},System.Func{System.Object,`0,System.Boolean},System.String,System.Int32)">
536
+ <summary>
537
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.EventTester`1"/> class.
538
+ </summary>
539
+ <param name="sender">The object that contains the event.</param>
540
+ <param name="eventName">The name of the event.</param>
541
+ <param name="eventHandler">The event handler that is executed when the event occurs.</param>
542
+ <param name="eventMatcher">The event matcher that is used to determine whether the event shall be taken into account.</param>
543
+ <param name="eventMatcherDescriptor">The event matcher descriptor which is used to annotate the event with matching information.</param>
544
+ <param name="expectedInvocationCount">
545
+ The expected number of invocations. An <see cref="T:bbv.Common.TestUtilities.EventTesterException"/> is thrown at disposal if the
546
+ current invocation count does not match this value.
547
+ </param>
548
+ </member>
549
+ <member name="M:bbv.Common.TestUtilities.EventTester`1.Fire(System.Object,`0)">
550
+ <summary>
551
+ Fires the event.
552
+ </summary>
553
+ <param name="sender">The sender.</param>
554
+ <param name="e">The <see cref="!:TEventArgs"/> instance containing the event data.</param>
555
+ </member>
556
+ <member name="T:bbv.Common.TestUtilities.Log4netHelper">
557
+ <summary>
558
+ Helper class for unit testing log entries.
559
+ </summary>
560
+ </member>
561
+ <member name="F:bbv.Common.TestUtilities.Log4netHelper.logAppender">
562
+ <summary>
563
+ Log4net Appender for testing log.
564
+ </summary>
565
+ </member>
566
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.#ctor">
567
+ <summary>
568
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.Log4netHelper"/> class.
569
+ </summary>
570
+ </member>
571
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.#ctor(System.String)">
572
+ <summary>
573
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.Log4netHelper"/> class.
574
+ </summary>
575
+ <param name="loggerName">Name of the logger. Only messages of this logger will be collected.</param>
576
+ </member>
577
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.#ctor(log4net.Filter.IFilter[])">
578
+ <summary>
579
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.Log4netHelper"/> class.
580
+ </summary>
581
+ <param name="logFilter">The log filter to filter for certain messages only.</param>
582
+ </member>
583
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.LogContains(System.String)">
584
+ <summary>
585
+ Fails if the specified message was not contained in a log entry.
586
+ </summary>
587
+ <param name="message">The message.</param>
588
+ </member>
589
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.LogContains(log4net.Core.Level,System.String)">
590
+ <summary>
591
+ Fails if the specified message was not contained in a log entry.
592
+ </summary>
593
+ <param name="level">The level of the messages to look through.</param>
594
+ <param name="message">The message.</param>
595
+ </member>
596
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.LogMatch(System.String)">
597
+ <summary>
598
+ Fails if the specified pattern (regex) is not found in a log message.
599
+ </summary>
600
+ <param name="pattern">The regex pattern.</param>
601
+ </member>
602
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.LogMatch(log4net.Core.Level,System.String)">
603
+ <summary>
604
+ Fails if the specified pattern (regex) is not found in a log message.
605
+ </summary>
606
+ <param name="level">The level.</param>
607
+ <param name="pattern">The regex pattern.</param>
608
+ </member>
609
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.Dispose">
610
+ <summary>
611
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
612
+ </summary>
613
+ </member>
614
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.DumpAllMessagesToConsole">
615
+ <summary>
616
+ Dumps all messages to the console.
617
+ </summary>
618
+ </member>
619
+ <member name="M:bbv.Common.TestUtilities.Log4netHelper.DumpMessages(System.Text.StringBuilder)">
620
+ <summary>
621
+ Dumps the messages to the string builder.
622
+ </summary>
623
+ <param name="message">The message.</param>
624
+ </member>
625
+ <member name="T:bbv.Common.TestUtilities.Log4NetHelperException">
626
+ <summary>
627
+ Represents errors found by the <see cref="T:bbv.Common.TestUtilities.Log4netHelper"/> class.
628
+ </summary>
629
+ </member>
630
+ <member name="M:bbv.Common.TestUtilities.Log4NetHelperException.#ctor(System.String)">
631
+ <summary>
632
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.Log4NetHelperException"/> class.
633
+ </summary>
634
+ <param name="message">The message.</param>
635
+ </member>
636
+ <member name="T:bbv.Common.TestUtilities.RequiredUnitTestException">
637
+ <summary>
638
+ Represents an error in a required unit test.
639
+ </summary>
640
+ </member>
641
+ <member name="M:bbv.Common.TestUtilities.RequiredUnitTestException.#ctor(System.String)">
642
+ <summary>
643
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.RequiredUnitTestException"/> class.
644
+ </summary>
645
+ <param name="message">The message.</param>
646
+ </member>
647
+ <member name="T:bbv.Common.TestUtilities.TemporaryFileHolder">
648
+ <summary>
649
+ Helper class to create (and destroy) a temporary file for UnitTests that depend on file system operations
650
+ </summary>
651
+ </member>
652
+ <member name="F:bbv.Common.TestUtilities.TemporaryFileHolder.filepath">
653
+ <summary>
654
+ path of the file.
655
+ </summary>
656
+ </member>
657
+ <member name="M:bbv.Common.TestUtilities.TemporaryFileHolder.#ctor(System.String,System.IO.Stream)">
658
+ <summary>
659
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.TemporaryFileHolder"/> class.
660
+ </summary>
661
+ <param name="filepath">The path were the file should be created.</param>
662
+ <param name="fileContent">Content of the file.</param>
663
+ </member>
664
+ <member name="M:bbv.Common.TestUtilities.TemporaryFileHolder.#ctor(System.String,System.String)">
665
+ <summary>
666
+ Initializes a new instance of the <see cref="T:bbv.Common.TestUtilities.TemporaryFileHolder"/> class.
667
+ </summary>
668
+ <param name="filepath">The path were the file should be created.</param>
669
+ <param name="fileContent">Content of the file.</param>
670
+ </member>
671
+ <member name="M:bbv.Common.TestUtilities.TemporaryFileHolder.Dispose">
672
+ <summary>
673
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
674
+ </summary>
675
+ <filterpriority>2</filterpriority>
676
+ </member>
677
+ <member name="P:bbv.Common.TestUtilities.TemporaryFileHolder.FileInfo">
678
+ <summary>
679
+ Gets the file info.
680
+ </summary>
681
+ <value>The file info.</value>
682
+ </member>
683
+ <member name="T:bbv.Common.TestUtilities.UnitTestHelper">
684
+ <summary>
685
+ Provides helper functionality to write unit tests.
686
+ </summary>
687
+ </member>
688
+ <member name="M:bbv.Common.TestUtilities.UnitTestHelper.ExecuteRequiredUnitTest(System.Action)">
689
+ <summary>
690
+ Executes the required unit test and if that unit test fails then the error message points to that unit test.
691
+ Use this method to chain unit tests. Helps to find the root of a problem faster.
692
+ </summary>
693
+ <param name="unitTestMethod">The unit test method.</param>
694
+ </member>
695
+ </members>
696
+ </doc>