1 <?xml version="1.0"?>
\r
4 <name>nunit.framework</name>
\r
7 <member name="T:NUnit.Framework.CategoryAttribute">
\r
9 Attribute used to apply a category to a test
\r
12 <member name="F:NUnit.Framework.CategoryAttribute.categoryName">
\r
14 The name of the category
\r
17 <member name="M:NUnit.Framework.CategoryAttribute.#ctor(System.String)">
\r
19 Construct attribute for a given category based on
\r
20 a name. The name may not contain the characters ',',
\r
21 '+', '-' or '!'. However, this is not checked in the
\r
22 constructor since it would cause an error to arise at
\r
23 as the test was loaded without giving a clear indication
\r
24 of where the problem is located. The error is handled
\r
25 in NUnitFramework.cs by marking the test as not
\r
28 <param name="name">The name of the category</param>
\r
30 <member name="M:NUnit.Framework.CategoryAttribute.#ctor">
\r
32 Protected constructor uses the Type name as the name
\r
36 <member name="P:NUnit.Framework.CategoryAttribute.Name">
\r
38 The name of the category
\r
41 <member name="T:NUnit.Framework.DatapointAttribute">
\r
43 Used to mark a field for use as a datapoint when executing a theory
\r
44 within the same fixture that requires an argument of the field's Type.
\r
47 <member name="T:NUnit.Framework.DatapointsAttribute">
\r
49 Used to mark an array as containing a set of datapoints to be used
\r
50 executing a theory within the same fixture that requires an argument
\r
51 of the Type of the array elements.
\r
54 <member name="T:NUnit.Framework.DescriptionAttribute">
\r
56 Attribute used to provide descriptive text about a
\r
57 test case or fixture.
\r
60 <member name="M:NUnit.Framework.DescriptionAttribute.#ctor(System.String)">
\r
62 Construct the attribute
\r
64 <param name="description">Text describing the test</param>
\r
66 <member name="P:NUnit.Framework.DescriptionAttribute.Description">
\r
68 Gets the test description
\r
71 <member name="T:NUnit.Framework.MessageMatch">
\r
73 Enumeration indicating how the expected message parameter is to be used
\r
76 <member name="F:NUnit.Framework.MessageMatch.Exact">
\r
77 Expect an exact match
\r
79 <member name="F:NUnit.Framework.MessageMatch.Contains">
\r
80 Expect a message containing the parameter string
\r
82 <member name="F:NUnit.Framework.MessageMatch.Regex">
\r
83 Match the regular expression provided as a parameter
\r
85 <member name="F:NUnit.Framework.MessageMatch.StartsWith">
\r
86 Expect a message that starts with the parameter string
\r
88 <member name="T:NUnit.Framework.ExpectedExceptionAttribute">
\r
90 ExpectedExceptionAttribute
\r
94 <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor">
\r
96 Constructor for a non-specific exception
\r
99 <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.Type)">
\r
101 Constructor for a given type of exception
\r
103 <param name="exceptionType">The type of the expected exception</param>
\r
105 <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.String)">
\r
107 Constructor for a given exception name
\r
109 <param name="exceptionName">The full name of the expected exception</param>
\r
111 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedException">
\r
113 Gets or sets the expected exception type
\r
116 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedExceptionName">
\r
118 Gets or sets the full Type name of the expected exception
\r
121 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedMessage">
\r
123 Gets or sets the expected message text
\r
126 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.UserMessage">
\r
128 Gets or sets the user message displayed in case of failure
\r
131 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.MatchType">
\r
133 Gets or sets the type of match to be performed on the expected message
\r
136 <member name="P:NUnit.Framework.ExpectedExceptionAttribute.Handler">
\r
138 Gets the name of a method to be used as an exception handler
\r
141 <member name="T:NUnit.Framework.ExplicitAttribute">
\r
143 ExplicitAttribute marks a test or test fixture so that it will
\r
144 only be run if explicitly executed from the gui or command line
\r
145 or if it is included by use of a filter. The test will not be
\r
146 run simply because an enclosing suite is run.
\r
149 <member name="M:NUnit.Framework.ExplicitAttribute.#ctor">
\r
151 Default constructor
\r
154 <member name="M:NUnit.Framework.ExplicitAttribute.#ctor(System.String)">
\r
156 Constructor with a reason
\r
158 <param name="reason">The reason test is marked explicit</param>
\r
160 <member name="P:NUnit.Framework.ExplicitAttribute.Reason">
\r
162 The reason test is marked explicit
\r
165 <member name="T:NUnit.Framework.IgnoreAttribute">
\r
167 Attribute used to mark a test that is to be ignored.
\r
168 Ignored tests result in a warning message when the
\r
172 <member name="M:NUnit.Framework.IgnoreAttribute.#ctor">
\r
174 Constructs the attribute without giving a reason
\r
175 for ignoring the test.
\r
178 <member name="M:NUnit.Framework.IgnoreAttribute.#ctor(System.String)">
\r
180 Constructs the attribute giving a reason for ignoring the test
\r
182 <param name="reason">The reason for ignoring the test</param>
\r
184 <member name="P:NUnit.Framework.IgnoreAttribute.Reason">
\r
186 The reason for ignoring a test
\r
189 <member name="T:NUnit.Framework.IncludeExcludeAttribute">
\r
191 Abstract base for Attributes that are used to include tests
\r
192 in the test run based on environmental settings.
\r
195 <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor">
\r
197 Constructor with no included items specified, for use
\r
198 with named property syntax.
\r
201 <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor(System.String)">
\r
203 Constructor taking one or more included items
\r
205 <param name="include">Comma-delimited list of included items</param>
\r
207 <member name="P:NUnit.Framework.IncludeExcludeAttribute.Include">
\r
209 Name of the item that is needed in order for
\r
210 a test to run. Multiple itemss may be given,
\r
211 separated by a comma.
\r
214 <member name="P:NUnit.Framework.IncludeExcludeAttribute.Exclude">
\r
216 Name of the item to be excluded. Multiple items
\r
217 may be given, separated by a comma.
\r
220 <member name="P:NUnit.Framework.IncludeExcludeAttribute.Reason">
\r
222 The reason for including or excluding the test
\r
225 <member name="T:NUnit.Framework.PlatformAttribute">
\r
227 PlatformAttribute is used to mark a test fixture or an
\r
228 individual method as applying to a particular platform only.
\r
231 <member name="M:NUnit.Framework.PlatformAttribute.#ctor">
\r
233 Constructor with no platforms specified, for use
\r
234 with named property syntax.
\r
237 <member name="M:NUnit.Framework.PlatformAttribute.#ctor(System.String)">
\r
239 Constructor taking one or more platforms
\r
241 <param name="platforms">Comma-deliminted list of platforms</param>
\r
243 <member name="T:NUnit.Framework.CultureAttribute">
\r
245 CultureAttribute is used to mark a test fixture or an
\r
246 individual method as applying to a particular Culture only.
\r
249 <member name="M:NUnit.Framework.CultureAttribute.#ctor">
\r
251 Constructor with no cultures specified, for use
\r
252 with named property syntax.
\r
255 <member name="M:NUnit.Framework.CultureAttribute.#ctor(System.String)">
\r
257 Constructor taking one or more cultures
\r
259 <param name="cultures">Comma-deliminted list of cultures</param>
\r
261 <member name="T:NUnit.Framework.CombinatorialAttribute">
\r
263 Marks a test to use a combinatorial join of any argument data
\r
264 provided. NUnit will create a test case for every combination of
\r
265 the arguments provided. This can result in a large number of test
\r
266 cases and so should be used judiciously. This is the default join
\r
267 type, so the attribute need not be used except as documentation.
\r
270 <member name="T:NUnit.Framework.PropertyAttribute">
\r
272 PropertyAttribute is used to attach information to a test as a name/value pair..
\r
275 <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.String)">
\r
277 Construct a PropertyAttribute with a name and string value
\r
279 <param name="propertyName">The name of the property</param>
\r
280 <param name="propertyValue">The property value</param>
\r
282 <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Int32)">
\r
284 Construct a PropertyAttribute with a name and int value
\r
286 <param name="propertyName">The name of the property</param>
\r
287 <param name="propertyValue">The property value</param>
\r
289 <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Double)">
\r
291 Construct a PropertyAttribute with a name and double value
\r
293 <param name="propertyName">The name of the property</param>
\r
294 <param name="propertyValue">The property value</param>
\r
296 <member name="M:NUnit.Framework.PropertyAttribute.#ctor">
\r
298 Constructor for derived classes that set the
\r
299 property dictionary directly.
\r
302 <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.Object)">
\r
304 Constructor for use by derived classes that use the
\r
305 name of the type as the property name. Derived classes
\r
306 must ensure that the Type of the property value is
\r
307 a standard type supported by the BCL. Any custom
\r
308 types will cause a serialization Exception when
\r
312 <member name="P:NUnit.Framework.PropertyAttribute.Properties">
\r
314 Gets the property dictionary for this attribute
\r
317 <member name="M:NUnit.Framework.CombinatorialAttribute.#ctor">
\r
319 Default constructor
\r
322 <member name="T:NUnit.Framework.PairwiseAttribute">
\r
324 Marks a test to use pairwise join of any argument data provided.
\r
325 NUnit will attempt too excercise every pair of argument values at
\r
326 least once, using as small a number of test cases as it can. With
\r
327 only two arguments, this is the same as a combinatorial join.
\r
330 <member name="M:NUnit.Framework.PairwiseAttribute.#ctor">
\r
332 Default constructor
\r
335 <member name="T:NUnit.Framework.SequentialAttribute">
\r
337 Marks a test to use a sequential join of any argument data
\r
338 provided. NUnit will use arguements for each parameter in
\r
339 sequence, generating test cases up to the largest number
\r
340 of argument values provided and using null for any arguments
\r
341 for which it runs out of values. Normally, this should be
\r
342 used with the same number of arguments for each parameter.
\r
345 <member name="M:NUnit.Framework.SequentialAttribute.#ctor">
\r
347 Default constructor
\r
350 <member name="T:NUnit.Framework.MaxTimeAttribute">
\r
352 Summary description for MaxTimeAttribute.
\r
355 <member name="M:NUnit.Framework.MaxTimeAttribute.#ctor(System.Int32)">
\r
357 Construct a MaxTimeAttribute, given a time in milliseconds.
\r
359 <param name="milliseconds">The maximum elapsed time in milliseconds</param>
\r
361 <member name="T:NUnit.Framework.RandomAttribute">
\r
363 RandomAttribute is used to supply a set of random values
\r
364 to a single parameter of a parameterized test.
\r
367 <member name="T:NUnit.Framework.ValuesAttribute">
\r
369 ValuesAttribute is used to provide literal arguments for
\r
370 an individual parameter of a test.
\r
373 <member name="T:NUnit.Framework.ParameterDataAttribute">
\r
375 Abstract base class for attributes that apply to parameters
\r
376 and supply data for the parameter.
\r
379 <member name="M:NUnit.Framework.ParameterDataAttribute.GetData(System.Reflection.ParameterInfo)">
\r
381 Gets the data to be provided to the specified parameter
\r
384 <member name="F:NUnit.Framework.ValuesAttribute.data">
\r
386 The collection of data to be returned. Must
\r
387 be set by any derived attribute classes.
\r
388 We use an object[] so that the individual
\r
389 elements may have their type changed in GetData
\r
393 <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object)">
\r
395 Construct with one argument
\r
397 <param name="arg1"></param>
\r
399 <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object)">
\r
401 Construct with two arguments
\r
403 <param name="arg1"></param>
\r
404 <param name="arg2"></param>
\r
406 <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object,System.Object)">
\r
408 Construct with three arguments
\r
410 <param name="arg1"></param>
\r
411 <param name="arg2"></param>
\r
412 <param name="arg3"></param>
\r
414 <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object[])">
\r
416 Construct with an array of arguments
\r
418 <param name="args"></param>
\r
420 <member name="M:NUnit.Framework.ValuesAttribute.GetData(System.Reflection.ParameterInfo)">
\r
422 Get the collection of values to be used as arguments
\r
425 <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32)">
\r
427 Construct a set of doubles from 0.0 to 1.0,
\r
428 specifying only the count.
\r
430 <param name="count"></param>
\r
432 <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Double,System.Double,System.Int32)">
\r
434 Construct a set of doubles from min to max
\r
436 <param name="min"></param>
\r
437 <param name="max"></param>
\r
438 <param name="count"></param>
\r
440 <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32,System.Int32,System.Int32)">
\r
442 Construct a set of ints from min to max
\r
444 <param name="min"></param>
\r
445 <param name="max"></param>
\r
446 <param name="count"></param>
\r
448 <member name="M:NUnit.Framework.RandomAttribute.GetData(System.Reflection.ParameterInfo)">
\r
450 Get the collection of values to be used as arguments
\r
453 <member name="T:NUnit.Framework.RangeAttribute">
\r
455 RangeAttribute is used to supply a range of values to an
\r
456 individual parameter of a parameterized test.
\r
459 <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32)">
\r
461 Construct a range of ints using default step of 1
\r
463 <param name="from"></param>
\r
464 <param name="to"></param>
\r
466 <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32,System.Int32)">
\r
468 Construct a range of ints specifying the step size
\r
470 <param name="from"></param>
\r
471 <param name="to"></param>
\r
472 <param name="step"></param>
\r
474 <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int64,System.Int64,System.Int64)">
\r
476 Construct a range of longs
\r
478 <param name="from"></param>
\r
479 <param name="to"></param>
\r
480 <param name="step"></param>
\r
482 <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Double,System.Double,System.Double)">
\r
484 Construct a range of doubles
\r
486 <param name="from"></param>
\r
487 <param name="to"></param>
\r
488 <param name="step"></param>
\r
490 <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Single,System.Single,System.Single)">
\r
492 Construct a range of floats
\r
494 <param name="from"></param>
\r
495 <param name="to"></param>
\r
496 <param name="step"></param>
\r
498 <member name="T:NUnit.Framework.RepeatAttribute">
\r
500 RepeatAttribute may be applied to test case in order
\r
501 to run it multiple times.
\r
504 <member name="M:NUnit.Framework.RepeatAttribute.#ctor(System.Int32)">
\r
506 Construct a RepeatAttribute
\r
508 <param name="count">The number of times to run the test</param>
\r
510 <member name="T:NUnit.Framework.RequiredAddinAttribute">
\r
512 RequiredAddinAttribute may be used to indicate the names of any addins
\r
513 that must be present in order to run some or all of the tests in an
\r
514 assembly. If the addin is not loaded, the entire assembly is marked
\r
518 <member name="M:NUnit.Framework.RequiredAddinAttribute.#ctor(System.String)">
\r
520 Initializes a new instance of the <see cref="T:RequiredAddinAttribute"/> class.
\r
522 <param name="requiredAddin">The required addin.</param>
\r
524 <member name="P:NUnit.Framework.RequiredAddinAttribute.RequiredAddin">
\r
526 Gets the name of required addin.
\r
528 <value>The required addin name.</value>
\r
530 <member name="T:NUnit.Framework.SetCultureAttribute">
\r
532 Summary description for SetCultureAttribute.
\r
535 <member name="M:NUnit.Framework.SetCultureAttribute.#ctor(System.String)">
\r
537 Construct given the name of a culture
\r
539 <param name="culture"></param>
\r
541 <member name="T:NUnit.Framework.SetUICultureAttribute">
\r
543 Summary description for SetUICultureAttribute.
\r
546 <member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)">
\r
548 Construct given the name of a culture
\r
550 <param name="culture"></param>
\r
552 <member name="T:NUnit.Framework.SetUpAttribute">
\r
554 Attribute used to mark a class that contains one-time SetUp
\r
555 and/or TearDown methods that apply to all the tests in a
\r
556 namespace or an assembly.
\r
559 <member name="T:NUnit.Framework.SetUpFixtureAttribute">
\r
561 SetUpFixtureAttribute is used to identify a SetUpFixture
\r
564 <member name="T:NUnit.Framework.SuiteAttribute">
\r
566 Attribute used to mark a static (shared in VB) property
\r
567 that returns a list of tests.
\r
570 <member name="T:NUnit.Framework.TearDownAttribute">
\r
572 Attribute used to identify a method that is called
\r
573 immediately after each test is run. The method is
\r
574 guaranteed to be called, even if an exception is thrown.
\r
577 <member name="T:NUnit.Framework.TestAttribute">
\r
579 Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/>
\r
580 class makes the method callable from the NUnit test runner. There is a property
\r
581 called Description which is optional which you can provide a more detailed test
\r
582 description. This class cannot be inherited.
\r
587 public class Fixture
\r
590 public void MethodToTest()
\r
593 [Test(Description = "more detailed description")]
\r
594 publc void TestDescriptionMethod()
\r
600 <member name="P:NUnit.Framework.TestAttribute.Description">
\r
602 Descriptive text for this test
\r
605 <member name="T:NUnit.Framework.TestCaseAttribute">
\r
607 TestCaseAttribute is used to mark parameterized test cases
\r
608 and provide them with their arguments.
\r
611 <member name="T:NUnit.Framework.ITestCaseData">
\r
613 The ITestCaseData interface is implemented by a class
\r
614 that is able to return complete testcases for use by
\r
615 a parameterized test method.
\r
617 NOTE: This interface is used in both the framework
\r
618 and the core, even though that results in two different
\r
619 types. However, sharing the source code guarantees that
\r
620 the various implementations will be compatible and that
\r
621 the core is able to reflect successfully over the
\r
622 framework implementations of ITestCaseData.
\r
625 <member name="P:NUnit.Framework.ITestCaseData.Arguments">
\r
627 Gets the argument list to be provided to the test
\r
630 <member name="P:NUnit.Framework.ITestCaseData.Result">
\r
632 Gets the expected result
\r
635 <member name="P:NUnit.Framework.ITestCaseData.ExpectedException">
\r
637 Gets the expected exception Type
\r
640 <member name="P:NUnit.Framework.ITestCaseData.ExpectedExceptionName">
\r
642 Gets the FullName of the expected exception
\r
645 <member name="P:NUnit.Framework.ITestCaseData.TestName">
\r
647 Gets the name to be used for the test
\r
650 <member name="P:NUnit.Framework.ITestCaseData.Description">
\r
652 Gets the description of the test
\r
655 <member name="P:NUnit.Framework.ITestCaseData.Ignored">
\r
657 Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored.
\r
659 <value><c>true</c> if ignored; otherwise, <c>false</c>.</value>
\r
661 <member name="P:NUnit.Framework.ITestCaseData.IgnoreReason">
\r
663 Gets the ignore reason.
\r
665 <value>The ignore reason.</value>
\r
667 <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object[])">
\r
669 Construct a TestCaseAttribute with a list of arguments.
\r
670 This constructor is not CLS-Compliant
\r
672 <param name="arguments"></param>
\r
674 <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object)">
\r
676 Construct a TestCaseAttribute with a single argument
\r
678 <param name="arg"></param>
\r
680 <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object)">
\r
682 Construct a TestCaseAttribute with a two arguments
\r
684 <param name="arg1"></param>
\r
685 <param name="arg2"></param>
\r
687 <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object,System.Object)">
\r
689 Construct a TestCaseAttribute with a three arguments
\r
691 <param name="arg1"></param>
\r
692 <param name="arg2"></param>
\r
693 <param name="arg3"></param>
\r
695 <member name="P:NUnit.Framework.TestCaseAttribute.Arguments">
\r
697 Gets the list of arguments to a test case
\r
700 <member name="P:NUnit.Framework.TestCaseAttribute.Result">
\r
702 Gets or sets the expected result.
\r
704 <value>The result.</value>
\r
706 <member name="P:NUnit.Framework.TestCaseAttribute.Categories">
\r
708 Gets a list of categories associated with this test;
\r
711 <member name="P:NUnit.Framework.TestCaseAttribute.Category">
\r
713 Gets or sets the category associated with this test.
\r
714 May be a single category or a comma-separated list.
\r
717 <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedException">
\r
719 Gets or sets the expected exception.
\r
721 <value>The expected exception.</value>
\r
723 <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedExceptionName">
\r
725 Gets or sets the name the expected exception.
\r
727 <value>The expected name of the exception.</value>
\r
729 <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedMessage">
\r
731 Gets or sets the expected message of the expected exception
\r
733 <value>The expected message of the exception.</value>
\r
735 <member name="P:NUnit.Framework.TestCaseAttribute.MatchType">
\r
737 Gets or sets the type of match to be performed on the expected message
\r
740 <member name="P:NUnit.Framework.TestCaseAttribute.Description">
\r
742 Gets or sets the description.
\r
744 <value>The description.</value>
\r
746 <member name="P:NUnit.Framework.TestCaseAttribute.TestName">
\r
748 Gets or sets the name of the test.
\r
750 <value>The name of the test.</value>
\r
752 <member name="P:NUnit.Framework.TestCaseAttribute.Ignore">
\r
754 Gets or sets the ignored status of the test
\r
757 <member name="P:NUnit.Framework.TestCaseAttribute.Ignored">
\r
759 Gets or sets the ignored status of the test
\r
762 <member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason">
\r
764 Gets the ignore reason.
\r
766 <value>The ignore reason.</value>
\r
768 <member name="T:NUnit.Framework.TestCaseSourceAttribute">
\r
770 FactoryAttribute indicates the source to be used to
\r
771 provide test cases for a test method.
\r
774 <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.String)">
\r
776 Construct with the name of the factory - for use with languages
\r
777 that don't support params arrays.
\r
779 <param name="sourceName">An array of the names of the factories that will provide data</param>
\r
781 <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.Type,System.String)">
\r
783 Construct with a Type and name - for use with languages
\r
784 that don't support params arrays.
\r
786 <param name="sourceType">The Type that will provide data</param>
\r
787 <param name="sourceName">The name of the method, property or field that will provide data</param>
\r
789 <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceName">
\r
791 The name of a the method, property or fiend to be used as a source
\r
794 <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceType">
\r
796 A Type to be used as a source
\r
799 <member name="T:NUnit.Framework.TestFixtureAttribute">
\r
802 public class ExampleClass
\r
806 <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor">
\r
808 Default constructor
\r
811 <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor(System.Object[])">
\r
813 Construct with a object[] representing a set of arguments.
\r
814 In .NET 2.0, the arguments may later be separated into
\r
815 type arguments and constructor arguments.
\r
817 <param name="arguments"></param>
\r
819 <member name="P:NUnit.Framework.TestFixtureAttribute.Description">
\r
821 Descriptive text for this fixture
\r
824 <member name="P:NUnit.Framework.TestFixtureAttribute.Category">
\r
826 Gets and sets the category for this fixture.
\r
827 May be a comma-separated list of categories.
\r
830 <member name="P:NUnit.Framework.TestFixtureAttribute.Categories">
\r
832 Gets a list of categories for this fixture
\r
835 <member name="P:NUnit.Framework.TestFixtureAttribute.Arguments">
\r
837 The arguments originally provided to the attribute
\r
840 <member name="P:NUnit.Framework.TestFixtureAttribute.Ignore">
\r
842 Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored.
\r
844 <value><c>true</c> if ignore; otherwise, <c>false</c>.</value>
\r
846 <member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason">
\r
848 Gets or sets the ignore reason. May set Ignored as a side effect.
\r
850 <value>The ignore reason.</value>
\r
852 <member name="P:NUnit.Framework.TestFixtureAttribute.TypeArgs">
\r
854 Get or set the type arguments. If not set
\r
855 explicitly, any leading arguments that are
\r
856 Types are taken as type arguments.
\r
859 <member name="T:NUnit.Framework.TestFixtureSetUpAttribute">
\r
861 Attribute used to identify a method that is
\r
862 called before any tests in a fixture are run.
\r
865 <member name="T:NUnit.Framework.TestFixtureTearDownAttribute">
\r
867 Attribute used to identify a method that is called after
\r
868 all the tests in a fixture have run. The method is
\r
869 guaranteed to be called, even if an exception is thrown.
\r
872 <member name="T:NUnit.Framework.TheoryAttribute">
\r
874 Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/>
\r
875 class makes the method callable from the NUnit test runner. There is a property
\r
876 called Description which is optional which you can provide a more detailed test
\r
877 description. This class cannot be inherited.
\r
882 public class Fixture
\r
885 public void MethodToTest()
\r
888 [Test(Description = "more detailed description")]
\r
889 publc void TestDescriptionMethod()
\r
895 <member name="T:NUnit.Framework.TimeoutAttribute">
\r
897 WUsed on a method, marks the test with a timeout value in milliseconds.
\r
898 The test will be run in a separate thread and is cancelled if the timeout
\r
899 is exceeded. Used on a method or assembly, sets the default timeout
\r
900 for all contained test methods.
\r
903 <member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)">
\r
905 Construct a TimeoutAttribute given a time in milliseconds
\r
907 <param name="timeout">The timeout value in milliseconds</param>
\r
909 <member name="T:NUnit.Framework.RequiresSTAAttribute">
\r
911 Marks a test that must run in the STA, causing it
\r
912 to run in a separate thread if necessary.
\r
914 On methods, you may also use STAThreadAttribute
\r
915 to serve the same purpose.
\r
918 <member name="M:NUnit.Framework.RequiresSTAAttribute.#ctor">
\r
920 Construct a RequiresSTAAttribute
\r
923 <member name="T:NUnit.Framework.RequiresMTAAttribute">
\r
925 Marks a test that must run in the MTA, causing it
\r
926 to run in a separate thread if necessary.
\r
928 On methods, you may also use MTAThreadAttribute
\r
929 to serve the same purpose.
\r
932 <member name="M:NUnit.Framework.RequiresMTAAttribute.#ctor">
\r
934 Construct a RequiresMTAAttribute
\r
937 <member name="T:NUnit.Framework.RequiresThreadAttribute">
\r
939 Marks a test that must run on a separate thread.
\r
942 <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor">
\r
944 Construct a RequiresThreadAttribute
\r
947 <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor(System.Threading.ApartmentState)">
\r
949 Construct a RequiresThreadAttribute, specifying the apartment
\r
952 <member name="T:NUnit.Framework.ValueSourceAttribute">
\r
954 ValueSourceAttribute indicates the source to be used to
\r
955 provide data for one parameter of a test method.
\r
958 <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.String)">
\r
960 Construct with the name of the factory - for use with languages
\r
961 that don't support params arrays.
\r
963 <param name="sourceName">The name of the data source to be used</param>
\r
965 <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.Type,System.String)">
\r
967 Construct with a Type and name - for use with languages
\r
968 that don't support params arrays.
\r
970 <param name="sourceType">The Type that will provide data</param>
\r
971 <param name="sourceName">The name of the method, property or field that will provide data</param>
\r
973 <member name="P:NUnit.Framework.ValueSourceAttribute.SourceName">
\r
975 The name of a the method, property or fiend to be used as a source
\r
978 <member name="P:NUnit.Framework.ValueSourceAttribute.SourceType">
\r
980 A Type to be used as a source
\r
983 <member name="T:NUnit.Framework.Constraints.AttributeExistsConstraint">
\r
985 AttributeExistsConstraint tests for the presence of a
\r
986 specified attribute on a Type.
\r
989 <member name="T:NUnit.Framework.Constraints.Constraint">
\r
991 The Constraint class is the base of all built-in constraints
\r
992 within NUnit. It provides the operator overloads used to combine
\r
996 <member name="T:NUnit.Framework.Constraints.IResolveConstraint">
\r
998 The IConstraintExpression interface is implemented by all
\r
999 complete and resolvable constraints and expressions.
\r
1002 <member name="M:NUnit.Framework.Constraints.IResolveConstraint.Resolve">
\r
1004 Return the top-level constraint for this expression
\r
1006 <returns></returns>
\r
1008 <member name="F:NUnit.Framework.Constraints.Constraint.UNSET">
\r
1010 Static UnsetObject used to detect derived constraints
\r
1011 failing to set the actual value.
\r
1014 <member name="F:NUnit.Framework.Constraints.Constraint.actual">
\r
1016 The actual value being tested against a constraint
\r
1019 <member name="F:NUnit.Framework.Constraints.Constraint.displayName">
\r
1021 The display name of this Constraint for use by ToString()
\r
1024 <member name="F:NUnit.Framework.Constraints.Constraint.argcnt">
\r
1026 Argument fields used by ToString();
\r
1029 <member name="F:NUnit.Framework.Constraints.Constraint.builder">
\r
1031 The builder holding this constraint
\r
1034 <member name="M:NUnit.Framework.Constraints.Constraint.#ctor">
\r
1036 Construct a constraint with no arguments
\r
1039 <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object)">
\r
1041 Construct a constraint with one argument
\r
1044 <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object,System.Object)">
\r
1046 Construct a constraint with two arguments
\r
1049 <member name="M:NUnit.Framework.Constraints.Constraint.SetBuilder(NUnit.Framework.Constraints.ConstraintBuilder)">
\r
1051 Sets the ConstraintBuilder holding this constraint
\r
1054 <member name="M:NUnit.Framework.Constraints.Constraint.WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1056 Write the failure message to the MessageWriter provided
\r
1057 as an argument. The default implementation simply passes
\r
1058 the constraint and the actual value to the writer, which
\r
1059 then displays the constraint description and the value.
\r
1061 Constraints that need to provide additional details,
\r
1062 such as where the error occured can override this.
\r
1064 <param name="writer">The MessageWriter on which to display the message</param>
\r
1066 <member name="M:NUnit.Framework.Constraints.Constraint.Matches(System.Object)">
\r
1068 Test whether the constraint is satisfied by a given value
\r
1070 <param name="actual">The value to be tested</param>
\r
1071 <returns>True for success, false for failure</returns>
\r
1073 <member name="M:NUnit.Framework.Constraints.Constraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)">
\r
1075 Test whether the constraint is satisfied by an
\r
1076 ActualValueDelegate that returns the value to be tested.
\r
1077 The default implementation simply evaluates the delegate
\r
1078 but derived classes may override it to provide for delayed
\r
1081 <param name="del">An ActualValueDelegate</param>
\r
1082 <returns>True for success, false for failure</returns>
\r
1084 <member name="M:NUnit.Framework.Constraints.Constraint.Matches``1(``0@)">
\r
1086 Test whether the constraint is satisfied by a given reference.
\r
1087 The default implementation simply dereferences the value but
\r
1088 derived classes may override it to provide for delayed processing.
\r
1090 <param name="actual">A reference to the value to be tested</param>
\r
1091 <returns>True for success, false for failure</returns>
\r
1093 <member name="M:NUnit.Framework.Constraints.Constraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1095 Write the constraint description to a MessageWriter
\r
1097 <param name="writer">The writer on which the description is displayed</param>
\r
1099 <member name="M:NUnit.Framework.Constraints.Constraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1101 Write the actual value for a failing constraint test to a
\r
1102 MessageWriter. The default implementation simply writes
\r
1103 the raw value of actual, leaving it to the writer to
\r
1104 perform any formatting.
\r
1106 <param name="writer">The writer on which the actual value is displayed</param>
\r
1108 <member name="M:NUnit.Framework.Constraints.Constraint.ToString">
\r
1110 Default override of ToString returns the constraint DisplayName
\r
1111 followed by any arguments within angle brackets.
\r
1113 <returns></returns>
\r
1115 <member name="M:NUnit.Framework.Constraints.Constraint.GetStringRepresentation">
\r
1117 Returns the string representation of this constraint
\r
1120 <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseAnd(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)">
\r
1122 This operator creates a constraint that is satisfied only if both
\r
1123 argument constraints are satisfied.
\r
1126 <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseOr(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)">
\r
1128 This operator creates a constraint that is satisfied if either
\r
1129 of the argument constraints is satisfied.
\r
1132 <member name="M:NUnit.Framework.Constraints.Constraint.op_LogicalNot(NUnit.Framework.Constraints.Constraint)">
\r
1134 This operator creates a constraint that is satisfied if the
\r
1135 argument constraint is not satisfied.
\r
1138 <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32)">
\r
1140 Returns a DelayedConstraint with the specified delay time.
\r
1142 <param name="delayInMilliseconds">The delay in milliseconds.</param>
\r
1143 <returns></returns>
\r
1145 <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32,System.Int32)">
\r
1147 Returns a DelayedConstraint with the specified delay time
\r
1148 and polling interval.
\r
1150 <param name="delayInMilliseconds">The delay in milliseconds.</param>
\r
1151 <param name="pollingInterval">The interval at which to test the constraint.</param>
\r
1152 <returns></returns>
\r
1154 <member name="P:NUnit.Framework.Constraints.Constraint.DisplayName">
\r
1156 The display name of this Constraint for use by ToString().
\r
1157 The default value is the name of the constraint with
\r
1158 trailing "Constraint" removed. Derived classes may set
\r
1159 this to another name in their constructors.
\r
1162 <member name="P:NUnit.Framework.Constraints.Constraint.And">
\r
1164 Returns a ConstraintExpression by appending And
\r
1165 to the current constraint.
\r
1168 <member name="P:NUnit.Framework.Constraints.Constraint.With">
\r
1170 Returns a ConstraintExpression by appending And
\r
1171 to the current constraint.
\r
1174 <member name="P:NUnit.Framework.Constraints.Constraint.Or">
\r
1176 Returns a ConstraintExpression by appending Or
\r
1177 to the current constraint.
\r
1180 <member name="T:NUnit.Framework.Constraints.Constraint.UnsetObject">
\r
1182 Class used to detect any derived constraints
\r
1183 that fail to set the actual value in their
\r
1187 <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.#ctor(System.Type)">
\r
1189 Constructs an AttributeExistsConstraint for a specific attribute Type
\r
1191 <param name="type"></param>
\r
1193 <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.Matches(System.Object)">
\r
1195 Tests whether the object provides the expected attribute.
\r
1197 <param name="actual">A Type, MethodInfo, or other ICustomAttributeProvider</param>
\r
1198 <returns>True if the expected attribute is present, otherwise false</returns>
\r
1200 <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1202 Writes the description of the constraint to the specified writer
\r
1205 <member name="T:NUnit.Framework.Constraints.AttributeConstraint">
\r
1207 AttributeConstraint tests that a specified attribute is present
\r
1208 on a Type or other provider and that the value of the attribute
\r
1209 satisfies some other constraint.
\r
1212 <member name="T:NUnit.Framework.Constraints.PrefixConstraint">
\r
1214 Abstract base class used for prefixes
\r
1217 <member name="F:NUnit.Framework.Constraints.PrefixConstraint.baseConstraint">
\r
1219 The base constraint
\r
1222 <member name="M:NUnit.Framework.Constraints.PrefixConstraint.#ctor(NUnit.Framework.Constraints.IResolveConstraint)">
\r
1224 Construct given a base constraint
\r
1226 <param name="resolvable"></param>
\r
1228 <member name="M:NUnit.Framework.Constraints.AttributeConstraint.#ctor(System.Type,NUnit.Framework.Constraints.Constraint)">
\r
1230 Constructs an AttributeConstraint for a specified attriute
\r
1231 Type and base constraint.
\r
1233 <param name="type"></param>
\r
1234 <param name="baseConstraint"></param>
\r
1236 <member name="M:NUnit.Framework.Constraints.AttributeConstraint.Matches(System.Object)">
\r
1238 Determines whether the Type or other provider has the
\r
1239 expected attribute and if its value matches the
\r
1240 additional constraint specified.
\r
1243 <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1245 Writes a description of the attribute to the specified writer.
\r
1248 <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1250 Writes the actual value supplied to the specified writer.
\r
1253 <member name="M:NUnit.Framework.Constraints.AttributeConstraint.GetStringRepresentation">
\r
1255 Returns a string representation of the constraint.
\r
1258 <member name="T:NUnit.Framework.Constraints.BasicConstraint">
\r
1260 BasicConstraint is the abstract base for constraints that
\r
1261 perform a simple comparison to a constant value.
\r
1264 <member name="M:NUnit.Framework.Constraints.BasicConstraint.#ctor(System.Object,System.String)">
\r
1266 Initializes a new instance of the <see cref="T:BasicConstraint"/> class.
\r
1268 <param name="expected">The expected.</param>
\r
1269 <param name="description">The description.</param>
\r
1271 <member name="M:NUnit.Framework.Constraints.BasicConstraint.Matches(System.Object)">
\r
1273 Test whether the constraint is satisfied by a given value
\r
1275 <param name="actual">The value to be tested</param>
\r
1276 <returns>True for success, false for failure</returns>
\r
1278 <member name="M:NUnit.Framework.Constraints.BasicConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1280 Write the constraint description to a MessageWriter
\r
1282 <param name="writer">The writer on which the description is displayed</param>
\r
1284 <member name="T:NUnit.Framework.Constraints.NullConstraint">
\r
1286 NullConstraint tests that the actual value is null
\r
1289 <member name="M:NUnit.Framework.Constraints.NullConstraint.#ctor">
\r
1291 Initializes a new instance of the <see cref="T:NullConstraint"/> class.
\r
1294 <member name="T:NUnit.Framework.Constraints.TrueConstraint">
\r
1296 TrueConstraint tests that the actual value is true
\r
1299 <member name="M:NUnit.Framework.Constraints.TrueConstraint.#ctor">
\r
1301 Initializes a new instance of the <see cref="T:TrueConstraint"/> class.
\r
1304 <member name="T:NUnit.Framework.Constraints.FalseConstraint">
\r
1306 FalseConstraint tests that the actual value is false
\r
1309 <member name="M:NUnit.Framework.Constraints.FalseConstraint.#ctor">
\r
1311 Initializes a new instance of the <see cref="T:FalseConstraint"/> class.
\r
1314 <member name="T:NUnit.Framework.Constraints.NaNConstraint">
\r
1316 NaNConstraint tests that the actual value is a double or float NaN
\r
1319 <member name="M:NUnit.Framework.Constraints.NaNConstraint.Matches(System.Object)">
\r
1321 Test that the actual value is an NaN
\r
1323 <param name="actual"></param>
\r
1324 <returns></returns>
\r
1326 <member name="M:NUnit.Framework.Constraints.NaNConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1328 Write the constraint description to a specified writer
\r
1330 <param name="writer"></param>
\r
1332 <member name="T:NUnit.Framework.Constraints.BinaryConstraint">
\r
1334 BinaryConstraint is the abstract base of all constraints
\r
1335 that combine two other constraints in some fashion.
\r
1338 <member name="F:NUnit.Framework.Constraints.BinaryConstraint.left">
\r
1340 The first constraint being combined
\r
1343 <member name="F:NUnit.Framework.Constraints.BinaryConstraint.right">
\r
1345 The second constraint being combined
\r
1348 <member name="M:NUnit.Framework.Constraints.BinaryConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)">
\r
1350 Construct a BinaryConstraint from two other constraints
\r
1352 <param name="left">The first constraint</param>
\r
1353 <param name="right">The second constraint</param>
\r
1355 <member name="T:NUnit.Framework.Constraints.AndConstraint">
\r
1357 AndConstraint succeeds only if both members succeed.
\r
1360 <member name="M:NUnit.Framework.Constraints.AndConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)">
\r
1362 Create an AndConstraint from two other constraints
\r
1364 <param name="left">The first constraint</param>
\r
1365 <param name="right">The second constraint</param>
\r
1367 <member name="M:NUnit.Framework.Constraints.AndConstraint.Matches(System.Object)">
\r
1369 Apply both member constraints to an actual value, succeeding
\r
1370 succeeding only if both of them succeed.
\r
1372 <param name="actual">The actual value</param>
\r
1373 <returns>True if the constraints both succeeded</returns>
\r
1375 <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1377 Write a description for this contraint to a MessageWriter
\r
1379 <param name="writer">The MessageWriter to receive the description</param>
\r
1381 <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1383 Write the actual value for a failing constraint test to a
\r
1384 MessageWriter. The default implementation simply writes
\r
1385 the raw value of actual, leaving it to the writer to
\r
1386 perform any formatting.
\r
1388 <param name="writer">The writer on which the actual value is displayed</param>
\r
1390 <member name="T:NUnit.Framework.Constraints.OrConstraint">
\r
1392 OrConstraint succeeds if either member succeeds
\r
1395 <member name="M:NUnit.Framework.Constraints.OrConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)">
\r
1397 Create an OrConstraint from two other constraints
\r
1399 <param name="left">The first constraint</param>
\r
1400 <param name="right">The second constraint</param>
\r
1402 <member name="M:NUnit.Framework.Constraints.OrConstraint.Matches(System.Object)">
\r
1404 Apply the member constraints to an actual value, succeeding
\r
1405 succeeding as soon as one of them succeeds.
\r
1407 <param name="actual">The actual value</param>
\r
1408 <returns>True if either constraint succeeded</returns>
\r
1410 <member name="M:NUnit.Framework.Constraints.OrConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1412 Write a description for this contraint to a MessageWriter
\r
1414 <param name="writer">The MessageWriter to receive the description</param>
\r
1416 <member name="T:NUnit.Framework.Constraints.CollectionConstraint">
\r
1418 CollectionConstraint is the abstract base class for
\r
1419 constraints that operate on collections.
\r
1422 <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor">
\r
1424 Construct an empty CollectionConstraint
\r
1427 <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor(System.Object)">
\r
1429 Construct a CollectionConstraint
\r
1431 <param name="arg"></param>
\r
1433 <member name="M:NUnit.Framework.Constraints.CollectionConstraint.IsEmpty(System.Collections.IEnumerable)">
\r
1435 Determines whether the specified enumerable is empty.
\r
1437 <param name="enumerable">The enumerable.</param>
\r
1439 <c>true</c> if the specified enumerable is empty; otherwise, <c>false</c>.
\r
1442 <member name="M:NUnit.Framework.Constraints.CollectionConstraint.Matches(System.Object)">
\r
1444 Test whether the constraint is satisfied by a given value
\r
1446 <param name="actual">The value to be tested</param>
\r
1447 <returns>True for success, false for failure</returns>
\r
1449 <member name="M:NUnit.Framework.Constraints.CollectionConstraint.doMatch(System.Collections.IEnumerable)">
\r
1451 Protected method to be implemented by derived classes
\r
1453 <param name="collection"></param>
\r
1454 <returns></returns>
\r
1456 <member name="T:NUnit.Framework.Constraints.CollectionItemsEqualConstraint">
\r
1458 CollectionItemsEqualConstraint is the abstract base class for all
\r
1459 collection constraints that apply some notion of item equality
\r
1460 as a part of their operation.
\r
1463 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor">
\r
1465 Construct an empty CollectionConstraint
\r
1468 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor(System.Object)">
\r
1470 Construct a CollectionConstraint
\r
1472 <param name="arg"></param>
\r
1474 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IComparer)">
\r
1476 Flag the constraint to use the supplied IComparer object.
\r
1478 <param name="comparer">The IComparer object to use.</param>
\r
1479 <returns>Self.</returns>
\r
1481 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IComparer{``0})">
\r
1483 Flag the constraint to use the supplied IComparer object.
\r
1485 <param name="comparer">The IComparer object to use.</param>
\r
1486 <returns>Self.</returns>
\r
1488 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Comparison{``0})">
\r
1490 Flag the constraint to use the supplied Comparison object.
\r
1492 <param name="comparer">The IComparer object to use.</param>
\r
1493 <returns>Self.</returns>
\r
1495 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IEqualityComparer)">
\r
1497 Flag the constraint to use the supplied IEqualityComparer object.
\r
1499 <param name="comparer">The IComparer object to use.</param>
\r
1500 <returns>Self.</returns>
\r
1502 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})">
\r
1504 Flag the constraint to use the supplied IEqualityComparer object.
\r
1506 <param name="comparer">The IComparer object to use.</param>
\r
1507 <returns>Self.</returns>
\r
1509 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.ItemsEqual(System.Object,System.Object)">
\r
1511 Compares two collection members for equality
\r
1514 <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Tally(System.Collections.IEnumerable)">
\r
1516 Return a new CollectionTally for use in making tests
\r
1518 <param name="c">The collection to be included in the tally</param>
\r
1520 <member name="P:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoreCase">
\r
1522 Flag the constraint to ignore case and return self.
\r
1525 <member name="T:NUnit.Framework.Constraints.EmptyCollectionConstraint">
\r
1527 EmptyCollectionConstraint tests whether a collection is empty.
\r
1530 <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.doMatch(System.Collections.IEnumerable)">
\r
1532 Check that the collection is empty
\r
1534 <param name="collection"></param>
\r
1535 <returns></returns>
\r
1537 <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1539 Write the constraint description to a MessageWriter
\r
1541 <param name="writer"></param>
\r
1543 <member name="T:NUnit.Framework.Constraints.UniqueItemsConstraint">
\r
1545 UniqueItemsConstraint tests whether all the items in a
\r
1546 collection are unique.
\r
1549 <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.doMatch(System.Collections.IEnumerable)">
\r
1551 Check that all items are unique.
\r
1553 <param name="actual"></param>
\r
1554 <returns></returns>
\r
1556 <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1558 Write a description of this constraint to a MessageWriter
\r
1560 <param name="writer"></param>
\r
1562 <member name="T:NUnit.Framework.Constraints.CollectionContainsConstraint">
\r
1564 CollectionContainsConstraint is used to test whether a collection
\r
1565 contains an expected object as a member.
\r
1568 <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.#ctor(System.Object)">
\r
1570 Construct a CollectionContainsConstraint
\r
1572 <param name="expected"></param>
\r
1574 <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.doMatch(System.Collections.IEnumerable)">
\r
1576 Test whether the expected item is contained in the collection
\r
1578 <param name="actual"></param>
\r
1579 <returns></returns>
\r
1581 <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1583 Write a descripton of the constraint to a MessageWriter
\r
1585 <param name="writer"></param>
\r
1587 <member name="T:NUnit.Framework.Constraints.CollectionEquivalentConstraint">
\r
1589 CollectionEquivalentCOnstraint is used to determine whether two
\r
1590 collections are equivalent.
\r
1593 <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.#ctor(System.Collections.IEnumerable)">
\r
1595 Construct a CollectionEquivalentConstraint
\r
1597 <param name="expected"></param>
\r
1599 <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.doMatch(System.Collections.IEnumerable)">
\r
1601 Test whether two collections are equivalent
\r
1603 <param name="actual"></param>
\r
1604 <returns></returns>
\r
1606 <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1608 Write a description of this constraint to a MessageWriter
\r
1610 <param name="writer"></param>
\r
1612 <member name="T:NUnit.Framework.Constraints.CollectionSubsetConstraint">
\r
1614 CollectionSubsetConstraint is used to determine whether
\r
1615 one collection is a subset of another
\r
1618 <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.#ctor(System.Collections.IEnumerable)">
\r
1620 Construct a CollectionSubsetConstraint
\r
1622 <param name="expected">The collection that the actual value is expected to be a subset of</param>
\r
1624 <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.doMatch(System.Collections.IEnumerable)">
\r
1626 Test whether the actual collection is a subset of
\r
1627 the expected collection provided.
\r
1629 <param name="actual"></param>
\r
1630 <returns></returns>
\r
1632 <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1634 Write a description of this constraint to a MessageWriter
\r
1636 <param name="writer"></param>
\r
1638 <member name="T:NUnit.Framework.Constraints.CollectionOrderedConstraint">
\r
1640 CollectionOrderedConstraint is used to test whether a collection is ordered.
\r
1643 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.#ctor">
\r
1645 Construct a CollectionOrderedConstraint
\r
1648 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using(System.Collections.IComparer)">
\r
1650 Modifies the constraint to use an IComparer and returns self.
\r
1653 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Collections.Generic.IComparer{``0})">
\r
1655 Modifies the constraint to use an IComparer<T> and returns self.
\r
1658 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Comparison{``0})">
\r
1660 Modifies the constraint to use a Comparison<T> and returns self.
\r
1663 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.By(System.String)">
\r
1665 Modifies the constraint to test ordering by the value of
\r
1666 a specified property and returns self.
\r
1669 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.doMatch(System.Collections.IEnumerable)">
\r
1671 Test whether the collection is ordered
\r
1673 <param name="actual"></param>
\r
1674 <returns></returns>
\r
1676 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1678 Write a description of the constraint to a MessageWriter
\r
1680 <param name="writer"></param>
\r
1682 <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.GetStringRepresentation">
\r
1684 Returns the string representation of the constraint.
\r
1686 <returns></returns>
\r
1688 <member name="P:NUnit.Framework.Constraints.CollectionOrderedConstraint.Descending">
\r
1690 If used performs a reverse comparison
\r
1693 <member name="T:NUnit.Framework.Constraints.CollectionTally">
\r
1695 CollectionTally counts (tallies) the number of
\r
1696 occurences of each object in one or more enumerations.
\r
1699 <member name="M:NUnit.Framework.Constraints.CollectionTally.#ctor(NUnit.Framework.Constraints.NUnitEqualityComparer,System.Collections.IEnumerable)">
\r
1701 Construct a CollectionTally object from a comparer and a collection
\r
1704 <member name="M:NUnit.Framework.Constraints.CollectionTally.TryRemove(System.Object)">
\r
1706 Try to remove an object from the tally
\r
1708 <param name="o">The object to remove</param>
\r
1709 <returns>True if successful, false if the object was not found</returns>
\r
1711 <member name="M:NUnit.Framework.Constraints.CollectionTally.TryRemove(System.Collections.IEnumerable)">
\r
1713 Try to remove a set of objects from the tally
\r
1715 <param name="c">The objects to remove</param>
\r
1716 <returns>True if successful, false if any object was not found</returns>
\r
1718 <member name="P:NUnit.Framework.Constraints.CollectionTally.Count">
\r
1720 The number of objects remaining in the tally
\r
1723 <member name="T:NUnit.Framework.Constraints.ComparisonAdapter">
\r
1725 ComparisonAdapter class centralizes all comparisons of
\r
1726 values in NUnit, adapting to the use of any provided
\r
1727 IComparer, IComparer<T> or Comparison<T>
\r
1730 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For(System.Collections.IComparer)">
\r
1732 Returns a ComparisonAdapter that wraps an IComparer
\r
1735 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Collections.Generic.IComparer{``0})">
\r
1737 Returns a ComparisonAdapter that wraps an IComparer<T>
\r
1740 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Comparison{``0})">
\r
1742 Returns a ComparisonAdapter that wraps a Comparison<T>
\r
1745 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.Compare(System.Object,System.Object)">
\r
1747 Compares two objects
\r
1750 <member name="P:NUnit.Framework.Constraints.ComparisonAdapter.Default">
\r
1752 Gets the default ComparisonAdapter, which wraps an
\r
1753 NUnitComparer object.
\r
1756 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.#ctor(System.Collections.IComparer)">
\r
1758 Construct a ComparisonAdapter for an IComparer
\r
1761 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.Compare(System.Object,System.Object)">
\r
1763 Compares two objects
\r
1765 <param name="expected"></param>
\r
1766 <param name="actual"></param>
\r
1767 <returns></returns>
\r
1769 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.DefaultComparisonAdapter.#ctor">
\r
1771 Construct a default ComparisonAdapter
\r
1774 <member name="T:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1">
\r
1776 ComparisonAdapter<T> extends ComparisonAdapter and
\r
1777 allows use of an IComparer<T> or Comparison<T>
\r
1778 to actually perform the comparison.
\r
1781 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.#ctor(System.Collections.Generic.IComparer{`0})">
\r
1783 Construct a ComparisonAdapter for an IComparer<T>
\r
1786 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.Compare(System.Object,System.Object)">
\r
1788 Compare a Type T to an object
\r
1791 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.#ctor(System.Comparison{`0})">
\r
1793 Construct a ComparisonAdapter for a Comparison<T>
\r
1796 <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.Compare(System.Object,System.Object)">
\r
1798 Compare a Type T to an object
\r
1801 <member name="T:NUnit.Framework.Constraints.ComparisonConstraint">
\r
1803 Abstract base class for constraints that compare values to
\r
1804 determine if one is greater than, equal to or less than
\r
1808 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.expected">
\r
1810 The value against which a comparison is to be made
\r
1813 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.ltOK">
\r
1815 If true, less than returns success
\r
1818 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.eqOK">
\r
1820 if true, equal returns success
\r
1823 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.gtOK">
\r
1825 if true, greater than returns success
\r
1828 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.predicate">
\r
1830 The predicate used as a part of the description
\r
1833 <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.comparer">
\r
1835 ComparisonAdapter to be used in making the comparison
\r
1838 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.#ctor(System.Object,System.Boolean,System.Boolean,System.Boolean,System.String)">
\r
1840 Initializes a new instance of the <see cref="T:ComparisonConstraint"/> class.
\r
1842 <param name="value">The value against which to make a comparison.</param>
\r
1843 <param name="ltOK">if set to <c>true</c> less succeeds.</param>
\r
1844 <param name="eqOK">if set to <c>true</c> equal succeeds.</param>
\r
1845 <param name="gtOK">if set to <c>true</c> greater succeeds.</param>
\r
1846 <param name="predicate">String used in describing the constraint.</param>
\r
1848 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Matches(System.Object)">
\r
1850 Test whether the constraint is satisfied by a given value
\r
1852 <param name="actual">The value to be tested</param>
\r
1853 <returns>True for success, false for failure</returns>
\r
1855 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)">
\r
1857 Write the constraint description to a MessageWriter
\r
1859 <param name="writer">The writer on which the description is displayed</param>
\r
1861 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using(System.Collections.IComparer)">
\r
1863 Modifies the constraint to use an IComparer and returns self
\r
1866 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Collections.Generic.IComparer{``0})">
\r
1868 Modifies the constraint to use an IComparer<T> and returns self
\r
1871 <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Comparison{``0})">
\r
1873 Modifies the constraint to use a Comparison<T> and returns self
\r
1876 <member name="T:NUnit.Framework.Constraints.GreaterThanConstraint">
\r
1878 Tests whether a value is greater than the value supplied to its constructor
\r
1881 <member name="M:NUnit.Framework.Constraints.GreaterThanConstraint.#ctor(System.Object)">
\r
1883 Initializes a new instance of the <see cref="T:GreaterThanConstraint"/> class.
\r
1885 <param name="expected">The expected value.</param>
\r
1887 <member name="T:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint">
\r
1889 Tests whether a value is greater than or equal to the value supplied to its constructor
\r
1892 <member name="M:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.#ctor(System.Object)">
\r
1894 Initializes a new instance of the <see cref="T:GreaterThanOrEqualConstraint"/> class.
\r
1896 <param name="expected">The expected value.</param>
\r
1898 <member name="T:NUnit.Framework.Constraints.LessThanConstraint">
\r
1900 Tests whether a value is less than the value supplied to its constructor
\r
1903 <member name="M:NUnit.Framework.Constraints.LessThanConstraint.#ctor(System.Object)">
\r
1905 Initializes a new instance of the <see cref="T:LessThanConstraint"/> class.
\r
1907 <param name="expected">The expected value.</param>
\r
1909 <member name="T:NUnit.Framework.Constraints.LessThanOrEqualConstraint">
\r
1911 Tests whether a value is less than or equal to the value supplied to its constructor
\r
1914 <member name="M:NUnit.Framework.Constraints.LessThanOrEqualConstraint.#ctor(System.Object)">
\r
1916 Initializes a new instance of the <see cref="T:LessThanOrEqualConstraint"/> class.
\r
1918 <param name="expected">The expected value.</param>
\r
1920 <member name="T:NUnit.Framework.Constraints.ActualValueDelegate">
\r
1922 Delegate used to delay evaluation of the actual value
\r
1923 to be used in evaluating a constraint
\r
1926 <member name="T:NUnit.Framework.Constraints.ConstraintBuilder">
\r
1928 ConstraintBuilder maintains the stacks that are used in
\r
1929 processing a ConstraintExpression. An OperatorStack
\r
1930 is used to hold operators that are waiting for their
\r
1931 operands to be reognized. a ConstraintStack holds
\r
1932 input constraints as well as the results of each
\r
1936 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.#ctor">
\r
1938 Initializes a new instance of the <see cref="T:ConstraintBuilder"/> class.
\r
1941 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.ConstraintOperator)">
\r
1943 Appends the specified operator to the expression by first
\r
1944 reducing the operator stack and then pushing the new
\r
1945 operator on the stack.
\r
1947 <param name="op">The operator to push.</param>
\r
1949 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.Constraint)">
\r
1951 Appends the specified constraint to the expresson by pushing
\r
1952 it on the constraint stack.
\r
1954 <param name="constraint">The constraint to push.</param>
\r
1956 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.SetTopOperatorRightContext(System.Object)">
\r
1958 Sets the top operator right context.
\r
1960 <param name="rightContext">The right context.</param>
\r
1962 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ReduceOperatorStack(System.Int32)">
\r
1964 Reduces the operator stack until the topmost item
\r
1965 precedence is greater than or equal to the target precedence.
\r
1967 <param name="targetPrecedence">The target precedence.</param>
\r
1969 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Resolve">
\r
1971 Resolves this instance, returning a Constraint. If the builder
\r
1972 is not currently in a resolvable state, an exception is thrown.
\r
1974 <returns>The resolved constraint</returns>
\r
1976 <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.IsResolvable">
\r
1978 Gets a value indicating whether this instance is resolvable.
\r
1981 <c>true</c> if this instance is resolvable; otherwise, <c>false</c>.
\r
1984 <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack">
\r
1986 OperatorStack is a type-safe stack for holding ConstraintOperators
\r
1989 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)">
\r
1991 Initializes a new instance of the <see cref="T:OperatorStack"/> class.
\r
1993 <param name="builder">The builder.</param>
\r
1995 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Push(NUnit.Framework.Constraints.ConstraintOperator)">
\r
1997 Pushes the specified operator onto the stack.
\r
1999 <param name="op">The op.</param>
\r
2001 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Pop">
\r
2003 Pops the topmost operator from the stack.
\r
2005 <returns></returns>
\r
2007 <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Empty">
\r
2009 Gets a value indicating whether this <see cref="T:OpStack"/> is empty.
\r
2011 <value><c>true</c> if empty; otherwise, <c>false</c>.</value>
\r
2013 <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Top">
\r
2015 Gets the topmost operator without modifying the stack.
\r
2017 <value>The top.</value>
\r
2019 <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack">
\r
2021 ConstraintStack is a type-safe stack for holding Constraints
\r
2024 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)">
\r
2026 Initializes a new instance of the <see cref="T:ConstraintStack"/> class.
\r
2028 <param name="builder">The builder.</param>
\r
2030 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Push(NUnit.Framework.Constraints.Constraint)">
\r
2032 Pushes the specified constraint. As a side effect,
\r
2033 the constraint's builder field is set to the
\r
2034 ConstraintBuilder owning this stack.
\r
2036 <param name="constraint">The constraint.</param>
\r
2038 <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Pop">
\r
2040 Pops this topmost constrait from the stack.
\r
2041 As a side effect, the constraint's builder
\r
2042 field is set to null.
\r
2044 <returns></returns>
\r
2046 <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Empty">
\r
2048 Gets a value indicating whether this <see cref="T:ConstraintStack"/> is empty.
\r
2050 <value><c>true</c> if empty; otherwise, <c>false</c>.</value>
\r
2052 <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Top">
\r
2054 Gets the topmost constraint without modifying the stack.
\r
2056 <value>The topmost constraint</value>
\r
2058 <member name="T:NUnit.Framework.Constraints.ConstraintExpression">
\r
2060 ConstraintExpression represents a compound constraint in the
\r
2061 process of being constructed from a series of syntactic elements.
\r
2063 Individual elements are appended to the expression as they are
\r
2064 reognized. Once an actual Constraint is appended, the expression
\r
2065 returns a resolvable Constraint.
\r
2068 <member name="T:NUnit.Framework.Constraints.ConstraintExpressionBase">
\r
2070 ConstraintExpressionBase is the abstract base class for the
\r
2071 generated ConstraintExpression class, which represents a
\r
2072 compound constraint in the process of being constructed
\r
2073 from a series of syntactic elements.
\r
2075 NOTE: ConstraintExpressionBase is aware of some of its
\r
2076 derived classes, which is an apparent violation of
\r
2077 encapsulation. Ideally, these classes would be a
\r
2078 single class, but they must be separated in order to
\r
2079 allow parts to be generated under .NET 1.x and to
\r
2080 provide proper user feedback in syntactically
\r
2084 <member name="F:NUnit.Framework.Constraints.ConstraintExpressionBase.builder">
\r
2086 The ConstraintBuilder holding the elements recognized so far
\r
2089 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor">
\r
2091 Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/> class.
\r
2094 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)">
\r
2096 Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/>
\r
2097 class passing in a ConstraintBuilder, which may be pre-populated.
\r
2099 <param name="builder">The builder.</param>
\r
2101 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.ToString">
\r
2103 Returns a string representation of the expression as it
\r
2104 currently stands. This should only be used for testing,
\r
2105 since it has the side-effect of resolving the expression.
\r
2107 <returns></returns>
\r
2109 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.ConstraintOperator)">
\r
2111 Appends an operator to the expression and returns the
\r
2112 resulting expression itself.
\r
2115 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.SelfResolvingOperator)">
\r
2117 Appends a self-resolving operator to the expression and
\r
2118 returns a new ResolvableConstraintExpression.
\r
2121 <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.Constraint)">
\r
2123 Appends a constraint to the expression and returns that
\r
2124 constraint, which is associated with the current state
\r
2125 of the expression being built.
\r
2128 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor">
\r
2130 Initializes a new instance of the <see cref="T:ConstraintExpression"/> class.
\r
2133 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)">
\r
2135 Initializes a new instance of the <see cref="T:ConstraintExpression"/>
\r
2136 class passing in a ConstraintBuilder, which may be pre-populated.
\r
2138 <param name="builder">The builder.</param>
\r
2140 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Property(System.String)">
\r
2142 Returns a new PropertyConstraintExpression, which will either
\r
2143 test for the existence of the named property on the object
\r
2144 being tested or apply any following constraint to that property.
\r
2147 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute(System.Type)">
\r
2149 Returns a new AttributeConstraint checking for the
\r
2150 presence of a particular attribute on an object.
\r
2153 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute``1">
\r
2155 Returns a new AttributeConstraint checking for the
\r
2156 presence of a particular attribute on an object.
\r
2159 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(NUnit.Framework.Constraints.Constraint)">
\r
2161 Returns the constraint provided as an argument - used to allow custom
\r
2162 custom constraints to easily participate in the syntax.
\r
2165 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches``1(System.Predicate{``0})">
\r
2167 Returns the constraint provided as an argument - used to allow custom
\r
2168 custom constraints to easily participate in the syntax.
\r
2171 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EqualTo(System.Object)">
\r
2173 Returns a constraint that tests two items for equality
\r
2176 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SameAs(System.Object)">
\r
2178 Returns a constraint that tests that two references are the same object
\r
2181 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThan(System.Object)">
\r
2183 Returns a constraint that tests whether the
\r
2184 actual value is greater than the suppled argument
\r
2187 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThanOrEqualTo(System.Object)">
\r
2189 Returns a constraint that tests whether the
\r
2190 actual value is greater than or equal to the suppled argument
\r
2193 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtLeast(System.Object)">
\r
2195 Returns a constraint that tests whether the
\r
2196 actual value is greater than or equal to the suppled argument
\r
2199 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThan(System.Object)">
\r
2201 Returns a constraint that tests whether the
\r
2202 actual value is less than the suppled argument
\r
2205 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThanOrEqualTo(System.Object)">
\r
2207 Returns a constraint that tests whether the
\r
2208 actual value is less than or equal to the suppled argument
\r
2211 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtMost(System.Object)">
\r
2213 Returns a constraint that tests whether the
\r
2214 actual value is less than or equal to the suppled argument
\r
2217 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf(System.Type)">
\r
2219 Returns a constraint that tests whether the actual
\r
2220 value is of the exact type supplied as an argument.
\r
2223 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf``1">
\r
2225 Returns a constraint that tests whether the actual
\r
2226 value is of the exact type supplied as an argument.
\r
2229 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf(System.Type)">
\r
2231 Returns a constraint that tests whether the actual value
\r
2232 is of the type supplied as an argument or a derived type.
\r
2235 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf``1">
\r
2237 Returns a constraint that tests whether the actual value
\r
2238 is of the type supplied as an argument or a derived type.
\r
2241 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType(System.Type)">
\r
2243 Returns a constraint that tests whether the actual value
\r
2244 is of the type supplied as an argument or a derived type.
\r
2247 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType``1">
\r
2249 Returns a constraint that tests whether the actual value
\r
2250 is of the type supplied as an argument or a derived type.
\r
2253 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom(System.Type)">
\r
2255 Returns a constraint that tests whether the actual value
\r
2256 is assignable from the type supplied as an argument.
\r
2259 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom``1">
\r
2261 Returns a constraint that tests whether the actual value
\r
2262 is assignable from the type supplied as an argument.
\r
2265 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo(System.Type)">
\r
2267 Returns a constraint that tests whether the actual value
\r
2268 is assignable from the type supplied as an argument.
\r
2271 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo``1">
\r
2273 Returns a constraint that tests whether the actual value
\r
2274 is assignable from the type supplied as an argument.
\r
2277 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EquivalentTo(System.Collections.IEnumerable)">
\r
2279 Returns a constraint that tests whether the actual value
\r
2280 is a collection containing the same elements as the
\r
2281 collection supplied as an argument.
\r
2284 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SubsetOf(System.Collections.IEnumerable)">
\r
2286 Returns a constraint that tests whether the actual value
\r
2287 is a subset of the collection supplied as an argument.
\r
2290 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Member(System.Object)">
\r
2292 Returns a new CollectionContainsConstraint checking for the
\r
2293 presence of a particular object in the collection.
\r
2296 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.Object)">
\r
2298 Returns a new CollectionContainsConstraint checking for the
\r
2299 presence of a particular object in the collection.
\r
2302 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.String)">
\r
2304 Returns a new ContainsConstraint. This constraint
\r
2305 will, in turn, make use of the appropriate second-level
\r
2306 constraint, depending on the type of the actual argument.
\r
2307 This overload is only used if the item sought is a string,
\r
2308 since any other type implies that we are looking for a
\r
2309 collection member.
\r
2312 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringContaining(System.String)">
\r
2314 Returns a constraint that succeeds if the actual
\r
2315 value contains the substring supplied as an argument.
\r
2318 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.ContainsSubstring(System.String)">
\r
2320 Returns a constraint that succeeds if the actual
\r
2321 value contains the substring supplied as an argument.
\r
2324 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StartsWith(System.String)">
\r
2326 Returns a constraint that succeeds if the actual
\r
2327 value starts with the substring supplied as an argument.
\r
2330 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringStarting(System.String)">
\r
2332 Returns a constraint that succeeds if the actual
\r
2333 value starts with the substring supplied as an argument.
\r
2336 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EndsWith(System.String)">
\r
2338 Returns a constraint that succeeds if the actual
\r
2339 value ends with the substring supplied as an argument.
\r
2342 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringEnding(System.String)">
\r
2344 Returns a constraint that succeeds if the actual
\r
2345 value ends with the substring supplied as an argument.
\r
2348 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(System.String)">
\r
2350 Returns a constraint that succeeds if the actual
\r
2351 value matches the Regex pattern supplied as an argument.
\r
2354 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringMatching(System.String)">
\r
2356 Returns a constraint that succeeds if the actual
\r
2357 value matches the Regex pattern supplied as an argument.
\r
2360 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePath(System.String)">
\r
2362 Returns a constraint that tests whether the path provided
\r
2363 is the same as an expected path after canonicalization.
\r
2366 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SubPath(System.String)">
\r
2368 Returns a constraint that tests whether the path provided
\r
2369 is the same path or under an expected path after canonicalization.
\r
2372 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePathOrUnder(System.String)">
\r
2374 Returns a constraint that tests whether the path provided
\r
2375 is the same path or under an expected path after canonicalization.
\r
2378 <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InRange(System.IComparable,System.IComparable)">
\r
2380 Returns a constraint that tests whether the actual value falls
\r
2381 within a specified range.
\r
2384 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Not">
\r
2386 Returns a ConstraintExpression that negates any
\r
2387 following constraint.
\r
2390 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.No">
\r
2392 Returns a ConstraintExpression that negates any
\r
2393 following constraint.
\r
2396 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.All">
\r
2398 Returns a ConstraintExpression, which will apply
\r
2399 the following constraint to all members of a collection,
\r
2400 succeeding if all of them succeed.
\r
2403 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Some">
\r
2405 Returns a ConstraintExpression, which will apply
\r
2406 the following constraint to all members of a collection,
\r
2407 succeeding if at least one of them succeeds.
\r
2410 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.None">
\r
2412 Returns a ConstraintExpression, which will apply
\r
2413 the following constraint to all members of a collection,
\r
2414 succeeding if all of them fail.
\r
2417 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Length">
\r
2419 Returns a new ConstraintExpression, which will apply the following
\r
2420 constraint to the Length property of the object being tested.
\r
2423 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Count">
\r
2425 Returns a new ConstraintExpression, which will apply the following
\r
2426 constraint to the Count property of the object being tested.
\r
2429 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Message">
\r
2431 Returns a new ConstraintExpression, which will apply the following
\r
2432 constraint to the Message property of the object being tested.
\r
2435 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException">
\r
2437 Returns a new ConstraintExpression, which will apply the following
\r
2438 constraint to the InnerException property of the object being tested.
\r
2441 <member name="P:NUnit.Framework.Constraints.ConstraintExpression.With">
\r
2443 With is currently a NOP - reserved for future use.
\r