diff options
-rw-r--r-- | lib/nunit.framework.dll | bin | 135168 -> 143360 bytes | |||
-rw-r--r-- | lib/nunit.framework.xml | 10038 |
2 files changed, 5385 insertions, 4653 deletions
diff --git a/lib/nunit.framework.dll b/lib/nunit.framework.dll Binary files differindex 875e098..eaea9ee 100644 --- a/lib/nunit.framework.dll +++ b/lib/nunit.framework.dll diff --git a/lib/nunit.framework.xml b/lib/nunit.framework.xml index b678714..47fadb6 100644 --- a/lib/nunit.framework.xml +++ b/lib/nunit.framework.xml @@ -4,2180 +4,2491 @@ <name>nunit.framework</name> </assembly> <members> - <member name="T:NUnit.Framework.Constraints.BinaryConstraint"> + <member name="T:NUnit.Framework.CategoryAttribute"> <summary> - BinaryConstraint is the abstract base of all constraints - that combine two other constraints in some fashion. + Attribute used to apply a category to a test </summary> </member> - <member name="T:NUnit.Framework.Constraints.Constraint"> + <member name="F:NUnit.Framework.CategoryAttribute.categoryName"> <summary> - The Constraint class is the base of all built-in constraints - within NUnit. It provides the operator overloads used to combine - constraints. + The name of the category </summary> </member> - <member name="T:NUnit.Framework.Constraints.IResolveConstraint"> + <member name="M:NUnit.Framework.CategoryAttribute.#ctor(System.String)"> <summary> - The IConstraintExpression interface is implemented by all - complete and resolvable constraints and expressions. + Construct attribute for a given category based on + a name. The name may not contain the characters ',', + '+', '-' or '!'. However, this is not checked in the + constructor since it would cause an error to arise at + as the test was loaded without giving a clear indication + of where the problem is located. The error is handled + in NUnitFramework.cs by marking the test as not + runnable. </summary> + <param name="name">The name of the category</param> </member> - <member name="M:NUnit.Framework.Constraints.IResolveConstraint.Resolve"> + <member name="M:NUnit.Framework.CategoryAttribute.#ctor"> <summary> - Return the top-level constraint for this expression + Protected constructor uses the Type name as the name + of the category. </summary> - <returns></returns> </member> - <member name="F:NUnit.Framework.Constraints.Constraint.UNSET"> + <member name="P:NUnit.Framework.CategoryAttribute.Name"> <summary> - Static UnsetObject used to detect derived constraints - failing to set the actual value. + The name of the category </summary> </member> - <member name="F:NUnit.Framework.Constraints.Constraint.actual"> + <member name="T:NUnit.Framework.DatapointAttribute"> <summary> - The actual value being tested against a constraint + Used to mark a field for use as a datapoint when executing a theory + within the same fixture that requires an argument of the field's Type. </summary> </member> - <member name="F:NUnit.Framework.Constraints.Constraint.displayName"> + <member name="T:NUnit.Framework.DatapointsAttribute"> <summary> - The display name of this Constraint for use by ToString() + Used to mark an array as containing a set of datapoints to be used + executing a theory within the same fixture that requires an argument + of the Type of the array elements. </summary> </member> - <member name="F:NUnit.Framework.Constraints.Constraint.argcnt"> + <member name="T:NUnit.Framework.DescriptionAttribute"> <summary> - Argument fields used by ToString(); + Attribute used to provide descriptive text about a + test case or fixture. </summary> </member> - <member name="F:NUnit.Framework.Constraints.Constraint.builder"> + <member name="M:NUnit.Framework.DescriptionAttribute.#ctor(System.String)"> <summary> - The builder holding this constraint + Construct the attribute </summary> + <param name="description">Text describing the test</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.#ctor"> + <member name="P:NUnit.Framework.DescriptionAttribute.Description"> <summary> - Construct a constraint with no arguments + Gets the test description </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object)"> + <member name="T:NUnit.Framework.MessageMatch"> <summary> - Construct a constraint with one argument + Enumeration indicating how the expected message parameter is to be used </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object,System.Object)"> + <member name="F:NUnit.Framework.MessageMatch.Exact"> + Expect an exact match + </member> + <member name="F:NUnit.Framework.MessageMatch.Contains"> + Expect a message containing the parameter string + </member> + <member name="F:NUnit.Framework.MessageMatch.Regex"> + Match the regular expression provided as a parameter + </member> + <member name="F:NUnit.Framework.MessageMatch.StartsWith"> + Expect a message that starts with the parameter string + </member> + <member name="T:NUnit.Framework.ExpectedExceptionAttribute"> <summary> - Construct a constraint with two arguments + ExpectedExceptionAttribute </summary> + </member> - <member name="M:NUnit.Framework.Constraints.Constraint.SetBuilder(NUnit.Framework.Constraints.ConstraintBuilder)"> + <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor"> <summary> - Sets the ConstraintBuilder holding this constraint + Constructor for a non-specific exception </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.Type)"> <summary> - Write the failure message to the MessageWriter provided - as an argument. The default implementation simply passes - the constraint and the actual value to the writer, which - then displays the constraint description and the value. - - Constraints that need to provide additional details, - such as where the error occured can override this. + Constructor for a given type of exception </summary> - <param name="writer">The MessageWriter on which to display the message</param> + <param name="exceptionType">The type of the expected exception</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.String)"> <summary> - Test whether the constraint is satisfied by a given value + Constructor for a given exception name </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> + <param name="exceptionName">The full name of the expected exception</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedException"> <summary> - Test whether the constraint is satisfied by an - ActualValueDelegate that returns the value to be tested. - The default implementation simply evaluates the delegate - but derived classes may override it to provide for delayed - processing. + Gets or sets the expected exception type </summary> - <param name="del">An ActualValueDelegate</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.Matches``1(``0@)"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedExceptionName"> <summary> - Test whether the constraint is satisfied by a given reference. - The default implementation simply dereferences the value but - derived classes may override it to provide for delayed processing. + Gets or sets the full Type name of the expected exception </summary> - <param name="actual">A reference to the value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedMessage"> <summary> - Write the constraint description to a MessageWriter + Gets or sets the expected message text </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.UserMessage"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + Gets or sets the user message displayed in case of failure </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.ToString"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.MatchType"> <summary> - Default override of ToString returns the constraint DisplayName - followed by any arguments within angle brackets. + Gets or sets the type of match to be performed on the expected message </summary> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseAnd(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> + <member name="P:NUnit.Framework.ExpectedExceptionAttribute.Handler"> <summary> - This operator creates a constraint that is satisfied only if both - argument constraints are satisfied. + Gets the name of a method to be used as an exception handler </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseOr(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> + <member name="T:NUnit.Framework.ExplicitAttribute"> <summary> - This operator creates a constraint that is satisfied if either - of the argument constraints is satisfied. + ExplicitAttribute marks a test or test fixture so that it will + only be run if explicitly executed from the gui or command line + or if it is included by use of a filter. The test will not be + run simply because an enclosing suite is run. </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.op_LogicalNot(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.ExplicitAttribute.#ctor"> <summary> - This operator creates a constraint that is satisfied if the - argument constraint is not satisfied. + Default constructor </summary> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32)"> + <member name="M:NUnit.Framework.ExplicitAttribute.#ctor(System.String)"> <summary> - Returns a DelayedConstraint with the specified delay time. + Constructor with a reason </summary> - <param name="delayInMilliseconds">The delay in milliseconds.</param> - <returns></returns> + <param name="reason">The reason test is marked explicit</param> </member> - <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32,System.Int32)"> + <member name="P:NUnit.Framework.ExplicitAttribute.Reason"> <summary> - Returns a DelayedConstraint with the specified delay time - and polling interval. + The reason test is marked explicit </summary> - <param name="delayInMilliseconds">The delay in milliseconds.</param> - <param name="pollingInterval">The interval at which to test the constraint.</param> - <returns></returns> </member> - <member name="P:NUnit.Framework.Constraints.Constraint.DisplayName"> + <member name="T:NUnit.Framework.IgnoreAttribute"> <summary> - The display name of this Constraint for use by ToString(). - The default value is the name of the constraint with - trailing "Constraint" removed. Derived classes may set - this to another name in their constructors. + Attribute used to mark a test that is to be ignored. + Ignored tests result in a warning message when the + tests are run. </summary> </member> - <member name="P:NUnit.Framework.Constraints.Constraint.And"> + <member name="M:NUnit.Framework.IgnoreAttribute.#ctor"> <summary> - Returns a ConstraintExpression by appending And - to the current constraint. + Constructs the attribute without giving a reason + for ignoring the test. </summary> </member> - <member name="P:NUnit.Framework.Constraints.Constraint.With"> + <member name="M:NUnit.Framework.IgnoreAttribute.#ctor(System.String)"> <summary> - Returns a ConstraintExpression by appending And - to the current constraint. + Constructs the attribute giving a reason for ignoring the test </summary> + <param name="reason">The reason for ignoring the test</param> </member> - <member name="P:NUnit.Framework.Constraints.Constraint.Or"> + <member name="P:NUnit.Framework.IgnoreAttribute.Reason"> <summary> - Returns a ConstraintExpression by appending Or - to the current constraint. + The reason for ignoring a test </summary> </member> - <member name="T:NUnit.Framework.Constraints.Constraint.UnsetObject"> + <member name="T:NUnit.Framework.IncludeExcludeAttribute"> <summary> - Class used to detect any derived constraints - that fail to set the actual value in their - Matches override. + Abstract base for Attributes that are used to include tests + in the test run based on environmental settings. </summary> </member> - <member name="F:NUnit.Framework.Constraints.BinaryConstraint.left"> + <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor"> <summary> - The first constraint being combined + Constructor with no included items specified, for use + with named property syntax. </summary> </member> - <member name="F:NUnit.Framework.Constraints.BinaryConstraint.right"> + <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor(System.String)"> <summary> - The second constraint being combined + Constructor taking one or more included items </summary> + <param name="include">Comma-delimited list of included items</param> </member> - <member name="M:NUnit.Framework.Constraints.BinaryConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> + <member name="P:NUnit.Framework.IncludeExcludeAttribute.Include"> <summary> - Construct a BinaryConstraint from two other constraints + Name of the item that is needed in order for + a test to run. Multiple itemss may be given, + separated by a comma. </summary> - <param name="left">The first constraint</param> - <param name="right">The second constraint</param> </member> - <member name="T:NUnit.Framework.Constraints.AndConstraint"> + <member name="P:NUnit.Framework.IncludeExcludeAttribute.Exclude"> <summary> - AndConstraint succeeds only if both members succeed. + Name of the item to be excluded. Multiple items + may be given, separated by a comma. </summary> </member> - <member name="M:NUnit.Framework.Constraints.AndConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> + <member name="P:NUnit.Framework.IncludeExcludeAttribute.Reason"> <summary> - Create an AndConstraint from two other constraints + The reason for including or excluding the test </summary> - <param name="left">The first constraint</param> - <param name="right">The second constraint</param> </member> - <member name="M:NUnit.Framework.Constraints.AndConstraint.Matches(System.Object)"> + <member name="T:NUnit.Framework.PlatformAttribute"> <summary> - Apply both member constraints to an actual value, succeeding - succeeding only if both of them succeed. + PlatformAttribute is used to mark a test fixture or an + individual method as applying to a particular platform only. </summary> - <param name="actual">The actual value</param> - <returns>True if the constraints both succeeded</returns> </member> - <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.PlatformAttribute.#ctor"> <summary> - Write a description for this contraint to a MessageWriter + Constructor with no platforms specified, for use + with named property syntax. </summary> - <param name="writer">The MessageWriter to receive the description</param> </member> - <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.PlatformAttribute.#ctor(System.String)"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + Constructor taking one or more platforms </summary> - <param name="writer">The writer on which the actual value is displayed</param> + <param name="platforms">Comma-deliminted list of platforms</param> </member> - <member name="T:NUnit.Framework.Constraints.OrConstraint"> + <member name="T:NUnit.Framework.CultureAttribute"> <summary> - OrConstraint succeeds if either member succeeds + CultureAttribute is used to mark a test fixture or an + individual method as applying to a particular Culture only. </summary> </member> - <member name="M:NUnit.Framework.Constraints.OrConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.CultureAttribute.#ctor"> <summary> - Create an OrConstraint from two other constraints + Constructor with no cultures specified, for use + with named property syntax. </summary> - <param name="left">The first constraint</param> - <param name="right">The second constraint</param> </member> - <member name="M:NUnit.Framework.Constraints.OrConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.CultureAttribute.#ctor(System.String)"> <summary> - Apply the member constraints to an actual value, succeeding - succeeding as soon as one of them succeeds. + Constructor taking one or more cultures </summary> - <param name="actual">The actual value</param> - <returns>True if either constraint succeeded</returns> + <param name="cultures">Comma-deliminted list of cultures</param> </member> - <member name="M:NUnit.Framework.Constraints.OrConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.CombinatorialAttribute"> <summary> - Write a description for this contraint to a MessageWriter + Marks a test to use a combinatorial join of any argument data + provided. NUnit will create a test case for every combination of + the arguments provided. This can result in a large number of test + cases and so should be used judiciously. This is the default join + type, so the attribute need not be used except as documentation. </summary> - <param name="writer">The MessageWriter to receive the description</param> </member> - <member name="T:NUnit.Framework.Constraints.CollectionConstraint"> + <member name="T:NUnit.Framework.PropertyAttribute"> <summary> - CollectionConstraint is the abstract base class for - constraints that operate on collections. + PropertyAttribute is used to attach information to a test as a name/value pair.. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor"> + <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.String)"> <summary> - Construct an empty CollectionConstraint + Construct a PropertyAttribute with a name and string value </summary> + <param name="propertyName">The name of the property</param> + <param name="propertyValue">The property value</param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor(System.Object)"> + <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Int32)"> <summary> - Construct a CollectionConstraint + Construct a PropertyAttribute with a name and int value </summary> - <param name="arg"></param> + <param name="propertyName">The name of the property</param> + <param name="propertyValue">The property value</param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionConstraint.IsEmpty(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Double)"> <summary> - Determines whether the specified enumerable is empty. + Construct a PropertyAttribute with a name and double value </summary> - <param name="enumerable">The enumerable.</param> - <returns> - <c>true</c> if the specified enumerable is empty; otherwise, <c>false</c>. - </returns> + <param name="propertyName">The name of the property</param> + <param name="propertyValue">The property value</param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.PropertyAttribute.#ctor"> <summary> - Test whether the constraint is satisfied by a given value + Constructor for derived classes that set the + property dictionary directly. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.Object)"> <summary> - Protected method to be implemented by derived classes + Constructor for use by derived classes that use the + name of the type as the property name. Derived classes + must ensure that the Type of the property value is + a standard type supported by the BCL. Any custom + types will cause a serialization Exception when + in the client. </summary> - <param name="collection"></param> - <returns></returns> </member> - <member name="T:NUnit.Framework.Constraints.CollectionItemsEqualConstraint"> + <member name="P:NUnit.Framework.PropertyAttribute.Properties"> <summary> - CollectionItemsEqualConstraint is the abstract base class for all - collection constraints that apply some notion of item equality - as a part of their operation. + Gets the property dictionary for this attribute </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor"> + <member name="M:NUnit.Framework.CombinatorialAttribute.#ctor"> <summary> - Construct an empty CollectionConstraint + Default constructor </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor(System.Object)"> + <member name="T:NUnit.Framework.PairwiseAttribute"> <summary> - Construct a CollectionConstraint + Marks a test to use pairwise join of any argument data provided. + NUnit will attempt too excercise every pair of argument values at + least once, using as small a number of test cases as it can. With + only two arguments, this is the same as a combinatorial join. </summary> - <param name="arg"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IComparer)"> + <member name="M:NUnit.Framework.PairwiseAttribute.#ctor"> <summary> - Flag the constraint to use the supplied IComparer object. + Default constructor </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <member name="T:NUnit.Framework.SequentialAttribute"> <summary> - Flag the constraint to use the supplied IComparer object. + Marks a test to use a sequential join of any argument data + provided. NUnit will use arguements for each parameter in + sequence, generating test cases up to the largest number + of argument values provided and using null for any arguments + for which it runs out of values. Normally, this should be + used with the same number of arguments for each parameter. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Comparison{``0})"> + <member name="M:NUnit.Framework.SequentialAttribute.#ctor"> <summary> - Flag the constraint to use the supplied Comparison object. + Default constructor </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IEqualityComparer)"> + <member name="T:NUnit.Framework.MaxTimeAttribute"> <summary> - Flag the constraint to use the supplied IEqualityComparer object. + Summary description for MaxTimeAttribute. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})"> + <member name="M:NUnit.Framework.MaxTimeAttribute.#ctor(System.Int32)"> <summary> - Flag the constraint to use the supplied IEqualityComparer object. + Construct a MaxTimeAttribute, given a time in milliseconds. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> + <param name="milliseconds">The maximum elapsed time in milliseconds</param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.ItemsEqual(System.Object,System.Object)"> + <member name="T:NUnit.Framework.RandomAttribute"> <summary> - Compares two collection members for equality + RandomAttribute is used to supply a set of random values + to a single parameter of a parameterized test. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Tally(System.Collections.IEnumerable)"> + <member name="T:NUnit.Framework.ValuesAttribute"> <summary> - Return a new CollectionTally for use in making tests + ValuesAttribute is used to provide literal arguments for + an individual parameter of a test. </summary> - <param name="c">The collection to be included in the tally</param> </member> - <member name="P:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoreCase"> + <member name="T:NUnit.Framework.ParameterDataAttribute"> <summary> - Flag the constraint to ignore case and return self. + Abstract base class for attributes that apply to parameters + and supply data for the parameter. </summary> </member> - <member name="T:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.CollectionTally"> + <member name="M:NUnit.Framework.ParameterDataAttribute.GetData(System.Reflection.ParameterInfo)"> <summary> - CollectionTally counts (tallies) the number of - occurences of each object in one or more enumerations. + Gets the data to be provided to the specified parameter </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.CollectionTally.#ctor(NUnit.Framework.Constraints.NUnitEqualityComparer,System.Collections.IEnumerable)"> + <member name="F:NUnit.Framework.ValuesAttribute.data"> <summary> - Construct a CollectionTally object from a comparer and a collection + The collection of data to be returned. Must + be set by any derived attribute classes. + We use an object[] so that the individual + elements may have their type changed in GetData + if necessary. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.CollectionTally.TryRemove(System.Object)"> + <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object)"> <summary> - Try to remove an object from the tally + Construct with one argument </summary> - <param name="o">The object to remove</param> - <returns>True if successful, false if the object was not found</returns> + <param name="arg1"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.CollectionTally.TryRemove(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object)"> <summary> - Try to remove a set of objects from the tally + Construct with two arguments </summary> - <param name="c">The objects to remove</param> - <returns>True if successful, false if any object was not found</returns> + <param name="arg1"></param> + <param name="arg2"></param> </member> - <member name="P:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.CollectionTally.Count"> + <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object,System.Object)"> <summary> - The number of objects remaining in the tally + Construct with three arguments </summary> + <param name="arg1"></param> + <param name="arg2"></param> + <param name="arg3"></param> </member> - <member name="T:NUnit.Framework.Constraints.EmptyCollectionConstraint"> + <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object[])"> <summary> - EmptyCollectionConstraint tests whether a collection is empty. + Construct with an array of arguments </summary> + <param name="args"></param> </member> - <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.ValuesAttribute.GetData(System.Reflection.ParameterInfo)"> <summary> - Check that the collection is empty + Get the collection of values to be used as arguments </summary> - <param name="collection"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32)"> <summary> - Write the constraint description to a MessageWriter + Construct a set of doubles from 0.0 to 1.0, + specifying only the count. </summary> - <param name="writer"></param> + <param name="count"></param> </member> - <member name="T:NUnit.Framework.Constraints.UniqueItemsConstraint"> + <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Double,System.Double,System.Int32)"> <summary> - UniqueItemsConstraint tests whether all the items in a - collection are unique. + Construct a set of doubles from min to max </summary> + <param name="min"></param> + <param name="max"></param> + <param name="count"></param> </member> - <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32,System.Int32,System.Int32)"> <summary> - Check that all items are unique. + Construct a set of ints from min to max </summary> - <param name="actual"></param> - <returns></returns> + <param name="min"></param> + <param name="max"></param> + <param name="count"></param> </member> - <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.RandomAttribute.GetData(System.Reflection.ParameterInfo)"> <summary> - Write a description of this constraint to a MessageWriter + Get the collection of values to be used as arguments </summary> - <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.CollectionContainsConstraint"> + <member name="T:NUnit.Framework.RangeAttribute"> <summary> - CollectionContainsConstraint is used to test whether a collection - contains an expected object as a member. + RangeAttribute is used to supply a range of values to an + individual parameter of a parameterized test. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.#ctor(System.Object)"> + <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32)"> <summary> - Construct a CollectionContainsConstraint + Construct a range of ints using default step of 1 </summary> - <param name="expected"></param> + <param name="from"></param> + <param name="to"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32,System.Int32)"> <summary> - Test whether the expected item is contained in the collection + Construct a range of ints specifying the step size </summary> - <param name="actual"></param> - <returns></returns> + <param name="from"></param> + <param name="to"></param> + <param name="step"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int64,System.Int64,System.Int64)"> <summary> - Write a descripton of the constraint to a MessageWriter + Construct a range of longs </summary> - <param name="writer"></param> + <param name="from"></param> + <param name="to"></param> + <param name="step"></param> </member> - <member name="T:NUnit.Framework.Constraints.CollectionEquivalentConstraint"> + <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Double,System.Double,System.Double)"> <summary> - CollectionEquivalentCOnstraint is used to determine whether two - collections are equivalent. + Construct a range of doubles </summary> + <param name="from"></param> + <param name="to"></param> + <param name="step"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.#ctor(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Single,System.Single,System.Single)"> <summary> - Construct a CollectionEquivalentConstraint + Construct a range of floats </summary> - <param name="expected"></param> + <param name="from"></param> + <param name="to"></param> + <param name="step"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="T:NUnit.Framework.RepeatAttribute"> <summary> - Test whether two collections are equivalent + RepeatAttribute may be applied to test case in order + to run it multiple times. </summary> - <param name="actual"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.RepeatAttribute.#ctor(System.Int32)"> <summary> - Write a description of this constraint to a MessageWriter + Construct a RepeatAttribute </summary> - <param name="writer"></param> + <param name="count">The number of times to run the test</param> </member> - <member name="T:NUnit.Framework.Constraints.CollectionSubsetConstraint"> + <member name="T:NUnit.Framework.RequiredAddinAttribute"> <summary> - CollectionSubsetConstraint is used to determine whether - one collection is a subset of another + RequiredAddinAttribute may be used to indicate the names of any addins + that must be present in order to run some or all of the tests in an + assembly. If the addin is not loaded, the entire assembly is marked + as NotRunnable. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.#ctor(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.RequiredAddinAttribute.#ctor(System.String)"> <summary> - Construct a CollectionSubsetConstraint + Initializes a new instance of the <see cref="T:RequiredAddinAttribute"/> class. </summary> - <param name="expected">The collection that the actual value is expected to be a subset of</param> + <param name="requiredAddin">The required addin.</param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="P:NUnit.Framework.RequiredAddinAttribute.RequiredAddin"> <summary> - Test whether the actual collection is a subset of - the expected collection provided. + Gets the name of required addin. </summary> - <param name="actual"></param> - <returns></returns> + <value>The required addin name.</value> </member> - <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.SetCultureAttribute"> <summary> - Write a description of this constraint to a MessageWriter + Summary description for SetCultureAttribute. </summary> - <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.CollectionOrderedConstraint"> + <member name="M:NUnit.Framework.SetCultureAttribute.#ctor(System.String)"> <summary> - CollectionOrderedConstraint is used to test whether a collection is ordered. + Construct given the name of a culture </summary> + <param name="culture"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.#ctor"> + <member name="T:NUnit.Framework.SetUICultureAttribute"> <summary> - Construct a CollectionOrderedConstraint + Summary description for SetUICultureAttribute. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using(System.Collections.IComparer)"> + <member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)"> <summary> - Modifies the constraint to use an IComparer and returns self. + Construct given the name of a culture </summary> + <param name="culture"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <member name="T:NUnit.Framework.SetUpAttribute"> <summary> - Modifies the constraint to use an IComparer<T> and returns self. + Attribute used to mark a class that contains one-time SetUp + and/or TearDown methods that apply to all the tests in a + namespace or an assembly. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Comparison{``0})"> + <member name="T:NUnit.Framework.SetUpFixtureAttribute"> <summary> - Modifies the constraint to use a Comparison<T> and returns self. + SetUpFixtureAttribute is used to identify a SetUpFixture </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.By(System.String)"> + <member name="T:NUnit.Framework.SuiteAttribute"> <summary> - Modifies the constraint to test ordering by the value of - a specified property and returns self. + Attribute used to mark a static (shared in VB) property + that returns a list of tests. </summary> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.doMatch(System.Collections.IEnumerable)"> + <member name="T:NUnit.Framework.TearDownAttribute"> <summary> - Test whether the collection is ordered + Attribute used to identify a method that is called + immediately after each test is run. The method is + guaranteed to be called, even if an exception is thrown. </summary> - <param name="actual"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.TestActionAttribute"> <summary> - Write a description of the constraint to a MessageWriter + Provide actions to execute before and after tests. </summary> - <param name="writer"></param> </member> - <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.ToString"> + <member name="T:NUnit.Framework.ITestAction"> <summary> - Returns the string representation of the constraint. + When implemented by an attribute, this interface implemented to provide actions to execute before and after tests. </summary> - <returns></returns> </member> - <member name="P:NUnit.Framework.Constraints.CollectionOrderedConstraint.Descending"> + <member name="M:NUnit.Framework.ITestAction.BeforeTest(NUnit.Framework.TestDetails)"> <summary> - If used performs a reverse comparison + Executed before each test is run </summary> + <param name="testDetails">Provides details about the test that is going to be run.</param> </member> - <member name="T:NUnit.Framework.Constraints.ComparisonConstraint"> + <member name="M:NUnit.Framework.ITestAction.AfterTest(NUnit.Framework.TestDetails)"> <summary> - Abstract base class for constraints that compare values to - determine if one is greater than, equal to or less than - the other. + Executed after each test is run </summary> + <param name="testDetails">Provides details about the test that has just been run.</param> </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.expected"> + <member name="P:NUnit.Framework.ITestAction.Targets"> <summary> - The value against which a comparison is to be made + Provides the target for the action attribute </summary> + <returns>The target for the action attribute</returns> </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.ltOK"> + <member name="T:NUnit.Framework.TestAttribute"> <summary> - If true, less than returns success + Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/> + class makes the method callable from the NUnit test runner. There is a property + called Description which is optional which you can provide a more detailed test + description. This class cannot be inherited. </summary> + + <example> + [TestFixture] + public class Fixture + { + [Test] + public void MethodToTest() + {} + + [Test(Description = "more detailed description")] + publc void TestDescriptionMethod() + {} + } + </example> + </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.eqOK"> + <member name="P:NUnit.Framework.TestAttribute.Description"> <summary> - if true, equal returns success + Descriptive text for this test </summary> </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.gtOK"> + <member name="T:NUnit.Framework.TestCaseAttribute"> <summary> - if true, greater than returns success + TestCaseAttribute is used to mark parameterized test cases + and provide them with their arguments. </summary> </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.predicate"> + <member name="T:NUnit.Framework.ITestCaseData"> <summary> - The predicate used as a part of the description + The ITestCaseData interface is implemented by a class + that is able to return complete testcases for use by + a parameterized test method. + + NOTE: This interface is used in both the framework + and the core, even though that results in two different + types. However, sharing the source code guarantees that + the various implementations will be compatible and that + the core is able to reflect successfully over the + framework implementations of ITestCaseData. </summary> </member> - <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.comparer"> + <member name="P:NUnit.Framework.ITestCaseData.Arguments"> <summary> - ComparisonAdapter to be used in making the comparison + Gets the argument list to be provided to the test </summary> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.#ctor(System.Object,System.Boolean,System.Boolean,System.Boolean,System.String)"> + <member name="P:NUnit.Framework.ITestCaseData.Result"> <summary> - Initializes a new instance of the <see cref="T:ComparisonConstraint"/> class. + Gets the expected result </summary> - <param name="value">The value against which to make a comparison.</param> - <param name="ltOK">if set to <c>true</c> less succeeds.</param> - <param name="eqOK">if set to <c>true</c> equal succeeds.</param> - <param name="gtOK">if set to <c>true</c> greater succeeds.</param> - <param name="predicate">String used in describing the constraint.</param> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Matches(System.Object)"> + <member name="P:NUnit.Framework.ITestCaseData.HasExpectedResult"> <summary> - Test whether the constraint is satisfied by a given value + Indicates whether a result has been specified. + This is necessary because the result may be + null, so it's value cannot be checked. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.ITestCaseData.ExpectedException"> <summary> - Write the constraint description to a MessageWriter + Gets the expected exception Type </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using(System.Collections.IComparer)"> + <member name="P:NUnit.Framework.ITestCaseData.ExpectedExceptionName"> <summary> - Modifies the constraint to use an IComparer and returns self + Gets the FullName of the expected exception </summary> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <member name="P:NUnit.Framework.ITestCaseData.TestName"> <summary> - Modifies the constraint to use an IComparer<T> and returns self + Gets the name to be used for the test </summary> </member> - <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Comparison{``0})"> + <member name="P:NUnit.Framework.ITestCaseData.Description"> <summary> - Modifies the constraint to use a Comparison<T> and returns self + Gets the description of the test </summary> </member> - <member name="T:NUnit.Framework.Constraints.GreaterThanConstraint"> + <member name="P:NUnit.Framework.ITestCaseData.Ignored"> <summary> - Tests whether a value is greater than the value supplied to its constructor + Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored. </summary> + <value><c>true</c> if ignored; otherwise, <c>false</c>.</value> </member> - <member name="M:NUnit.Framework.Constraints.GreaterThanConstraint.#ctor(System.Object)"> + <member name="P:NUnit.Framework.ITestCaseData.Explicit"> <summary> - Initializes a new instance of the <see cref="T:GreaterThanConstraint"/> class. + Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is explicit. </summary> - <param name="expected">The expected value.</param> + <value><c>true</c> if explicit; otherwise, <c>false</c>.</value> </member> - <member name="T:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint"> + <member name="P:NUnit.Framework.ITestCaseData.IgnoreReason"> <summary> - Tests whether a value is greater than or equal to the value supplied to its constructor + Gets the ignore reason. </summary> + <value>The ignore reason.</value> </member> - <member name="M:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.#ctor(System.Object)"> + <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object[])"> <summary> - Initializes a new instance of the <see cref="T:GreaterThanOrEqualConstraint"/> class. + Construct a TestCaseAttribute with a list of arguments. + This constructor is not CLS-Compliant </summary> - <param name="expected">The expected value.</param> + <param name="arguments"></param> </member> - <member name="T:NUnit.Framework.Constraints.LessThanConstraint"> + <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object)"> <summary> - Tests whether a value is less than the value supplied to its constructor + Construct a TestCaseAttribute with a single argument </summary> + <param name="arg"></param> </member> - <member name="M:NUnit.Framework.Constraints.LessThanConstraint.#ctor(System.Object)"> + <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object)"> <summary> - Initializes a new instance of the <see cref="T:LessThanConstraint"/> class. + Construct a TestCaseAttribute with a two arguments </summary> - <param name="expected">The expected value.</param> + <param name="arg1"></param> + <param name="arg2"></param> </member> - <member name="T:NUnit.Framework.Constraints.LessThanOrEqualConstraint"> + <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object,System.Object)"> <summary> - Tests whether a value is less than or equal to the value supplied to its constructor + Construct a TestCaseAttribute with a three arguments </summary> + <param name="arg1"></param> + <param name="arg2"></param> + <param name="arg3"></param> </member> - <member name="M:NUnit.Framework.Constraints.LessThanOrEqualConstraint.#ctor(System.Object)"> + <member name="P:NUnit.Framework.TestCaseAttribute.Arguments"> <summary> - Initializes a new instance of the <see cref="T:LessThanOrEqualConstraint"/> class. + Gets the list of arguments to a test case </summary> - <param name="expected">The expected value.</param> </member> - <member name="T:NUnit.Framework.Constraints.ActualValueDelegate"> + <member name="P:NUnit.Framework.TestCaseAttribute.Result"> <summary> - Delegate used to delay evaluation of the actual value - to be used in evaluating a constraint + Gets or sets the expected result. </summary> + <value>The result.</value> </member> - <member name="T:NUnit.Framework.Constraints.ConstraintBuilder"> + <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedResult"> <summary> - ConstraintBuilder maintains the stacks that are used in - processing a ConstraintExpression. An OperatorStack - is used to hold operators that are waiting for their - operands to be reognized. a ConstraintStack holds - input constraints as well as the results of each - operator applied. + Gets the expected result. </summary> + <value>The result.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.#ctor"> + <member name="P:NUnit.Framework.TestCaseAttribute.HasExpectedResult"> <summary> - Initializes a new instance of the <see cref="T:ConstraintBuilder"/> class. + Gets a flag indicating whether an expected + result has been set. </summary> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.ConstraintOperator)"> + <member name="P:NUnit.Framework.TestCaseAttribute.Categories"> <summary> - Appends the specified operator to the expression by first - reducing the operator stack and then pushing the new - operator on the stack. + Gets a list of categories associated with this test; </summary> - <param name="op">The operator to push.</param> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.Constraint)"> + <member name="P:NUnit.Framework.TestCaseAttribute.Category"> <summary> - Appends the specified constraint to the expresson by pushing - it on the constraint stack. + Gets or sets the category associated with this test. + May be a single category or a comma-separated list. </summary> - <param name="constraint">The constraint to push.</param> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.SetTopOperatorRightContext(System.Object)"> + <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedException"> <summary> - Sets the top operator right context. + Gets or sets the expected exception. </summary> - <param name="rightContext">The right context.</param> + <value>The expected exception.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ReduceOperatorStack(System.Int32)"> + <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedExceptionName"> <summary> - Reduces the operator stack until the topmost item - precedence is greater than or equal to the target precedence. + Gets or sets the name the expected exception. </summary> - <param name="targetPrecedence">The target precedence.</param> + <value>The expected name of the exception.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Resolve"> + <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedMessage"> <summary> - Resolves this instance, returning a Constraint. If the builder - is not currently in a resolvable state, an exception is thrown. + Gets or sets the expected message of the expected exception </summary> - <returns>The resolved constraint</returns> + <value>The expected message of the exception.</value> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.IsResolvable"> + <member name="P:NUnit.Framework.TestCaseAttribute.MatchType"> <summary> - Gets a value indicating whether this instance is resolvable. + Gets or sets the type of match to be performed on the expected message </summary> - <value> - <c>true</c> if this instance is resolvable; otherwise, <c>false</c>. - </value> </member> - <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack"> + <member name="P:NUnit.Framework.TestCaseAttribute.Description"> <summary> - OperatorStack is a type-safe stack for holding ConstraintOperators + Gets or sets the description. </summary> + <value>The description.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> + <member name="P:NUnit.Framework.TestCaseAttribute.TestName"> <summary> - Initializes a new instance of the <see cref="T:OperatorStack"/> class. + Gets or sets the name of the test. </summary> - <param name="builder">The builder.</param> + <value>The name of the test.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Push(NUnit.Framework.Constraints.ConstraintOperator)"> + <member name="P:NUnit.Framework.TestCaseAttribute.Ignore"> <summary> - Pushes the specified operator onto the stack. + Gets or sets the ignored status of the test </summary> - <param name="op">The op.</param> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Pop"> + <member name="P:NUnit.Framework.TestCaseAttribute.Ignored"> <summary> - Pops the topmost operator from the stack. + Gets or sets the ignored status of the test </summary> - <returns></returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Empty"> + <member name="P:NUnit.Framework.TestCaseAttribute.Explicit"> <summary> - Gets a value indicating whether this <see cref="T:OpStack"/> is empty. + Gets or sets the explicit status of the test </summary> - <value><c>true</c> if empty; otherwise, <c>false</c>.</value> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Top"> + <member name="P:NUnit.Framework.TestCaseAttribute.Reason"> <summary> - Gets the topmost operator without modifying the stack. + Gets or sets the reason for not running the test </summary> - <value>The top.</value> </member> - <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack"> + <member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason"> <summary> - ConstraintStack is a type-safe stack for holding Constraints + Gets or sets the reason for not running the test. + Set has the side effect of marking the test as ignored. </summary> + <value>The ignore reason.</value> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> + <member name="T:NUnit.Framework.TestCaseSourceAttribute"> <summary> - Initializes a new instance of the <see cref="T:ConstraintStack"/> class. + FactoryAttribute indicates the source to be used to + provide test cases for a test method. </summary> - <param name="builder">The builder.</param> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Push(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.String)"> <summary> - Pushes the specified constraint. As a side effect, - the constraint's builder field is set to the - ConstraintBuilder owning this stack. + Construct with the name of the factory - for use with languages + that don't support params arrays. </summary> - <param name="constraint">The constraint.</param> + <param name="sourceName">An array of the names of the factories that will provide data</param> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Pop"> + <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.Type,System.String)"> <summary> - Pops this topmost constrait from the stack. - As a side effect, the constraint's builder - field is set to null. + Construct with a Type and name - for use with languages + that don't support params arrays. </summary> - <returns></returns> + <param name="sourceType">The Type that will provide data</param> + <param name="sourceName">The name of the method, property or field that will provide data</param> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Empty"> + <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceName"> <summary> - Gets a value indicating whether this <see cref="T:ConstraintStack"/> is empty. + The name of a the method, property or fiend to be used as a source </summary> - <value><c>true</c> if empty; otherwise, <c>false</c>.</value> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Top"> + <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceType"> <summary> - Gets the topmost constraint without modifying the stack. + A Type to be used as a source </summary> - <value>The topmost constraint</value> </member> - <member name="T:NUnit.Framework.Constraints.EmptyConstraint"> + <member name="P:NUnit.Framework.TestCaseSourceAttribute.Category"> <summary> - EmptyConstraint tests a whether a string or collection is empty, - postponing the decision about which test is applied until the - type of the actual argument is known. + Gets or sets the category associated with this test. + May be a single category or a comma-separated list. </summary> </member> - <member name="M:NUnit.Framework.Constraints.EmptyConstraint.Matches(System.Object)"> + <member name="T:NUnit.Framework.TestFixtureAttribute"> + <example> + [TestFixture] + public class ExampleClass + {} + </example> + </member> + <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor"> <summary> - Test whether the constraint is satisfied by a given value + Default constructor </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.EmptyConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor(System.Object[])"> <summary> - Write the constraint description to a MessageWriter + Construct with a object[] representing a set of arguments. + In .NET 2.0, the arguments may later be separated into + type arguments and constructor arguments. </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="arguments"></param> </member> - <member name="T:NUnit.Framework.Constraints.EqualConstraint"> + <member name="P:NUnit.Framework.TestFixtureAttribute.Description"> <summary> - EqualConstraint is able to compare an actual value with the - expected value provided in its constructor. Two objects are - considered equal if both are null, or if both have the same - value. NUnit has special semantics for some object types. + Descriptive text for this fixture </summary> </member> - <member name="F:NUnit.Framework.Constraints.EqualConstraint.clipStrings"> + <member name="P:NUnit.Framework.TestFixtureAttribute.Category"> <summary> - If true, strings in error messages will be clipped + Gets and sets the category for this fixture. + May be a comma-separated list of categories. </summary> </member> - <member name="F:NUnit.Framework.Constraints.EqualConstraint.comparer"> + <member name="P:NUnit.Framework.TestFixtureAttribute.Categories"> <summary> - NUnitEqualityComparer used to test equality. + Gets a list of categories for this fixture </summary> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.#ctor(System.Object)"> + <member name="P:NUnit.Framework.TestFixtureAttribute.Arguments"> <summary> - Initializes a new instance of the <see cref="T:NUnit.Framework.Constraints.EqualConstraint"/> class. + The arguments originally provided to the attribute </summary> - <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Within(System.Object)"> + <member name="P:NUnit.Framework.TestFixtureAttribute.Ignore"> <summary> - Flag the constraint to use a tolerance when determining equality. + Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored. </summary> - <param name="amount">Tolerance value to be used</param> - <returns>Self.</returns> + <value><c>true</c> if ignore; otherwise, <c>false</c>.</value> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Comparer(System.Collections.IComparer)"> + <member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason"> <summary> - Flag the constraint to use the supplied IComparer object. + Gets or sets the ignore reason. May set Ignored as a side effect. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> + <value>The ignore reason.</value> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using(System.Collections.IComparer)"> + <member name="P:NUnit.Framework.TestFixtureAttribute.TypeArgs"> <summary> - Flag the constraint to use the supplied IComparer object. + Get or set the type arguments. If not set + explicitly, any leading arguments that are + Types are taken as type arguments. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <member name="T:NUnit.Framework.TestFixtureSetUpAttribute"> <summary> - Flag the constraint to use the supplied IComparer object. + Attribute used to identify a method that is + called before any tests in a fixture are run. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Comparison{``0})"> + <member name="T:NUnit.Framework.TestFixtureTearDownAttribute"> <summary> - Flag the constraint to use the supplied Comparison object. + Attribute used to identify a method that is called after + all the tests in a fixture have run. The method is + guaranteed to be called, even if an exception is thrown. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using(System.Collections.IEqualityComparer)"> + <member name="T:NUnit.Framework.TheoryAttribute"> <summary> - Flag the constraint to use the supplied IEqualityComparer object. + Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/> + class makes the method callable from the NUnit test runner. There is a property + called Description which is optional which you can provide a more detailed test + description. This class cannot be inherited. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> + + <example> + [TestFixture] + public class Fixture + { + [Test] + public void MethodToTest() + {} + + [Test(Description = "more detailed description")] + publc void TestDescriptionMethod() + {} + } + </example> + </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})"> + <member name="T:NUnit.Framework.TimeoutAttribute"> <summary> - Flag the constraint to use the supplied IEqualityComparer object. + Used on a method, marks the test with a timeout value in milliseconds. + The test will be run in a separate thread and is cancelled if the timeout + is exceeded. Used on a method or assembly, sets the default timeout + for all contained test methods. </summary> - <param name="comparer">The IComparer object to use.</param> - <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)"> <summary> - Test whether the constraint is satisfied by a given value + Construct a TimeoutAttribute given a time in milliseconds </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> + <param name="timeout">The timeout value in milliseconds</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.RequiresSTAAttribute"> <summary> - Write a failure message. Overridden to provide custom - failure messages for EqualConstraint. + Marks a test that must run in the STA, causing it + to run in a separate thread if necessary. + + On methods, you may also use STAThreadAttribute + to serve the same purpose. </summary> - <param name="writer">The MessageWriter to write to</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.RequiresSTAAttribute.#ctor"> <summary> - Write description of this constraint + Construct a RequiresSTAAttribute </summary> - <param name="writer">The MessageWriter to write to</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayCollectionDifferences(NUnit.Framework.Constraints.MessageWriter,System.Collections.ICollection,System.Collections.ICollection,System.Int32)"> + <member name="T:NUnit.Framework.RequiresMTAAttribute"> <summary> - Display the failure information for two collections that did not match. + Marks a test that must run in the MTA, causing it + to run in a separate thread if necessary. + + On methods, you may also use MTAThreadAttribute + to serve the same purpose. </summary> - <param name="writer">The MessageWriter on which to display</param> - <param name="expected">The expected collection.</param> - <param name="actual">The actual collection</param> - <param name="depth">The depth of this failure in a set of nested collections</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayCollectionTypesAndSizes(NUnit.Framework.Constraints.MessageWriter,System.Collections.ICollection,System.Collections.ICollection,System.Int32)"> + <member name="M:NUnit.Framework.RequiresMTAAttribute.#ctor"> <summary> - Displays a single line showing the types and sizes of the expected - and actual collections or arrays. If both are identical, the value is - only shown once. + Construct a RequiresMTAAttribute </summary> - <param name="writer">The MessageWriter on which to display</param> - <param name="expected">The expected collection or array</param> - <param name="actual">The actual collection or array</param> - <param name="indent">The indentation level for the message line</param> </member> - <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayFailurePoint(NUnit.Framework.Constraints.MessageWriter,System.Collections.ICollection,System.Collections.ICollection,System.Int32,System.Int32)"> + <member name="T:NUnit.Framework.RequiresThreadAttribute"> <summary> - Displays a single line showing the point in the expected and actual - arrays at which the comparison failed. If the arrays have different - structures or dimensions, both values are shown. + Marks a test that must run on a separate thread. </summary> - <param name="writer">The MessageWriter on which to display</param> - <param name="expected">The expected array</param> - <param name="actual">The actual array</param> - <param name="failurePoint">Index of the failure point in the underlying collections</param> - <param name="indent">The indentation level for the message line</param> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.IgnoreCase"> + <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor"> <summary> - Flag the constraint to ignore case and return self. + Construct a RequiresThreadAttribute </summary> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.NoClip"> + <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor(System.Threading.ApartmentState)"> <summary> - Flag the constraint to suppress string clipping - and return self. + Construct a RequiresThreadAttribute, specifying the apartment </summary> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.AsCollection"> + <member name="T:NUnit.Framework.ValueSourceAttribute"> <summary> - Flag the constraint to compare arrays as collections - and return self. + ValueSourceAttribute indicates the source to be used to + provide data for one parameter of a test method. </summary> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Ulps"> + <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.String)"> <summary> - Switches the .Within() modifier to interpret its tolerance as - a distance in representable values (see remarks). + Construct with the name of the factory - for use with languages + that don't support params arrays. </summary> - <returns>Self.</returns> - <remarks> - Ulp stands for "unit in the last place" and describes the minimum - amount a given value can change. For any integers, an ulp is 1 whole - digit. For floating point values, the accuracy of which is better - for smaller numbers and worse for larger numbers, an ulp depends - on the size of the number. Using ulps for comparison of floating - point results instead of fixed tolerances is safer because it will - automatically compensate for the added inaccuracy of larger numbers. - </remarks> + <param name="sourceName">The name of the data source to be used</param> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Percent"> + <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.Type,System.String)"> <summary> - Switches the .Within() modifier to interpret its tolerance as - a percentage that the actual values is allowed to deviate from - the expected value. + Construct with a Type and name - for use with languages + that don't support params arrays. </summary> - <returns>Self</returns> + <param name="sourceType">The Type that will provide data</param> + <param name="sourceName">The name of the method, property or field that will provide data</param> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Days"> + <member name="P:NUnit.Framework.ValueSourceAttribute.SourceName"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in days. + The name of a the method, property or fiend to be used as a source </summary> - <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Hours"> + <member name="P:NUnit.Framework.ValueSourceAttribute.SourceType"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in hours. + A Type to be used as a source </summary> - <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Minutes"> + <member name="T:NUnit.Framework.Constraints.AttributeExistsConstraint"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in minutes. + AttributeExistsConstraint tests for the presence of a + specified attribute on a Type. </summary> - <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Seconds"> + <member name="T:NUnit.Framework.Constraints.Constraint"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in seconds. + The Constraint class is the base of all built-in constraints + within NUnit. It provides the operator overloads used to combine + constraints. </summary> - <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Milliseconds"> + <member name="T:NUnit.Framework.Constraints.IResolveConstraint"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in milliseconds. + The IConstraintExpression interface is implemented by all + complete and resolvable constraints and expressions. </summary> - <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.EqualConstraint.Ticks"> + <member name="M:NUnit.Framework.Constraints.IResolveConstraint.Resolve"> <summary> - Causes the tolerance to be interpreted as a TimeSpan in clock ticks. + Return the top-level constraint for this expression </summary> - <returns>Self</returns> + <returns></returns> </member> - <member name="T:NUnit.Framework.Constraints.SameAsConstraint"> + <member name="F:NUnit.Framework.Constraints.Constraint.UNSET"> <summary> - SameAsConstraint tests whether an object is identical to - the object passed to its constructor + Static UnsetObject used to detect derived constraints + failing to set the actual value. </summary> </member> - <member name="M:NUnit.Framework.Constraints.SameAsConstraint.#ctor(System.Object)"> + <member name="F:NUnit.Framework.Constraints.Constraint.actual"> <summary> - Initializes a new instance of the <see cref="T:SameAsConstraint"/> class. + The actual value being tested against a constraint </summary> - <param name="expected">The expected object.</param> </member> - <member name="M:NUnit.Framework.Constraints.SameAsConstraint.Matches(System.Object)"> + <member name="F:NUnit.Framework.Constraints.Constraint.displayName"> <summary> - Test whether the constraint is satisfied by a given value + The display name of this Constraint for use by ToString() </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.SameAsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="F:NUnit.Framework.Constraints.Constraint.argcnt"> <summary> - Write the constraint description to a MessageWriter + Argument fields used by ToString(); </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.StringConstraint"> + <member name="F:NUnit.Framework.Constraints.Constraint.builder"> <summary> - StringConstraint is the abstract base for constraints - that operate on strings. It supports the IgnoreCase - modifier for string operations. + The builder holding this constraint </summary> </member> - <member name="F:NUnit.Framework.Constraints.StringConstraint.expected"> + <member name="M:NUnit.Framework.Constraints.Constraint.#ctor"> <summary> - The expected value + Construct a constraint with no arguments </summary> </member> - <member name="F:NUnit.Framework.Constraints.StringConstraint.caseInsensitive"> + <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object)"> <summary> - Indicates whether tests should be case-insensitive + Construct a constraint with one argument </summary> </member> - <member name="M:NUnit.Framework.Constraints.StringConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.Constraint.#ctor(System.Object,System.Object)"> <summary> - Constructs a StringConstraint given an expected value + Construct a constraint with two arguments </summary> - <param name="expected">The expected value</param> </member> - <member name="P:NUnit.Framework.Constraints.StringConstraint.IgnoreCase"> + <member name="M:NUnit.Framework.Constraints.Constraint.SetBuilder(NUnit.Framework.Constraints.ConstraintBuilder)"> <summary> - Modify the constraint to ignore case in matching. + Sets the ConstraintBuilder holding this constraint </summary> </member> - <member name="T:NUnit.Framework.Constraints.EmptyStringConstraint"> + <member name="M:NUnit.Framework.Constraints.Constraint.WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - EmptyStringConstraint tests whether a string is empty. + Write the failure message to the MessageWriter provided + as an argument. The default implementation simply passes + the constraint and the actual value to the writer, which + then displays the constraint description and the value. + + Constraints that need to provide additional details, + such as where the error occured can override this. </summary> + <param name="writer">The MessageWriter on which to display the message</param> </member> - <member name="M:NUnit.Framework.Constraints.EmptyStringConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.Constraint.Matches(System.Object)"> <summary> Test whether the constraint is satisfied by a given value </summary> <param name="actual">The value to be tested</param> <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.EmptyStringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.Constraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> + <summary> + Test whether the constraint is satisfied by an + ActualValueDelegate that returns the value to be tested. + The default implementation simply evaluates the delegate + but derived classes may override it to provide for delayed + processing. + </summary> + <param name="del">An ActualValueDelegate</param> + <returns>True for success, false for failure</returns> + </member> + <member name="M:NUnit.Framework.Constraints.Constraint.Matches``1(``0@)"> + <summary> + Test whether the constraint is satisfied by a given reference. + The default implementation simply dereferences the value but + derived classes may override it to provide for delayed processing. + </summary> + <param name="actual">A reference to the value to be tested</param> + <returns>True for success, false for failure</returns> + </member> + <member name="M:NUnit.Framework.Constraints.Constraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the constraint description to a MessageWriter </summary> <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.NullOrEmptyStringConstraint"> + <member name="M:NUnit.Framework.Constraints.Constraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - NullEmptyStringConstraint tests whether a string is either null or empty. + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.#ctor"> + <member name="M:NUnit.Framework.Constraints.Constraint.ToString"> <summary> - Constructs a new NullOrEmptyStringConstraint + Default override of ToString returns the constraint DisplayName + followed by any arguments within angle brackets. </summary> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.Constraint.GetStringRepresentation"> <summary> - Test whether the constraint is satisfied by a given value + Returns the string representation of this constraint </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseAnd(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> <summary> - Write the constraint description to a MessageWriter + This operator creates a constraint that is satisfied only if both + argument constraints are satisfied. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.SubstringConstraint"> + <member name="M:NUnit.Framework.Constraints.Constraint.op_BitwiseOr(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> <summary> - SubstringConstraint can test whether a string contains - the expected substring. + This operator creates a constraint that is satisfied if either + of the argument constraints is satisfied. </summary> </member> - <member name="M:NUnit.Framework.Constraints.SubstringConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.Constraint.op_LogicalNot(NUnit.Framework.Constraints.Constraint)"> <summary> - Initializes a new instance of the <see cref="T:SubstringConstraint"/> class. + This operator creates a constraint that is satisfied if the + argument constraint is not satisfied. </summary> - <param name="expected">The expected.</param> </member> - <member name="M:NUnit.Framework.Constraints.SubstringConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32)"> <summary> - Test whether the constraint is satisfied by a given value + Returns a DelayedConstraint with the specified delay time. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> + <param name="delayInMilliseconds">The delay in milliseconds.</param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.SubstringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.Constraint.After(System.Int32,System.Int32)"> <summary> - Write the constraint description to a MessageWriter + Returns a DelayedConstraint with the specified delay time + and polling interval. </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="delayInMilliseconds">The delay in milliseconds.</param> + <param name="pollingInterval">The interval at which to test the constraint.</param> + <returns></returns> </member> - <member name="T:NUnit.Framework.Constraints.StartsWithConstraint"> + <member name="P:NUnit.Framework.Constraints.Constraint.DisplayName"> <summary> - StartsWithConstraint can test whether a string starts - with an expected substring. + The display name of this Constraint for use by ToString(). + The default value is the name of the constraint with + trailing "Constraint" removed. Derived classes may set + this to another name in their constructors. </summary> </member> - <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.#ctor(System.String)"> + <member name="P:NUnit.Framework.Constraints.Constraint.And"> <summary> - Initializes a new instance of the <see cref="T:StartsWithConstraint"/> class. + Returns a ConstraintExpression by appending And + to the current constraint. </summary> - <param name="expected">The expected string</param> </member> - <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.Matches(System.Object)"> + <member name="P:NUnit.Framework.Constraints.Constraint.With"> <summary> - Test whether the constraint is matched by the actual value. - This is a template method, which calls the IsMatch method - of the derived class. + Returns a ConstraintExpression by appending And + to the current constraint. </summary> - <param name="actual"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.Constraints.Constraint.Or"> <summary> - Write the constraint description to a MessageWriter + Returns a ConstraintExpression by appending Or + to the current constraint. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.EndsWithConstraint"> + <member name="T:NUnit.Framework.Constraints.Constraint.UnsetObject"> <summary> - EndsWithConstraint can test whether a string ends - with an expected substring. + Class used to detect any derived constraints + that fail to set the actual value in their + Matches override. </summary> </member> - <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.#ctor(System.Type)"> <summary> - Initializes a new instance of the <see cref="T:EndsWithConstraint"/> class. + Constructs an AttributeExistsConstraint for a specific attribute Type </summary> - <param name="expected">The expected string</param> + <param name="type"></param> </member> - <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.Matches(System.Object)"> <summary> - Test whether the constraint is matched by the actual value. - This is a template method, which calls the IsMatch method - of the derived class. + Tests whether the object provides the expected attribute. </summary> - <param name="actual"></param> - <returns></returns> + <param name="actual">A Type, MethodInfo, or other ICustomAttributeProvider</param> + <returns>True if the expected attribute is present, otherwise false</returns> </member> - <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Write the constraint description to a MessageWriter + Writes the description of the constraint to the specified writer </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.RegexConstraint"> + <member name="T:NUnit.Framework.Constraints.AttributeConstraint"> <summary> - RegexConstraint can test whether a string matches - the pattern provided. + AttributeConstraint tests that a specified attribute is present + on a Type or other provider and that the value of the attribute + satisfies some other constraint. </summary> </member> - <member name="M:NUnit.Framework.Constraints.RegexConstraint.#ctor(System.String)"> + <member name="T:NUnit.Framework.Constraints.PrefixConstraint"> <summary> - Initializes a new instance of the <see cref="T:RegexConstraint"/> class. + Abstract base class used for prefixes </summary> - <param name="pattern">The pattern.</param> </member> - <member name="M:NUnit.Framework.Constraints.RegexConstraint.Matches(System.Object)"> + <member name="F:NUnit.Framework.Constraints.PrefixConstraint.baseConstraint"> + <summary> + The base constraint + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.PrefixConstraint.#ctor(NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Construct given a base constraint + </summary> + <param name="resolvable"></param> + </member> + <member name="M:NUnit.Framework.Constraints.AttributeConstraint.#ctor(System.Type,NUnit.Framework.Constraints.Constraint)"> + <summary> + Constructs an AttributeConstraint for a specified attriute + Type and base constraint. + </summary> + <param name="type"></param> + <param name="baseConstraint"></param> + </member> + <member name="M:NUnit.Framework.Constraints.AttributeConstraint.Matches(System.Object)"> + <summary> + Determines whether the Type or other provider has the + expected attribute and if its value matches the + additional constraint specified. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <summary> + Writes a description of the attribute to the specified writer. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <summary> + Writes the actual value supplied to the specified writer. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.AttributeConstraint.GetStringRepresentation"> + <summary> + Returns a string representation of the constraint. + </summary> + </member> + <member name="T:NUnit.Framework.Constraints.BasicConstraint"> + <summary> + BasicConstraint is the abstract base for constraints that + perform a simple comparison to a constant value. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.BasicConstraint.#ctor(System.Object,System.String)"> + <summary> + Initializes a new instance of the <see cref="T:BasicConstraint"/> class. + </summary> + <param name="expected">The expected.</param> + <param name="description">The description.</param> + </member> + <member name="M:NUnit.Framework.Constraints.BasicConstraint.Matches(System.Object)"> <summary> Test whether the constraint is satisfied by a given value </summary> <param name="actual">The value to be tested</param> <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.RegexConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.BasicConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the constraint description to a MessageWriter </summary> <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.TypeConstraint"> + <member name="T:NUnit.Framework.Constraints.NullConstraint"> <summary> - TypeConstraint is the abstract base for constraints - that take a Type as their expected value. + NullConstraint tests that the actual value is null </summary> </member> - <member name="F:NUnit.Framework.Constraints.TypeConstraint.expectedType"> + <member name="M:NUnit.Framework.Constraints.NullConstraint.#ctor"> <summary> - The expected Type used by the constraint + Initializes a new instance of the <see cref="T:NullConstraint"/> class. </summary> </member> - <member name="M:NUnit.Framework.Constraints.TypeConstraint.#ctor(System.Type)"> + <member name="T:NUnit.Framework.Constraints.TrueConstraint"> <summary> - Construct a TypeConstraint for a given Type + TrueConstraint tests that the actual value is true </summary> - <param name="type"></param> </member> - <member name="M:NUnit.Framework.Constraints.TypeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.TrueConstraint.#ctor"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. TypeConstraints override this method to write - the name of the type. + Initializes a new instance of the <see cref="T:TrueConstraint"/> class. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.ExactTypeConstraint"> + <member name="T:NUnit.Framework.Constraints.FalseConstraint"> <summary> - ExactTypeConstraint is used to test that an object - is of the exact type provided in the constructor + FalseConstraint tests that the actual value is false </summary> </member> - <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.#ctor(System.Type)"> + <member name="M:NUnit.Framework.Constraints.FalseConstraint.#ctor"> <summary> - Construct an ExactTypeConstraint for a given Type + Initializes a new instance of the <see cref="T:FalseConstraint"/> class. </summary> - <param name="type">The expected Type.</param> </member> - <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.Matches(System.Object)"> + <member name="T:NUnit.Framework.Constraints.NaNConstraint"> <summary> - Test that an object is of the exact type specified + NaNConstraint tests that the actual value is a double or float NaN </summary> - <param name="actual">The actual value.</param> - <returns>True if the tested object is of the exact type provided, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.NaNConstraint.Matches(System.Object)"> <summary> - Write the description of this constraint to a MessageWriter + Test that the actual value is an NaN </summary> - <param name="writer">The MessageWriter to use</param> + <param name="actual"></param> + <returns></returns> </member> - <member name="T:NUnit.Framework.Constraints.InstanceOfTypeConstraint"> + <member name="M:NUnit.Framework.Constraints.NaNConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - InstanceOfTypeConstraint is used to test that an object - is of the same type provided or derived from it. + Write the constraint description to a specified writer </summary> + <param name="writer"></param> </member> - <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.#ctor(System.Type)"> + <member name="T:NUnit.Framework.Constraints.BinaryConstraint"> <summary> - Construct an InstanceOfTypeConstraint for the type provided + BinaryConstraint is the abstract base of all constraints + that combine two other constraints in some fashion. </summary> - <param name="type">The expected Type</param> </member> - <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.Matches(System.Object)"> + <member name="F:NUnit.Framework.Constraints.BinaryConstraint.left"> <summary> - Test whether an object is of the specified type or a derived type + The first constraint being combined </summary> - <param name="actual">The object to be tested</param> - <returns>True if the object is of the provided type or derives from it, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="F:NUnit.Framework.Constraints.BinaryConstraint.right"> <summary> - Write a description of this constraint to a MessageWriter + The second constraint being combined </summary> - <param name="writer">The MessageWriter to use</param> </member> - <member name="T:NUnit.Framework.Constraints.AssignableFromConstraint"> + <member name="M:NUnit.Framework.Constraints.BinaryConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> <summary> - AssignableFromConstraint is used to test that an object - can be assigned from a given Type. + Construct a BinaryConstraint from two other constraints </summary> + <param name="left">The first constraint</param> + <param name="right">The second constraint</param> </member> - <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.#ctor(System.Type)"> + <member name="T:NUnit.Framework.Constraints.AndConstraint"> <summary> - Construct an AssignableFromConstraint for the type provided + AndConstraint succeeds only if both members succeed. </summary> - <param name="type"></param> </member> - <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.AndConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> <summary> - Test whether an object can be assigned from the specified type + Create an AndConstraint from two other constraints </summary> - <param name="actual">The object to be tested</param> - <returns>True if the object can be assigned a value of the expected Type, otherwise false.</returns> + <param name="left">The first constraint</param> + <param name="right">The second constraint</param> </member> - <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.AndConstraint.Matches(System.Object)"> <summary> - Write a description of this constraint to a MessageWriter + Apply both member constraints to an actual value, succeeding + succeeding only if both of them succeed. </summary> - <param name="writer">The MessageWriter to use</param> + <param name="actual">The actual value</param> + <returns>True if the constraints both succeeded</returns> </member> - <member name="T:NUnit.Framework.Constraints.AssignableToConstraint"> + <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - AssignableToConstraint is used to test that an object - can be assigned to a given Type. + Write a description for this contraint to a MessageWriter </summary> + <param name="writer">The MessageWriter to receive the description</param> </member> - <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.#ctor(System.Type)"> + <member name="M:NUnit.Framework.Constraints.AndConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct an AssignableToConstraint for the type provided + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> - <param name="type"></param> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.Matches(System.Object)"> + <member name="T:NUnit.Framework.Constraints.OrConstraint"> <summary> - Test whether an object can be assigned to the specified type + OrConstraint succeeds if either member succeeds </summary> - <param name="actual">The object to be tested</param> - <returns>True if the object can be assigned a value of the expected Type, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.OrConstraint.#ctor(NUnit.Framework.Constraints.Constraint,NUnit.Framework.Constraints.Constraint)"> <summary> - Write a description of this constraint to a MessageWriter + Create an OrConstraint from two other constraints </summary> - <param name="writer">The MessageWriter to use</param> + <param name="left">The first constraint</param> + <param name="right">The second constraint</param> </member> - <member name="T:NUnit.Framework.Constraints.ContainsConstraint"> + <member name="M:NUnit.Framework.Constraints.OrConstraint.Matches(System.Object)"> <summary> - ContainsConstraint tests a whether a string contains a substring - or a collection contains an object. It postpones the decision of - which test to use until the type of the actual argument is known. - This allows testing whether a string is contained in a collection - or as a substring of another string using the same syntax. + Apply the member constraints to an actual value, succeeding + succeeding as soon as one of them succeeds. + </summary> + <param name="actual">The actual value</param> + <returns>True if either constraint succeeded</returns> + </member> + <member name="M:NUnit.Framework.Constraints.OrConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <summary> + Write a description for this contraint to a MessageWriter </summary> + <param name="writer">The MessageWriter to receive the description</param> </member> - <member name="M:NUnit.Framework.Constraints.ContainsConstraint.#ctor(System.Object)"> + <member name="T:NUnit.Framework.Constraints.CollectionConstraint"> <summary> - Initializes a new instance of the <see cref="T:ContainsConstraint"/> class. + CollectionConstraint is the abstract base class for + constraints that operate on collections. </summary> - <param name="expected">The expected.</param> </member> - <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor"> + <summary> + Construct an empty CollectionConstraint + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionConstraint.#ctor(System.Object)"> + <summary> + Construct a CollectionConstraint + </summary> + <param name="arg"></param> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionConstraint.IsEmpty(System.Collections.IEnumerable)"> + <summary> + Determines whether the specified enumerable is empty. + </summary> + <param name="enumerable">The enumerable.</param> + <returns> + <c>true</c> if the specified enumerable is empty; otherwise, <c>false</c>. + </returns> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionConstraint.Matches(System.Object)"> <summary> Test whether the constraint is satisfied by a given value </summary> <param name="actual">The value to be tested</param> <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.ContainsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Write the constraint description to a MessageWriter + Protected method to be implemented by derived classes </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="collection"></param> + <returns></returns> </member> - <member name="P:NUnit.Framework.Constraints.ContainsConstraint.IgnoreCase"> + <member name="T:NUnit.Framework.Constraints.CollectionItemsEqualConstraint"> <summary> - Flag the constraint to ignore case and return self. + CollectionItemsEqualConstraint is the abstract base class for all + collection constraints that apply some notion of item equality + as a part of their operation. </summary> </member> - <member name="T:NUnit.Framework.Constraints.PropertyExistsConstraint"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor"> <summary> - PropertyExistsConstraint tests that a named property - exists on the object provided through Match. - - Originally, PropertyConstraint provided this feature - in addition to making optional tests on the vaue - of the property. The two constraints are now separate. + Construct an empty CollectionConstraint </summary> </member> - <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.#ctor(System.Object)"> <summary> - Initializes a new instance of the <see cref="T:PropertyExistConstraint"/> class. + Construct a CollectionConstraint </summary> - <param name="name">The name of the property.</param> + <param name="arg"></param> </member> - <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IComparer)"> <summary> - Test whether the property exists for a given object + Flag the constraint to use the supplied IComparer object. </summary> - <param name="actual">The object to be tested</param> - <returns>True for success, false for failure</returns> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> <summary> - Write the constraint description to a MessageWriter + Flag the constraint to use the supplied IComparer object. </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Comparison{``0})"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. + Flag the constraint to use the supplied Comparison object. </summary> - <param name="writer">The writer on which the actual value is displayed</param> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.ToString"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using(System.Collections.IEqualityComparer)"> <summary> - Returns the string representation of the constraint. + Flag the constraint to use the supplied IEqualityComparer object. </summary> - <returns></returns> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="T:NUnit.Framework.Constraints.PropertyConstraint"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})"> <summary> - PropertyConstraint extracts a named property and uses - its value as the actual value for a chained constraint. + Flag the constraint to use the supplied IEqualityComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="T:NUnit.Framework.Constraints.PrefixConstraint"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.ItemsEqual(System.Object,System.Object)"> <summary> - Abstract base class used for prefixes + Compares two collection members for equality </summary> </member> - <member name="F:NUnit.Framework.Constraints.PrefixConstraint.baseConstraint"> + <member name="M:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.Tally(System.Collections.IEnumerable)"> <summary> - The base constraint + Return a new CollectionTally for use in making tests </summary> + <param name="c">The collection to be included in the tally</param> </member> - <member name="M:NUnit.Framework.Constraints.PrefixConstraint.#ctor(NUnit.Framework.Constraints.IResolveConstraint)"> + <member name="P:NUnit.Framework.Constraints.CollectionItemsEqualConstraint.IgnoreCase"> <summary> - Construct given a base constraint + Flag the constraint to ignore case and return self. </summary> - <param name="resolvable"></param> </member> - <member name="M:NUnit.Framework.Constraints.PropertyConstraint.#ctor(System.String,NUnit.Framework.Constraints.Constraint)"> + <member name="T:NUnit.Framework.Constraints.EmptyCollectionConstraint"> <summary> - Initializes a new instance of the <see cref="T:PropertyConstraint"/> class. + EmptyCollectionConstraint tests whether a collection is empty. </summary> - <param name="name">The name.</param> - <param name="baseConstraint">The constraint to apply to the property.</param> </member> - <member name="M:NUnit.Framework.Constraints.PropertyConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Test whether the constraint is satisfied by a given value + Check that the collection is empty </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> + <param name="collection"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.PropertyConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EmptyCollectionConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the constraint description to a MessageWriter </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="writer"></param> </member> - <member name="M:NUnit.Framework.Constraints.PropertyConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.Constraints.UniqueItemsConstraint"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + UniqueItemsConstraint tests whether all the items in a + collection are unique. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.PropertyConstraint.ToString"> + <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Returns the string representation of the constraint. + Check that all items are unique. </summary> + <param name="actual"></param> <returns></returns> </member> - <member name="T:NUnit.Framework.Constraints.NotConstraint"> + <member name="M:NUnit.Framework.Constraints.UniqueItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - NotConstraint negates the effect of some other constraint + Write a description of this constraint to a MessageWriter </summary> + <param name="writer"></param> </member> - <member name="M:NUnit.Framework.Constraints.NotConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> + <member name="T:NUnit.Framework.Constraints.CollectionContainsConstraint"> <summary> - Initializes a new instance of the <see cref="T:NotConstraint"/> class. + CollectionContainsConstraint is used to test whether a collection + contains an expected object as a member. </summary> - <param name="baseConstraint">The base constraint to be negated.</param> </member> - <member name="M:NUnit.Framework.Constraints.NotConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.#ctor(System.Object)"> <summary> - Test whether the constraint is satisfied by a given value + Construct a CollectionContainsConstraint </summary> - <param name="actual">The value to be tested</param> - <returns>True for if the base constraint fails, false if it succeeds</returns> + <param name="expected"></param> </member> - <member name="M:NUnit.Framework.Constraints.NotConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Write the constraint description to a MessageWriter + Test whether the expected item is contained in the collection </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="actual"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.NotConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionContainsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Write the actual value for a failing constraint test to a MessageWriter. + Write a descripton of the constraint to a MessageWriter </summary> - <param name="writer">The writer on which the actual value is displayed</param> + <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.AllItemsConstraint"> + <member name="T:NUnit.Framework.Constraints.CollectionEquivalentConstraint"> <summary> - AllItemsConstraint applies another constraint to each - item in a collection, succeeding if they all succeed. + CollectionEquivalentCOnstraint is used to determine whether two + collections are equivalent. </summary> </member> - <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.#ctor(System.Collections.IEnumerable)"> <summary> - Construct an AllItemsConstraint on top of an existing constraint + Construct a CollectionEquivalentConstraint </summary> - <param name="itemConstraint"></param> + <param name="expected"></param> </member> - <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Apply the item constraint to each item in the collection, - failing if any item fails. + Test whether two collections are equivalent </summary> <param name="actual"></param> <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionEquivalentConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write a description of this constraint to a MessageWriter </summary> <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.SomeItemsConstraint"> + <member name="T:NUnit.Framework.Constraints.CollectionSubsetConstraint"> <summary> - SomeItemsConstraint applies another constraint to each - item in a collection, succeeding if any of them succeeds. + CollectionSubsetConstraint is used to determine whether + one collection is a subset of another </summary> </member> - <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.#ctor(System.Collections.IEnumerable)"> <summary> - Construct a SomeItemsConstraint on top of an existing constraint + Construct a CollectionSubsetConstraint </summary> - <param name="itemConstraint"></param> + <param name="expected">The collection that the actual value is expected to be a subset of</param> </member> - <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.doMatch(System.Collections.IEnumerable)"> <summary> - Apply the item constraint to each item in the collection, - succeeding if any item succeeds. + Test whether the actual collection is a subset of + the expected collection provided. </summary> <param name="actual"></param> <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionSubsetConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write a description of this constraint to a MessageWriter </summary> <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.NoItemConstraint"> + <member name="T:NUnit.Framework.Constraints.CollectionOrderedConstraint"> <summary> - NoItemConstraint applies another constraint to each - item in a collection, failing if any of them succeeds. + CollectionOrderedConstraint is used to test whether a collection is ordered. </summary> </member> - <member name="M:NUnit.Framework.Constraints.NoItemConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.#ctor"> <summary> - Construct a SomeItemsConstraint on top of an existing constraint + Construct a CollectionOrderedConstraint </summary> - <param name="itemConstraint"></param> </member> - <member name="M:NUnit.Framework.Constraints.NoItemConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using(System.Collections.IComparer)"> <summary> - Apply the item constraint to each item in the collection, - failing if any item fails. + Modifies the constraint to use an IComparer and returns self. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <summary> + Modifies the constraint to use an IComparer<T> and returns self. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.Using``1(System.Comparison{``0})"> + <summary> + Modifies the constraint to use a Comparison<T> and returns self. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.By(System.String)"> + <summary> + Modifies the constraint to test ordering by the value of + a specified property and returns self. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.doMatch(System.Collections.IEnumerable)"> + <summary> + Test whether the collection is ordered </summary> <param name="actual"></param> <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.NoItemConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Write a description of this constraint to a MessageWriter + Write a description of the constraint to a MessageWriter </summary> <param name="writer"></param> </member> - <member name="T:NUnit.Framework.Constraints.Numerics"> + <member name="M:NUnit.Framework.Constraints.CollectionOrderedConstraint.GetStringRepresentation"> <summary> - The Numerics class contains common operations on numeric values. + Returns the string representation of the constraint. </summary> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.Numerics.IsNumericType(System.Object)"> + <member name="P:NUnit.Framework.Constraints.CollectionOrderedConstraint.Descending"> <summary> - Checks the type of the object, returning true if - the object is a numeric type. + If used performs a reverse comparison </summary> - <param name="obj">The object to check</param> - <returns>true if the object is a numeric type</returns> </member> - <member name="M:NUnit.Framework.Constraints.Numerics.IsFloatingPointNumeric(System.Object)"> + <member name="T:NUnit.Framework.Constraints.CollectionTally"> <summary> - Checks the type of the object, returning true if - the object is a floating point numeric type. + CollectionTally counts (tallies) the number of + occurences of each object in one or more enumerations. </summary> - <param name="obj">The object to check</param> - <returns>true if the object is a floating point numeric type</returns> </member> - <member name="M:NUnit.Framework.Constraints.Numerics.IsFixedPointNumeric(System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionTally.#ctor(NUnit.Framework.Constraints.NUnitEqualityComparer,System.Collections.IEnumerable)"> <summary> - Checks the type of the object, returning true if - the object is a fixed point numeric type. + Construct a CollectionTally object from a comparer and a collection </summary> - <param name="obj">The object to check</param> - <returns>true if the object is a fixed point numeric type</returns> </member> - <member name="M:NUnit.Framework.Constraints.Numerics.AreEqual(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance@)"> + <member name="M:NUnit.Framework.Constraints.CollectionTally.TryRemove(System.Object)"> <summary> - Test two numeric values for equality, performing the usual numeric - conversions and using a provided or default tolerance. If the tolerance - provided is Empty, this method may set it to a default tolerance. + Try to remove an object from the tally </summary> - <param name="expected">The expected value</param> - <param name="actual">The actual value</param> - <param name="tolerance">A reference to the tolerance in effect</param> - <returns>True if the values are equal</returns> + <param name="o">The object to remove</param> + <returns>True if successful, false if the object was not found</returns> </member> - <member name="M:NUnit.Framework.Constraints.Numerics.Compare(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.CollectionTally.TryRemove(System.Collections.IEnumerable)"> <summary> - Compare two numeric values, performing the usual numeric conversions. + Try to remove a set of objects from the tally </summary> - <param name="expected">The expected value</param> - <param name="actual">The actual value</param> - <returns>The relationship of the values to each other</returns> + <param name="c">The objects to remove</param> + <returns>True if successful, false if any object was not found</returns> </member> - <member name="T:NUnit.Framework.Constraints.MessageWriter"> + <member name="P:NUnit.Framework.Constraints.CollectionTally.Count"> <summary> - MessageWriter is the abstract base for classes that write - constraint descriptions and messages in some form. The - class has separate methods for writing various components - of a message, allowing implementations to tailor the - presentation as needed. + The number of objects remaining in the tally </summary> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.#ctor"> + <member name="T:NUnit.Framework.Constraints.ComparisonAdapter"> <summary> - Construct a MessageWriter given a culture + ComparisonAdapter class centralizes all comparisons of + values in NUnit, adapting to the use of any provided + IComparer, IComparer<T> or Comparison<T> </summary> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteMessageLine(System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For(System.Collections.IComparer)"> <summary> - Method to write single line message with optional args, usually - written to precede the general failure message. + Returns a ComparisonAdapter that wraps an IComparer </summary> - <param name="message">The message to be written</param> - <param name="args">Any arguments used in formatting the message</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteMessageLine(System.Int32,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Collections.Generic.IComparer{``0})"> <summary> - Method to write single line message with optional args, usually - written to precede the general failure message, at a givel - indentation level. + Returns a ComparisonAdapter that wraps an IComparer<T> </summary> - <param name="level">The indentation level of the message</param> - <param name="message">The message to be written</param> - <param name="args">Any arguments used in formatting the message</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Comparison{``0})"> <summary> - Display Expected and Actual lines for a constraint. This - is called by MessageWriter's default implementation of - WriteMessageTo and provides the generic two-line display. + Returns a ComparisonAdapter that wraps a Comparison<T> </summary> - <param name="constraint">The constraint that failed</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.Compare(System.Object,System.Object)"> <summary> - Display Expected and Actual lines for given values. This - method may be called by constraints that need more control over - the display of actual and expected values than is provided - by the default implementation. + Compares two objects </summary> - <param name="expected">The expected value</param> - <param name="actual">The actual value causing the failure</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance)"> + <member name="P:NUnit.Framework.Constraints.ComparisonAdapter.Default"> <summary> - Display Expected and Actual lines for given values, including - a tolerance value on the Expected line. + Gets the default ComparisonAdapter, which wraps an + NUnitComparer object. </summary> - <param name="expected">The expected value</param> - <param name="actual">The actual value causing the failure</param> - <param name="tolerance">The tolerance within which the test was made</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayStringDifferences(System.String,System.String,System.Int32,System.Boolean,System.Boolean)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.#ctor(System.Collections.IComparer)"> <summary> - Display the expected and actual string values on separate lines. - If the mismatch parameter is >=0, an additional line is displayed - line containing a caret that points to the mismatch point. + Construct a ComparisonAdapter for an IComparer </summary> - <param name="expected">The expected string value</param> - <param name="actual">The actual string value</param> - <param name="mismatch">The point at which the strings don't match or -1</param> - <param name="ignoreCase">If true, case is ignored in locating the point where the strings differ</param> - <param name="clipping">If true, the strings should be clipped to fit the line</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteConnector(System.String)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.Compare(System.Object,System.Object)"> <summary> - Writes the text for a connector. + Compares two objects </summary> - <param name="connector">The connector.</param> + <param name="expected"></param> + <param name="actual"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WritePredicate(System.String)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.DefaultComparisonAdapter.#ctor"> <summary> - Writes the text for a predicate. + Construct a default ComparisonAdapter </summary> - <param name="predicate">The predicate.</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteExpectedValue(System.Object)"> + <member name="T:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1"> <summary> - Writes the text for an expected value. + ComparisonAdapter<T> extends ComparisonAdapter and + allows use of an IComparer<T> or Comparison<T> + to actually perform the comparison. </summary> - <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteModifier(System.String)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.#ctor(System.Collections.Generic.IComparer{`0})"> <summary> - Writes the text for a modifier + Construct a ComparisonAdapter for an IComparer<T> </summary> - <param name="modifier">The modifier.</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteActualValue(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.Compare(System.Object,System.Object)"> <summary> - Writes the text for an actual value. + Compare a Type T to an object </summary> - <param name="actual">The actual value.</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteValue(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.#ctor(System.Comparison{`0})"> <summary> - Writes the text for a generalized value. + Construct a ComparisonAdapter for a Comparison<T> </summary> - <param name="val">The value.</param> </member> - <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteCollectionElements(System.Collections.ICollection,System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.Compare(System.Object,System.Object)"> <summary> - Writes the text for a collection value, - starting at a particular point, to a max length + Compare a Type T to an object </summary> - <param name="collection">The collection containing elements to write.</param> - <param name="start">The starting point of the elements to write</param> - <param name="max">The maximum number of elements to write</param> </member> - <member name="P:NUnit.Framework.Constraints.MessageWriter.MaxLineLength"> + <member name="T:NUnit.Framework.Constraints.ComparisonConstraint"> <summary> - Abstract method to get the max line length + Abstract base class for constraints that compare values to + determine if one is greater than, equal to or less than + the other. This class supplies the Using modifiers. </summary> </member> - <member name="T:NUnit.Framework.Constraints.MsgUtils"> + <member name="F:NUnit.Framework.Constraints.ComparisonConstraint.comparer"> <summary> - Static methods used in creating messages + ComparisonAdapter to be used in making the comparison </summary> </member> - <member name="F:NUnit.Framework.Constraints.MsgUtils.ELLIPSIS"> + <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.#ctor(System.Object)"> <summary> - Static string used when strings are clipped + Initializes a new instance of the <see cref="T:ComparisonConstraint"/> class. </summary> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.GetTypeRepresentation(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.#ctor(System.Object,System.Object)"> <summary> - Returns the representation of a type as used in NUnitLite. - This is the same as Type.ToString() except for arrays, - which are displayed with their declared sizes. + Initializes a new instance of the <see cref="T:ComparisonConstraint"/> class. </summary> - <param name="obj"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.EscapeControlChars(System.String)"> + <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using(System.Collections.IComparer)"> <summary> - Converts any control characters in a string - to their escaped representation. + Modifies the constraint to use an IComparer and returns self </summary> - <param name="s">The string to be converted</param> - <returns>The converted string</returns> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesAsString(System.Int32[])"> + <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> <summary> - Return the a string representation for a set of indices into an array + Modifies the constraint to use an IComparer<T> and returns self </summary> - <param name="indices">Array of indices for which a string is needed</param> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesFromCollectionIndex(System.Collections.ICollection,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.ComparisonConstraint.Using``1(System.Comparison{``0})"> <summary> - Get an array of indices representing the point in a collection or - array corresponding to a single int index into the collection. + Modifies the constraint to use a Comparison<T> and returns self </summary> - <param name="collection">The collection to which the indices apply</param> - <param name="index">Index in the collection</param> - <returns>Array of indices</returns> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.ClipString(System.String,System.Int32,System.Int32)"> + <member name="T:NUnit.Framework.Constraints.ActualValueDelegate"> <summary> - Clip a string to a given length, starting at a particular offset, returning the clipped - string with ellipses representing the removed parts + Delegate used to delay evaluation of the actual value + to be used in evaluating a constraint </summary> - <param name="s">The string to be clipped</param> - <param name="maxStringLength">The maximum permitted length of the result string</param> - <param name="clipStart">The point at which to start clipping</param> - <returns>The clipped string</returns> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.ClipExpectedAndActual(System.String@,System.String@,System.Int32,System.Int32)"> + <member name="T:NUnit.Framework.Constraints.ConstraintBuilder"> <summary> - Clip the expected and actual strings in a coordinated fashion, - so that they may be displayed together. + ConstraintBuilder maintains the stacks that are used in + processing a ConstraintExpression. An OperatorStack + is used to hold operators that are waiting for their + operands to be reognized. a ConstraintStack holds + input constraints as well as the results of each + operator applied. </summary> - <param name="expected"></param> - <param name="actual"></param> - <param name="maxDisplayLength"></param> - <param name="mismatch"></param> </member> - <member name="M:NUnit.Framework.Constraints.MsgUtils.FindMismatchPosition(System.String,System.String,System.Int32,System.Boolean)"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.#ctor"> <summary> - Shows the position two strings start to differ. Comparison - starts at the start index. + Initializes a new instance of the <see cref="T:ConstraintBuilder"/> class. </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - <param name="istart">The index in the strings at which comparison should start</param> - <param name="ignoreCase">Boolean indicating whether case should be ignored</param> - <returns>-1 if no mismatch found, or the index where mismatch found</returns> </member> - <member name="T:NUnit.Framework.Constraints.PathConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.ConstraintOperator)"> <summary> - PathConstraint serves as the abstract base of constraints - that operate on paths and provides several helper methods. + Appends the specified operator to the expression by first + reducing the operator stack and then pushing the new + operator on the stack. </summary> + <param name="op">The operator to push.</param> </member> - <member name="F:NUnit.Framework.Constraints.PathConstraint.expected"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Append(NUnit.Framework.Constraints.Constraint)"> <summary> - The expected path used in the constraint + Appends the specified constraint to the expresson by pushing + it on the constraint stack. </summary> + <param name="constraint">The constraint to push.</param> </member> - <member name="F:NUnit.Framework.Constraints.PathConstraint.caseInsensitive"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.SetTopOperatorRightContext(System.Object)"> <summary> - Flag indicating whether a caseInsensitive comparison should be made + Sets the top operator right context. </summary> + <param name="rightContext">The right context.</param> </member> - <member name="M:NUnit.Framework.Constraints.PathConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ReduceOperatorStack(System.Int32)"> <summary> - Construct a PathConstraint for a give expected path + Reduces the operator stack until the topmost item + precedence is greater than or equal to the target precedence. </summary> - <param name="expected">The expected path</param> + <param name="targetPrecedence">The target precedence.</param> </member> - <member name="M:NUnit.Framework.Constraints.PathConstraint.ToString"> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.Resolve"> <summary> - Returns the string representation of this constraint + Resolves this instance, returning a Constraint. If the builder + is not currently in a resolvable state, an exception is thrown. </summary> + <returns>The resolved constraint</returns> </member> - <member name="M:NUnit.Framework.Constraints.PathConstraint.Canonicalize(System.String)"> + <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.IsResolvable"> <summary> - Canonicalize the provided path + Gets a value indicating whether this instance is resolvable. </summary> - <param name="path"></param> - <returns>The path in standardized form</returns> + <value> + <c>true</c> if this instance is resolvable; otherwise, <c>false</c>. + </value> </member> - <member name="M:NUnit.Framework.Constraints.PathConstraint.IsSamePath(System.String,System.String)"> + <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack"> <summary> - Test whether two paths are the same + OperatorStack is a type-safe stack for holding ConstraintOperators + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> + <summary> + Initializes a new instance of the <see cref="T:OperatorStack"/> class. + </summary> + <param name="builder">The builder.</param> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Push(NUnit.Framework.Constraints.ConstraintOperator)"> + <summary> + Pushes the specified operator onto the stack. + </summary> + <param name="op">The op.</param> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Pop"> + <summary> + Pops the topmost operator from the stack. </summary> - <param name="path1">The first path</param> - <param name="path2">The second path</param> <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.PathConstraint.IsSamePathOrUnder(System.String,System.String)"> + <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Empty"> <summary> - Test whether one path is the same as or under another path + Gets a value indicating whether this <see cref="T:OpStack"/> is empty. + </summary> + <value><c>true</c> if empty; otherwise, <c>false</c>.</value> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.OperatorStack.Top"> + <summary> + Gets the topmost operator without modifying the stack. + </summary> + <value>The top.</value> + </member> + <member name="T:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack"> + <summary> + ConstraintStack is a type-safe stack for holding Constraints + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> + <summary> + Initializes a new instance of the <see cref="T:ConstraintStack"/> class. + </summary> + <param name="builder">The builder.</param> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Push(NUnit.Framework.Constraints.Constraint)"> + <summary> + Pushes the specified constraint. As a side effect, + the constraint's builder field is set to the + ConstraintBuilder owning this stack. + </summary> + <param name="constraint">The constraint.</param> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Pop"> + <summary> + Pops this topmost constrait from the stack. + As a side effect, the constraint's builder + field is set to null. </summary> - <param name="path1">The first path - supposed to be the parent path</param> - <param name="path2">The second path - supposed to be the child path</param> <returns></returns> </member> - <member name="P:NUnit.Framework.Constraints.PathConstraint.IgnoreCase"> + <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Empty"> <summary> - Modifies the current instance to be case-insensitve - and returns it. + Gets a value indicating whether this <see cref="T:ConstraintStack"/> is empty. </summary> + <value><c>true</c> if empty; otherwise, <c>false</c>.</value> </member> - <member name="P:NUnit.Framework.Constraints.PathConstraint.RespectCase"> + <member name="P:NUnit.Framework.Constraints.ConstraintBuilder.ConstraintStack.Top"> <summary> - Modifies the current instance to be case-sensitve - and returns it. + Gets the topmost constraint without modifying the stack. </summary> + <value>The topmost constraint</value> </member> - <member name="T:NUnit.Framework.Constraints.SamePathConstraint"> + <member name="T:NUnit.Framework.Constraints.ConstraintExpression"> <summary> - Summary description for SamePathConstraint. + ConstraintExpression represents a compound constraint in the + process of being constructed from a series of syntactic elements. + + Individual elements are appended to the expression as they are + reognized. Once an actual Constraint is appended, the expression + returns a resolvable Constraint. </summary> </member> - <member name="M:NUnit.Framework.Constraints.SamePathConstraint.#ctor(System.String)"> + <member name="T:NUnit.Framework.Constraints.ConstraintExpressionBase"> <summary> - Initializes a new instance of the <see cref="T:SamePathConstraint"/> class. + ConstraintExpressionBase is the abstract base class for the + ConstraintExpression class, which represents a + compound constraint in the process of being constructed + from a series of syntactic elements. + + NOTE: ConstraintExpressionBase is separate because the + ConstraintExpression class was generated in earlier + versions of NUnit. The two classes may be combined + in a future version. </summary> - <param name="expected">The expected path</param> </member> - <member name="M:NUnit.Framework.Constraints.SamePathConstraint.Matches(System.Object)"> + <member name="F:NUnit.Framework.Constraints.ConstraintExpressionBase.builder"> <summary> - Test whether the constraint is satisfied by a given value + The ConstraintBuilder holding the elements recognized so far </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.SamePathConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor"> <summary> - Write the constraint description to a MessageWriter + Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/> class. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.SamePathOrUnderConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> <summary> - SamePathOrUnderConstraint tests that one path is under another + Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/> + class passing in a ConstraintBuilder, which may be pre-populated. </summary> + <param name="builder">The builder.</param> </member> - <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.ToString"> <summary> - Initializes a new instance of the <see cref="T:SamePathOrUnderConstraint"/> class. + Returns a string representation of the expression as it + currently stands. This should only be used for testing, + since it has the side-effect of resolving the expression. </summary> - <param name="expected">The expected path</param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.ConstraintOperator)"> <summary> - Test whether the constraint is satisfied by a given value + Appends an operator to the expression and returns the + resulting expression itself. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.SelfResolvingOperator)"> <summary> - Write the constraint description to a MessageWriter + Appends a self-resolving operator to the expression and + returns a new ResolvableConstraintExpression. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.EmptyDirectoryContraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.Constraint)"> <summary> - EmptyDirectoryConstraint is used to test that a directory is empty + Appends a constraint to the expression and returns that + constraint, which is associated with the current state + of the expression being built. </summary> </member> - <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor"> <summary> - Test whether the constraint is satisfied by a given value + Initializes a new instance of the <see cref="T:ConstraintExpression"/> class. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> <summary> - Write the constraint description to a MessageWriter + Initializes a new instance of the <see cref="T:ConstraintExpression"/> + class passing in a ConstraintBuilder, which may be pre-populated. </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="builder">The builder.</param> </member> - <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Exactly(System.Int32)"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.SubDirectoryConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Property(System.String)"> <summary> - SubDirectoryConstraint is used to test that one directory is a subdirectory of another. + Returns a new PropertyConstraintExpression, which will either + test for the existence of the named property on the object + being tested or apply any following constraint to that property. </summary> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.#ctor(System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute(System.Type)"> <summary> - Initializes a new instance of the <see cref="T:SubDirectoryConstraint"/> class. + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. </summary> - <param name="dirInfo">The dir info.</param> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute``1"> <summary> - Test whether the constraint is satisfied by a given value + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(NUnit.Framework.Constraints.Constraint)"> <summary> - Write the constraint description to a MessageWriter + Returns the constraint provided as an argument - used to allow custom + custom constraints to easily participate in the syntax. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.BuildDirectoryList(System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches``1(System.Predicate{``0})"> <summary> - Builds a list of DirectoryInfo objects, recursing where necessary + Returns the constraint provided as an argument - used to allow custom + custom constraints to easily participate in the syntax. </summary> - <param name="StartingDirectory">directory to recurse</param> - <returns>list of DirectoryInfo objects from the top level</returns> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.IsDirectoryOnPath(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EqualTo(System.Object)"> <summary> - private method to determine whether a directory is within the path + Returns a constraint that tests two items for equality </summary> - <param name="ParentDirectory">top-level directory to search</param> - <param name="SearchDirectory">directory to search for</param> - <returns>true if found, false if not</returns> </member> - <member name="M:NUnit.Framework.Constraints.SubDirectoryConstraint.DirectoriesEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SameAs(System.Object)"> <summary> - Method to compare two DirectoryInfo objects + Returns a constraint that tests that two references are the same object </summary> - <param name="expected">first directory to compare</param> - <param name="actual">second directory to compare</param> - <returns>true if equivalent, false if not</returns> </member> - <member name="T:NUnit.Framework.Constraints.ThrowsConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThan(System.Object)"> <summary> - ThrowsConstraint is used to test the exception thrown by - a delegate by applying a constraint to it. + Returns a constraint that tests whether the + actual value is greater than the suppled argument </summary> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThanOrEqualTo(System.Object)"> <summary> - Initializes a new instance of the <see cref="T:ThrowsConstraint"/> class, - using a constraint to be applied to the exception. + Returns a constraint that tests whether the + actual value is greater than or equal to the suppled argument </summary> - <param name="baseConstraint">A constraint to apply to the caught exception.</param> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtLeast(System.Object)"> <summary> - Executes the code of the delegate and captures any exception. - If a non-null base constraint was provided, it applies that - constraint to the exception. + Returns a constraint that tests whether the + actual value is greater than or equal to the suppled argument </summary> - <param name="actual">A delegate representing the code to be tested</param> - <returns>True if an exception is thrown and the constraint succeeds, otherwise false</returns> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThan(System.Object)"> <summary> - Converts an ActualValueDelegate to a TestDelegate - before calling the primary overload. + Returns a constraint that tests whether the + actual value is less than the suppled argument </summary> - <param name="del"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThanOrEqualTo(System.Object)"> <summary> - Write the constraint description to a MessageWriter + Returns a constraint that tests whether the + actual value is less than or equal to the suppled argument </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtMost(System.Object)"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + Returns a constraint that tests whether the + actual value is less than or equal to the suppled argument </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.ToString"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf(System.Type)"> <summary> - Returns the string representation of this constraint + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. </summary> </member> - <member name="P:NUnit.Framework.Constraints.ThrowsConstraint.ActualException"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf``1"> <summary> - Get the actual exception thrown - used by Assert.Throws. + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. </summary> </member> - <member name="T:NUnit.Framework.Constraints.ThrowsNothingConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf(System.Type)"> <summary> - ThrowsNothingConstraint tests that a delegate does not - throw an exception. + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. </summary> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf``1"> <summary> - Test whether the constraint is satisfied by a given value + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. </summary> - <param name="actual">The value to be tested</param> - <returns>True if no exception is thrown, otherwise false</returns> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType(System.Type)"> <summary> - Write the constraint description to a MessageWriter + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType``1"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="T:NUnit.Framework.Constraints.RangeConstraint"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom(System.Type)"> <summary> - RangeConstraint tests whethe two values are within a - specified range. + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. </summary> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.#ctor(System.IComparable,System.IComparable)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom``1"> <summary> - Initializes a new instance of the <see cref="T:RangeConstraint"/> class. + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. </summary> - <param name="from">From.</param> - <param name="to">To.</param> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo(System.Type)"> <summary> - Test whether the constraint is satisfied by a given value + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo``1"> <summary> - Write the constraint description to a MessageWriter + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.Using(System.Collections.IComparer)"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EquivalentTo(System.Collections.IEnumerable)"> <summary> - Modifies the constraint to use an IComparer and returns self. + Returns a constraint that tests whether the actual value + is a collection containing the same elements as the + collection supplied as an argument. </summary> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SubsetOf(System.Collections.IEnumerable)"> <summary> - Modifies the constraint to use an IComparer<T> and returns self. + Returns a constraint that tests whether the actual value + is a subset of the collection supplied as an argument. </summary> </member> - <member name="M:NUnit.Framework.Constraints.RangeConstraint.Using``1(System.Comparison{``0})"> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Member(System.Object)"> <summary> - Modifies the constraint to use a Comparison<T> and returns self. + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.Object)"> + <summary> + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.String)"> + <summary> + Returns a new ContainsConstraint. This constraint + will, in turn, make use of the appropriate second-level + constraint, depending on the type of the actual argument. + This overload is only used if the item sought is a string, + since any other type implies that we are looking for a + collection member. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringContaining(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.ContainsSubstring(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StartsWith(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringStarting(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EndsWith(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringEnding(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value matches the Regex pattern supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringMatching(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value matches the Regex pattern supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePath(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same as an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SubPath(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePathOrUnder(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InRange``1(``0,``0)"> + <summary> + Returns a constraint that tests whether the actual value falls + within a specified range. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Not"> + <summary> + Returns a ConstraintExpression that negates any + following constraint. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.No"> + <summary> + Returns a ConstraintExpression that negates any + following constraint. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.All"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Some"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if at least one of them succeeds. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.None"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them fail. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Length"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Length property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Count"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Count property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Message"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Message property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the InnerException property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.With"> + <summary> + With is currently a NOP - reserved for future use. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Null"> + <summary> + Returns a constraint that tests for null + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.True"> + <summary> + Returns a constraint that tests for True + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.False"> + <summary> + Returns a constraint that tests for False + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Positive"> + <summary> + Returns a constraint that tests for a positive value + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Negative"> + <summary> + Returns a constraint that tests for a negative value + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.NaN"> + <summary> + Returns a constraint that tests for NaN + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Empty"> + <summary> + Returns a constraint that tests for empty + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Unique"> + <summary> + Returns a constraint that tests whether a collection + contains all unique items. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.BinarySerializable"> + <summary> + Returns a constraint that tests whether an object graph is serializable in binary format. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.XmlSerializable"> + <summary> + Returns a constraint that tests whether an object graph is serializable in xml format. + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Ordered"> + <summary> + Returns a constraint that tests whether a collection is ordered </summary> </member> <member name="T:NUnit.Framework.Constraints.ConstraintFactory"> @@ -2186,6 +2497,13 @@ a number of constraints used in Asserts. </summary> </member> + <member name="M:NUnit.Framework.Constraints.ConstraintFactory.Exactly(System.Int32)"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. + </summary> + </member> <member name="M:NUnit.Framework.Constraints.ConstraintFactory.Property(System.String)"> <summary> Returns a new PropertyConstraintExpression, which will either @@ -2424,13 +2742,19 @@ is the same as an expected path after canonicalization. </summary> </member> + <member name="M:NUnit.Framework.Constraints.ConstraintFactory.SubPath(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + </summary> + </member> <member name="M:NUnit.Framework.Constraints.ConstraintFactory.SamePathOrUnder(System.String)"> <summary> Returns a constraint that tests whether the path provided is the same path or under an expected path after canonicalization. </summary> </member> - <member name="M:NUnit.Framework.Constraints.ConstraintFactory.InRange(System.IComparable,System.IComparable)"> + <member name="M:NUnit.Framework.Constraints.ConstraintFactory.InRange``1(``0,``0)"> <summary> Returns a constraint that tests whether the actual value falls within a specified range. @@ -2508,6 +2832,16 @@ Returns a constraint that tests for False </summary> </member> + <member name="P:NUnit.Framework.Constraints.ConstraintFactory.Positive"> + <summary> + Returns a constraint that tests for a positive value + </summary> + </member> + <member name="P:NUnit.Framework.Constraints.ConstraintFactory.Negative"> + <summary> + Returns a constraint that tests for a negative value + </summary> + </member> <member name="P:NUnit.Framework.Constraints.ConstraintFactory.NaN"> <summary> Returns a constraint that tests for NaN @@ -2679,6 +3013,25 @@ none of them succeed. </summary> </member> + <member name="T:NUnit.Framework.Constraints.ExactCountOperator"> + <summary> + Represents a constraint that succeeds if the specified + count of members of a collection match a base constraint. + </summary> + </member> + <member name="M:NUnit.Framework.Constraints.ExactCountOperator.#ctor(System.Int32)"> + <summary> + Construct an ExactCountOperator for a specified count + </summary> + <param name="expectedCount">The expected count</param> + </member> + <member name="M:NUnit.Framework.Constraints.ExactCountOperator.ApplyPrefix(NUnit.Framework.Constraints.Constraint)"> + <summary> + Returns a constraint that will apply the argument + to the members of a collection, succeeding if + none of them succeed. + </summary> + </member> <member name="T:NUnit.Framework.Constraints.WithOperator"> <summary> Represents a constraint that simply wraps the @@ -2824,454 +3177,155 @@ Apply the operator to produce an OrConstraint </summary> </member> - <member name="T:NUnit.Framework.Constraints.ConstraintExpression"> - <summary> - ConstraintExpression represents a compound constraint in the - process of being constructed from a series of syntactic elements. - - Individual elements are appended to the expression as they are - reognized. Once an actual Constraint is appended, the expression - returns a resolvable Constraint. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.ConstraintExpressionBase"> - <summary> - ConstraintExpressionBase is the abstract base class for the - generated ConstraintExpression class, which represents a - compound constraint in the process of being constructed - from a series of syntactic elements. - - NOTE: ConstraintExpressionBase is aware of some of its - derived classes, which is an apparent violation of - encapsulation. Ideally, these classes would be a - single class, but they must be separated in order to - allow parts to be generated under .NET 1.x and to - provide proper user feedback in syntactically - aware IDEs. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.ConstraintExpressionBase.builder"> - <summary> - The ConstraintBuilder holding the elements recognized so far - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor"> - <summary> - Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/> class. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> - <summary> - Initializes a new instance of the <see cref="T:ConstraintExpressionBase"/> - class passing in a ConstraintBuilder, which may be pre-populated. - </summary> - <param name="builder">The builder.</param> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.ToString"> - <summary> - Returns a string representation of the expression as it - currently stands. This should only be used for testing, - since it has the side-effect of resolving the expression. - </summary> - <returns></returns> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.ConstraintOperator)"> - <summary> - Appends an operator to the expression and returns the - resulting expression itself. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.SelfResolvingOperator)"> - <summary> - Appends a self-resolving operator to the expression and - returns a new ResolvableConstraintExpression. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpressionBase.Append(NUnit.Framework.Constraints.Constraint)"> - <summary> - Appends a constraint to the expression and returns that - constraint, which is associated with the current state - of the expression being built. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor"> - <summary> - Initializes a new instance of the <see cref="T:ConstraintExpression"/> class. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> - <summary> - Initializes a new instance of the <see cref="T:ConstraintExpression"/> - class passing in a ConstraintBuilder, which may be pre-populated. - </summary> - <param name="builder">The builder.</param> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Property(System.String)"> - <summary> - Returns a new PropertyConstraintExpression, which will either - test for the existence of the named property on the object - being tested or apply any following constraint to that property. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute(System.Type)"> - <summary> - Returns a new AttributeConstraint checking for the - presence of a particular attribute on an object. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Attribute``1"> - <summary> - Returns a new AttributeConstraint checking for the - presence of a particular attribute on an object. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(NUnit.Framework.Constraints.Constraint)"> - <summary> - Returns the constraint provided as an argument - used to allow custom - custom constraints to easily participate in the syntax. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches``1(System.Predicate{``0})"> - <summary> - Returns the constraint provided as an argument - used to allow custom - custom constraints to easily participate in the syntax. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EqualTo(System.Object)"> - <summary> - Returns a constraint that tests two items for equality - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SameAs(System.Object)"> - <summary> - Returns a constraint that tests that two references are the same object - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThan(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is greater than the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.GreaterThanOrEqualTo(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is greater than or equal to the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtLeast(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is greater than or equal to the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThan(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is less than the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.LessThanOrEqualTo(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is less than or equal to the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AtMost(System.Object)"> - <summary> - Returns a constraint that tests whether the - actual value is less than or equal to the suppled argument - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf(System.Type)"> - <summary> - Returns a constraint that tests whether the actual - value is of the exact type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.TypeOf``1"> - <summary> - Returns a constraint that tests whether the actual - value is of the exact type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf(System.Type)"> - <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOf``1"> - <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType(System.Type)"> - <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InstanceOfType``1"> - <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom(System.Type)"> - <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableFrom``1"> - <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo(System.Type)"> - <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.AssignableTo``1"> - <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EquivalentTo(System.Collections.IEnumerable)"> - <summary> - Returns a constraint that tests whether the actual value - is a collection containing the same elements as the - collection supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SubsetOf(System.Collections.IEnumerable)"> - <summary> - Returns a constraint that tests whether the actual value - is a subset of the collection supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Member(System.Object)"> - <summary> - Returns a new CollectionContainsConstraint checking for the - presence of a particular object in the collection. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.Object)"> - <summary> - Returns a new CollectionContainsConstraint checking for the - presence of a particular object in the collection. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Contains(System.String)"> - <summary> - Returns a new ContainsConstraint. This constraint - will, in turn, make use of the appropriate second-level - constraint, depending on the type of the actual argument. - This overload is only used if the item sought is a string, - since any other type implies that we are looking for a - collection member. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringContaining(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value contains the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.ContainsSubstring(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value contains the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StartsWith(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value starts with the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringStarting(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value starts with the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.EndsWith(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value ends with the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringEnding(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value ends with the substring supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.Matches(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value matches the Regex pattern supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.StringMatching(System.String)"> - <summary> - Returns a constraint that succeeds if the actual - value matches the Regex pattern supplied as an argument. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePath(System.String)"> - <summary> - Returns a constraint that tests whether the path provided - is the same as an expected path after canonicalization. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.SamePathOrUnder(System.String)"> - <summary> - Returns a constraint that tests whether the path provided - is the same path or under an expected path after canonicalization. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ConstraintExpression.InRange(System.IComparable,System.IComparable)"> - <summary> - Returns a constraint that tests whether the actual value falls - within a specified range. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Not"> + <member name="T:NUnit.Framework.Constraints.ContainsConstraint"> <summary> - Returns a ConstraintExpression that negates any - following constraint. + ContainsConstraint tests a whether a string contains a substring + or a collection contains an object. It postpones the decision of + which test to use until the type of the actual argument is known. + This allows testing whether a string is contained in a collection + or as a substring of another string using the same syntax. </summary> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.No"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.#ctor(System.Object)"> <summary> - Returns a ConstraintExpression that negates any - following constraint. + Initializes a new instance of the <see cref="T:ContainsConstraint"/> class. </summary> + <param name="expected">The expected.</param> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.All"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Matches(System.Object)"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them succeed. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Some"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if at least one of them succeeds. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.None"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Using(System.Collections.IComparer)"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them fail. + Flag the constraint to use the supplied IComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Length"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Length property of the object being tested. + Flag the constraint to use the supplied IComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Count"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Using``1(System.Comparison{``0})"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Count property of the object being tested. + Flag the constraint to use the supplied Comparison object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Message"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Using(System.Collections.IEqualityComparer)"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Message property of the object being tested. + Flag the constraint to use the supplied IEqualityComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.InnerException"> + <member name="M:NUnit.Framework.Constraints.ContainsConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the InnerException property of the object being tested. + Flag the constraint to use the supplied IEqualityComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.With"> + <member name="P:NUnit.Framework.Constraints.ContainsConstraint.IgnoreCase"> <summary> - With is currently a NOP - reserved for future use. + Flag the constraint to ignore case and return self. </summary> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Null"> + <member name="T:NUnit.Framework.Constraints.DelayedConstraint"> <summary> - Returns a constraint that tests for null + Applies a delay to the match so that a match can be evaluated in the future. </summary> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.True"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.#ctor(NUnit.Framework.Constraints.Constraint,System.Int32)"> <summary> - Returns a constraint that tests for True + Creates a new DelayedConstraint </summary> + <param name="baseConstraint">The inner constraint two decorate</param> + <param name="delayInMilliseconds">The time interval after which the match is performed</param> + <exception cref="T:System.InvalidOperationException">If the value of <paramref name="delayInMilliseconds"/> is less than 0</exception> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.False"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.#ctor(NUnit.Framework.Constraints.Constraint,System.Int32,System.Int32)"> <summary> - Returns a constraint that tests for False + Creates a new DelayedConstraint </summary> + <param name="baseConstraint">The inner constraint two decorate</param> + <param name="delayInMilliseconds">The time interval after which the match is performed</param> + <param name="pollingInterval">The time interval used for polling</param> + <exception cref="T:System.InvalidOperationException">If the value of <paramref name="delayInMilliseconds"/> is less than 0</exception> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.NaN"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests for NaN + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for if the base constraint fails, false if it succeeds</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Empty"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> <summary> - Returns a constraint that tests for empty + Test whether the constraint is satisfied by a delegate </summary> + <param name="del">The delegate whose value is to be tested</param> + <returns>True for if the base constraint fails, false if it succeeds</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Unique"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches``1(``0@)"> <summary> - Returns a constraint that tests whether a collection - contains all unique items. + Test whether the constraint is satisfied by a given reference. + Overridden to wait for the specified delay period before + calling the base constraint with the dereferenced value. </summary> + <param name="actual">A reference to the value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.BinarySerializable"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether an object graph is serializable in binary format. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.XmlSerializable"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether an object graph is serializable in xml format. + Write the actual value for a failing constraint test to a MessageWriter. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="P:NUnit.Framework.Constraints.ConstraintExpression.Ordered"> + <member name="M:NUnit.Framework.Constraints.DelayedConstraint.GetStringRepresentation"> <summary> - Returns a constraint that tests whether a collection is ordered + Returns the string representation of the constraint. </summary> </member> - <member name="T:NUnit.Framework.Constraints.BinarySerializableConstraint"> + <member name="T:NUnit.Framework.Constraints.EmptyDirectoryContraint"> <summary> - BinarySerializableConstraint tests whether - an object is serializable in binary format. + EmptyDirectoryConstraint is used to test that a directory is empty </summary> </member> - <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.Matches(System.Object)"> <summary> Test whether the constraint is satisfied by a given value </summary> <param name="actual">The value to be tested</param> <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the constraint description to a MessageWriter </summary> <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EmptyDirectoryContraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the actual value for a failing constraint test to a MessageWriter. The default implementation simply writes @@ -3280,278 +3334,294 @@ </summary> <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.ToString"> - <summary> - Returns the string representation - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.XmlSerializableConstraint"> + <member name="T:NUnit.Framework.Constraints.EmptyConstraint"> <summary> - BinarySerializableConstraint tests whether - an object is serializable in binary format. + EmptyConstraint tests a whether a string or collection is empty, + postponing the decision about which test is applied until the + type of the actual argument is known. </summary> </member> - <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EmptyConstraint.Matches(System.Object)"> <summary> Test whether the constraint is satisfied by a given value </summary> <param name="actual">The value to be tested</param> <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EmptyConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> Write the constraint description to a MessageWriter </summary> <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.Constraints.EqualConstraint"> <summary> - Write the actual value for a failing constraint test to a - MessageWriter. The default implementation simply writes - the raw value of actual, leaving it to the writer to - perform any formatting. + EqualConstraint is able to compare an actual value with the + expected value provided in its constructor. Two objects are + considered equal if both are null, or if both have the same + value. NUnit has special semantics for some object types. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.ToString"> + <member name="F:NUnit.Framework.Constraints.EqualConstraint.clipStrings"> <summary> - Returns the string representation of this constraint + If true, strings in error messages will be clipped </summary> </member> - <member name="T:NUnit.Framework.Constraints.BasicConstraint"> + <member name="F:NUnit.Framework.Constraints.EqualConstraint.comparer"> <summary> - BasicConstraint is the abstract base for constraints that - perform a simple comparison to a constant value. + NUnitEqualityComparer used to test equality. </summary> </member> - <member name="M:NUnit.Framework.Constraints.BasicConstraint.#ctor(System.Object,System.String)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.#ctor(System.Object)"> <summary> - Initializes a new instance of the <see cref="T:BasicConstraint"/> class. + Initializes a new instance of the <see cref="T:NUnit.Framework.Constraints.EqualConstraint"/> class. </summary> - <param name="expected">The expected.</param> - <param name="description">The description.</param> + <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.Constraints.BasicConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Within(System.Object)"> <summary> - Test whether the constraint is satisfied by a given value + Flag the constraint to use a tolerance when determining equality. </summary> - <param name="actual">The value to be tested</param> - <returns>True for success, false for failure</returns> + <param name="amount">Tolerance value to be used</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.BasicConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Comparer(System.Collections.IComparer)"> <summary> - Write the constraint description to a MessageWriter + Flag the constraint to use the supplied IComparer object. </summary> - <param name="writer">The writer on which the description is displayed</param> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="T:NUnit.Framework.Constraints.NullConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using(System.Collections.IComparer)"> <summary> - NullConstraint tests that the actual value is null + Flag the constraint to use the supplied IComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.NullConstraint.#ctor"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Collections.Generic.IComparer{``0})"> <summary> - Initializes a new instance of the <see cref="T:NullConstraint"/> class. + Flag the constraint to use the supplied IComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="T:NUnit.Framework.Constraints.TrueConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Comparison{``0})"> <summary> - TrueConstraint tests that the actual value is true + Flag the constraint to use the supplied Comparison object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.TrueConstraint.#ctor"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using(System.Collections.IEqualityComparer)"> <summary> - Initializes a new instance of the <see cref="T:TrueConstraint"/> class. + Flag the constraint to use the supplied IEqualityComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="T:NUnit.Framework.Constraints.FalseConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Using``1(System.Collections.Generic.IEqualityComparer{``0})"> <summary> - FalseConstraint tests that the actual value is false + Flag the constraint to use the supplied IEqualityComparer object. </summary> + <param name="comparer">The IComparer object to use.</param> + <returns>Self.</returns> </member> - <member name="M:NUnit.Framework.Constraints.FalseConstraint.#ctor"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.Matches(System.Object)"> <summary> - Initializes a new instance of the <see cref="T:FalseConstraint"/> class. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="T:NUnit.Framework.Constraints.NaNConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.WriteMessageTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - NaNConstraint tests that the actual value is a double or float NaN + Write a failure message. Overridden to provide custom + failure messages for EqualConstraint. </summary> + <param name="writer">The MessageWriter to write to</param> </member> - <member name="M:NUnit.Framework.Constraints.NaNConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Test that the actual value is an NaN + Write description of this constraint </summary> - <param name="actual"></param> - <returns></returns> + <param name="writer">The MessageWriter to write to</param> </member> - <member name="M:NUnit.Framework.Constraints.NaNConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayCollectionDifferences(NUnit.Framework.Constraints.MessageWriter,System.Collections.ICollection,System.Collections.ICollection,System.Int32)"> <summary> - Write the constraint description to a specified writer + Display the failure information for two collections that did not match. </summary> - <param name="writer"></param> + <param name="writer">The MessageWriter on which to display</param> + <param name="expected">The expected collection.</param> + <param name="actual">The actual collection</param> + <param name="depth">The depth of this failure in a set of nested collections</param> </member> - <member name="T:NUnit.Framework.Constraints.AttributeExistsConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayTypesAndSizes(NUnit.Framework.Constraints.MessageWriter,System.Collections.IEnumerable,System.Collections.IEnumerable,System.Int32)"> <summary> - AttributeExistsConstraint tests for the presence of a - specified attribute on a Type. + Displays a single line showing the types and sizes of the expected + and actual enumerations, collections or arrays. If both are identical, + the value is only shown once. </summary> + <param name="writer">The MessageWriter on which to display</param> + <param name="expected">The expected collection or array</param> + <param name="actual">The actual collection or array</param> + <param name="indent">The indentation level for the message line</param> </member> - <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.#ctor(System.Type)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayFailurePoint(NUnit.Framework.Constraints.MessageWriter,System.Collections.IEnumerable,System.Collections.IEnumerable,NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint,System.Int32)"> <summary> - Constructs an AttributeExistsConstraint for a specific attribute Type + Displays a single line showing the point in the expected and actual + arrays at which the comparison failed. If the arrays have different + structures or dimensions, both values are shown. </summary> - <param name="type"></param> + <param name="writer">The MessageWriter on which to display</param> + <param name="expected">The expected array</param> + <param name="actual">The actual array</param> + <param name="failurePoint">Index of the failure point in the underlying collections</param> + <param name="indent">The indentation level for the message line</param> </member> - <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EqualConstraint.DisplayEnumerableDifferences(NUnit.Framework.Constraints.MessageWriter,System.Collections.IEnumerable,System.Collections.IEnumerable,System.Int32)"> <summary> - Tests whether the object provides the expected attribute. + Display the failure information for two IEnumerables that did not match. </summary> - <param name="actual">A Type, MethodInfo, or other ICustomAttributeProvider</param> - <returns>True if the expected attribute is present, otherwise false</returns> + <param name="writer">The MessageWriter on which to display</param> + <param name="expected">The expected enumeration.</param> + <param name="actual">The actual enumeration</param> + <param name="depth">The depth of this failure in a set of nested collections</param> </member> - <member name="M:NUnit.Framework.Constraints.AttributeExistsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.IgnoreCase"> <summary> - Writes the description of the constraint to the specified writer + Flag the constraint to ignore case and return self. </summary> </member> - <member name="T:NUnit.Framework.Constraints.AttributeConstraint"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.NoClip"> <summary> - AttributeConstraint tests that a specified attribute is present - on a Type or other provider and that the value of the attribute - satisfies some other constraint. + Flag the constraint to suppress string clipping + and return self. </summary> </member> - <member name="M:NUnit.Framework.Constraints.AttributeConstraint.#ctor(System.Type,NUnit.Framework.Constraints.Constraint)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.AsCollection"> <summary> - Constructs an AttributeConstraint for a specified attriute - Type and base constraint. + Flag the constraint to compare arrays as collections + and return self. </summary> - <param name="type"></param> - <param name="baseConstraint"></param> </member> - <member name="M:NUnit.Framework.Constraints.AttributeConstraint.Matches(System.Object)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Ulps"> <summary> - Determines whether the Type or other provider has the - expected attribute and if its value matches the - additional constraint specified. + Switches the .Within() modifier to interpret its tolerance as + a distance in representable values (see remarks). </summary> + <returns>Self.</returns> + <remarks> + Ulp stands for "unit in the last place" and describes the minimum + amount a given value can change. For any integers, an ulp is 1 whole + digit. For floating point values, the accuracy of which is better + for smaller numbers and worse for larger numbers, an ulp depends + on the size of the number. Using ulps for comparison of floating + point results instead of fixed tolerances is safer because it will + automatically compensate for the added inaccuracy of larger numbers. + </remarks> </member> - <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Percent"> <summary> - Writes a description of the attribute to the specified writer. + Switches the .Within() modifier to interpret its tolerance as + a percentage that the actual values is allowed to deviate from + the expected value. </summary> + <returns>Self</returns> </member> - <member name="M:NUnit.Framework.Constraints.AttributeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Days"> <summary> - Writes the actual value supplied to the specified writer. + Causes the tolerance to be interpreted as a TimeSpan in days. </summary> + <returns>Self</returns> </member> - <member name="M:NUnit.Framework.Constraints.AttributeConstraint.ToString"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Hours"> <summary> - Returns a string representation of the constraint. + Causes the tolerance to be interpreted as a TimeSpan in hours. </summary> + <returns>Self</returns> </member> - <member name="T:NUnit.Framework.Constraints.ResolvableConstraintExpression"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Minutes"> <summary> - ResolvableConstraintExpression is used to represent a compound - constraint being constructed at a point where the last operator - may either terminate the expression or may have additional - qualifying constraints added to it. - - It is used, for example, for a Property element or for - an Exception element, either of which may be optionally - followed by constraints that apply to the property or - exception. + Causes the tolerance to be interpreted as a TimeSpan in minutes. </summary> + <returns>Self</returns> </member> - <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.#ctor"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Seconds"> <summary> - Create a new instance of ResolvableConstraintExpression + Causes the tolerance to be interpreted as a TimeSpan in seconds. </summary> + <returns>Self</returns> </member> - <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Milliseconds"> <summary> - Create a new instance of ResolvableConstraintExpression, - passing in a pre-populated ConstraintBuilder. + Causes the tolerance to be interpreted as a TimeSpan in milliseconds. </summary> + <returns>Self</returns> </member> - <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.NUnit#Framework#Constraints#IResolveConstraint#Resolve"> + <member name="P:NUnit.Framework.Constraints.EqualConstraint.Ticks"> <summary> - Resolve the current expression to a Constraint + Causes the tolerance to be interpreted as a TimeSpan in clock ticks. </summary> + <returns>Self</returns> </member> - <member name="P:NUnit.Framework.Constraints.ResolvableConstraintExpression.And"> + <member name="T:NUnit.Framework.Constraints.EqualityAdapter"> <summary> - Appends an And Operator to the expression + EqualityAdapter class handles all equality comparisons + that use an IEqualityComparer, IEqualityComparer<T> + or a ComparisonAdapter. </summary> </member> - <member name="P:NUnit.Framework.Constraints.ResolvableConstraintExpression.Or"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.AreEqual(System.Object,System.Object)"> <summary> - Appends an Or operator to the expression. + Compares two objects, returning true if they are equal </summary> </member> - <member name="T:NUnit.Framework.Constraints.DelayedConstraint"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.CanCompare(System.Object,System.Object)"> <summary> - Applies a delay to the match so that a match can be evaluated in the future. + Returns true if the two objects can be compared by this adapter. + The base adapter cannot handle IEnumerables except for strings. </summary> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.#ctor(NUnit.Framework.Constraints.Constraint,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For(System.Collections.IComparer)"> <summary> - Creates a new DelayedConstraint + Returns an EqualityAdapter that wraps an IComparer. </summary> - <param name="baseConstraint">The inner constraint two decorate</param> - <param name="delayInMilliseconds">The time interval after which the match is performed</param> - <exception cref="T:System.InvalidOperationException">If the value of <paramref name="delayInMilliseconds"/> is less than 0</exception> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.#ctor(NUnit.Framework.Constraints.Constraint,System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For(System.Collections.IEqualityComparer)"> <summary> - Creates a new DelayedConstraint + Returns an EqualityAdapter that wraps an IEqualityComparer. </summary> - <param name="baseConstraint">The inner constraint two decorate</param> - <param name="delayInMilliseconds">The time interval after which the match is performed</param> - <param name="pollingInterval">The time interval used for polling</param> - <exception cref="T:System.InvalidOperationException">If the value of <paramref name="delayInMilliseconds"/> is less than 0</exception> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches(System.Object)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Collections.Generic.IEqualityComparer{``0})"> <summary> - Test whether the constraint is satisfied by a given value + Returns an EqualityAdapter that wraps an IEqualityComparer<T>. </summary> - <param name="actual">The value to be tested</param> - <returns>True for if the base constraint fails, false if it succeeds</returns> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Collections.Generic.IComparer{``0})"> <summary> - Test whether the constraint is satisfied by a delegate + Returns an EqualityAdapter that wraps an IComparer<T>. </summary> - <param name="del">The delegate whose value is to be tested</param> - <returns>True for if the base constraint fails, false if it succeeds</returns> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.Matches``1(``0@)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Comparison{``0})"> <summary> - Test whether the constraint is satisfied by a given reference. - Overridden to wait for the specified delay period before - calling the base constraint with the dereferenced value. + Returns an EqualityAdapter that wraps a Comparison<T>. </summary> - <param name="actual">A reference to the value to be tested</param> - <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="T:NUnit.Framework.Constraints.EqualityAdapter.ComparerAdapter"> <summary> - Write the constraint description to a MessageWriter + EqualityAdapter that wraps an IComparer. </summary> - <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> + <member name="M:NUnit.Framework.Constraints.EqualityAdapter.GenericEqualityAdapter`1.CanCompare(System.Object,System.Object)"> <summary> - Write the actual value for a failing constraint test to a MessageWriter. + Returns true if the two objects can be compared by this adapter. + Generic adapter requires objects of the specified type. </summary> - <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Constraints.DelayedConstraint.ToString"> + <member name="T:NUnit.Framework.Constraints.EqualityAdapter.ComparerAdapter`1"> <summary> - Returns the string representation of the constraint. + EqualityAdapter that wraps an IComparer. </summary> </member> <member name="T:NUnit.Framework.Constraints.FloatingPointNumerics"> @@ -3696,1385 +3766,145 @@ <member name="F:NUnit.Framework.Constraints.FloatingPointNumerics.DoubleLongUnion.ULong"> <summary>The union's value as an unsigned long</summary> </member> - <member name="T:NUnit.Framework.Constraints.ToleranceMode"> - <summary> - Modes in which the tolerance value for a comparison can - be interpreted. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.ToleranceMode.None"> - <summary> - The tolerance was created with a value, without specifying - how the value would be used. This is used to prevent setting - the mode more than once and is generally changed to Linear - upon execution of the test. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.ToleranceMode.Linear"> - <summary> - The tolerance is used as a numeric range within which - two compared values are considered to be equal. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.ToleranceMode.Percent"> - <summary> - Interprets the tolerance as the percentage by which - the two compared values my deviate from each other. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.ToleranceMode.Ulps"> - <summary> - Compares two values based in their distance in - representable numbers. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.Tolerance"> - <summary> - The Tolerance class generalizes the notion of a tolerance - within which an equality test succeeds. Normally, it is - used with numeric types, but it can be used with any - type that supports taking a difference between two - objects and comparing that difference to a value. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.Tolerance.#ctor(System.Object)"> - <summary> - Constructs a linear tolerance of a specdified amount - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.Tolerance.#ctor(System.Object,NUnit.Framework.Constraints.ToleranceMode)"> - <summary> - Constructs a tolerance given an amount and ToleranceMode - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.Tolerance.CheckLinearAndNumeric"> - <summary> - Tests that the current Tolerance is linear with a - numeric value, throwing an exception if it is not. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Empty"> - <summary> - Returns an empty Tolerance object, equivalent to - specifying an exact match. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Mode"> - <summary> - Gets the ToleranceMode for the current Tolerance - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Value"> - <summary> - Gets the value of the current Tolerance instance. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Percent"> - <summary> - Returns a new tolerance, using the current amount as a percentage. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Ulps"> - <summary> - Returns a new tolerance, using the current amount in Ulps. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Days"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of days. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Hours"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of hours. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Minutes"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of minutes. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Seconds"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of seconds. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Milliseconds"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of milliseconds. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.Ticks"> - <summary> - Returns a new tolerance with a TimeSpan as the amount, using - the current amount as a number of clock ticks. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.Tolerance.IsEmpty"> - <summary> - Returns true if the current tolerance is empty. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.ComparisonAdapter"> - <summary> - ComparisonAdapter class centralizes all comparisons of - values in NUnit, adapting to the use of any provided - IComparer, IComparer<T> or Comparison<T> - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For(System.Collections.IComparer)"> - <summary> - Returns a ComparisonAdapter that wraps an IComparer - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Collections.Generic.IComparer{``0})"> - <summary> - Returns a ComparisonAdapter that wraps an IComparer<T> - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.For``1(System.Comparison{``0})"> - <summary> - Returns a ComparisonAdapter that wraps a Comparison<T> - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.Compare(System.Object,System.Object)"> - <summary> - Compares two objects - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.ComparisonAdapter.Default"> - <summary> - Gets the default ComparisonAdapter, which wraps an - NUnitComparer object. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.#ctor(System.Collections.IComparer)"> - <summary> - Construct a ComparisonAdapter for an IComparer - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter.Compare(System.Object,System.Object)"> - <summary> - Compares two objects - </summary> - <param name="expected"></param> - <param name="actual"></param> - <returns></returns> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.DefaultComparisonAdapter.#ctor"> - <summary> - Construct a default ComparisonAdapter - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1"> - <summary> - ComparisonAdapter<T> extends ComparisonAdapter and - allows use of an IComparer<T> or Comparison<T> - to actually perform the comparison. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.#ctor(System.Collections.Generic.IComparer{`0})"> - <summary> - Construct a ComparisonAdapter for an IComparer<T> - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparerAdapter`1.Compare(System.Object,System.Object)"> - <summary> - Compare a Type T to an object - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.#ctor(System.Comparison{`0})"> - <summary> - Construct a ComparisonAdapter for a Comparison<T> - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.ComparisonAdapter.ComparisonAdapterForComparison`1.Compare(System.Object,System.Object)"> - <summary> - Compare a Type T to an object - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.EqualityAdapter"> - <summary> - EqualityAdapter class handles all equality comparisons - that use an IEqualityComparer, IEqualityComparer<T> - or a ComparisonAdapter. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.ObjectsEqual(System.Object,System.Object)"> - <summary> - Compares two objects, returning true if they are equal - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For(System.Collections.IComparer)"> - <summary> - Returns an EqualityAdapter that wraps an IComparer. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For(System.Collections.IEqualityComparer)"> - <summary> - Returns an EqualityAdapter that wraps an IEqualityComparer. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Collections.Generic.IEqualityComparer{``0})"> - <summary> - Returns an EqualityAdapter that wraps an IEqualityComparer<T>. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Collections.Generic.IComparer{``0})"> - <summary> - Returns an EqualityAdapter that wraps an IComparer<T>. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.EqualityAdapter.For``1(System.Comparison{``0})"> - <summary> - Returns an EqualityAdapter that wraps a Comparison<T>. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.NUnitComparer"> - <summary> - NUnitComparer encapsulates NUnit's default behavior - in comparing two objects. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.NUnitComparer.Compare(System.Object,System.Object)"> - <summary> - Compares two objects - </summary> - <param name="x"></param> - <param name="y"></param> - <returns></returns> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitComparer.Default"> - <summary> - Returns the default NUnitComparer. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.NUnitEqualityComparer"> - <summary> - NUnitEqualityComparer encapsulates NUnit's handling of - equality tests between objects. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.caseInsensitive"> - <summary> - If true, all string comparisons will ignore case - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.compareAsCollection"> - <summary> - If true, arrays will be treated as collections, allowing - those of different dimensions to be compared - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.tolerance"> - <summary> - If non-zero, equality comparisons within the specified - tolerance will succeed. - </summary> - </member> - <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.externalComparer"> - <summary> - Comparison object used in comparisons for some constraints. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.ObjectsEqual(System.Object,System.Object)"> - <summary> - Compares two objects for equality. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.ArraysEqual(System.Array,System.Array)"> - <summary> - Helper method to compare two arrays - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.DirectoriesEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> - <summary> - Method to compare two DirectoryInfo objects - </summary> - <param name="x">first directory to compare</param> - <param name="y">second directory to compare</param> - <returns>true if equivalent, false if not</returns> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.Default"> - <summary> - Returns the default NUnitEqualityComparer - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.IgnoreCase"> - <summary> - Gets and sets a flag indicating whether case should - be ignored in determining equality. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.CompareAsCollection"> - <summary> - Gets and sets a flag indicating that arrays should be - compared as collections, without regard to their shape. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.ExternalComparer"> - <summary> - Gets and sets an external comparer to be used to - test for equality. It is applied to members of - collections, in place of NUnit's own logic. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.Tolerance"> - <summary> - Gets and sets a tolerance used to compare objects of - certin types. - </summary> - </member> - <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoints"> - <summary> - Gets the list of failure points for the last Match performed. - </summary> - </member> - <member name="T:NUnit.Framework.Constraints.PredicateConstraint`1"> - <summary> - Predicate constraint wraps a Predicate in a constraint, - returning success if the predicate is true. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.#ctor(System.Predicate{`0})"> - <summary> - Construct a PredicateConstraint from a predicate - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.Matches(System.Object)"> - <summary> - Determines whether the predicate succeeds when applied - to the actual value. - </summary> - </member> - <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> - <summary> - Writes the description to a MessageWriter - </summary> - </member> - <member name="T:NUnit.Framework.SetUpFixtureAttribute"> - <summary> - SetUpFixtureAttribute is used to identify a SetUpFixture - </summary> - </member> - <member name="T:NUnit.Framework.StringAssert"> - <summary> - Basic Asserts on strings. - </summary> - </member> - <member name="M:NUnit.Framework.StringAssert.Equals(System.Object,System.Object)"> - <summary> - The Equals method throws an AssertionException. This is done - to make sure there is no mistake by calling this function. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.StringAssert.ReferenceEquals(System.Object,System.Object)"> - <summary> - override the default ReferenceEquals to throw an AssertionException. This - implementation makes sure there is no mistake in calling this function - as part of Assert. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string is found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String,System.String)"> - <summary> - Asserts that a string is found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String)"> - <summary> - Asserts that a string is found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string is not found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String,System.String)"> - <summary> - Asserts that a string is found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String)"> - <summary> - Asserts that a string is found within another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string starts with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String,System.String)"> - <summary> - Asserts that a string starts with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String)"> - <summary> - Asserts that a string starts with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string does not start with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String,System.String)"> - <summary> - Asserts that a string does not start with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String)"> - <summary> - Asserts that a string does not start with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string ends with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String,System.String)"> - <summary> - Asserts that a string ends with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String)"> - <summary> - Asserts that a string ends with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string does not end with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String,System.String)"> - <summary> - Asserts that a string does not end with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String)"> - <summary> - Asserts that a string does not end with another string. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The string to be examined</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that two strings are equal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String,System.String)"> - <summary> - Asserts that two strings are equal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String)"> - <summary> - Asserts that two strings are equal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that two strings are not equal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String,System.String)"> - <summary> - Asserts that two strings are Notequal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String)"> - <summary> - Asserts that two strings are not equal, without regard to case. - </summary> - <param name="expected">The expected string</param> - <param name="actual">The actual string</param> - </member> - <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string matches an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be matched</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String,System.String)"> - <summary> - Asserts that a string matches an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be matched</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String)"> - <summary> - Asserts that a string matches an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be matched</param> - <param name="actual">The actual string</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that a string does not match an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be used</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - <param name="args">Arguments used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String,System.String)"> - <summary> - Asserts that a string does not match an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be used</param> - <param name="actual">The actual string</param> - <param name="message">The message to display in case of failure</param> - </member> - <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String)"> - <summary> - Asserts that a string does not match an expected regular expression pattern. - </summary> - <param name="pattern">The regex pattern to be used</param> - <param name="actual">The actual string</param> - </member> - <member name="T:NUnit.Framework.PropertyAttribute"> - <summary> - PropertyAttribute is used to attach information to a test as a name/value pair.. - </summary> - </member> - <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.String)"> - <summary> - Construct a PropertyAttribute with a name and string value - </summary> - <param name="propertyName">The name of the property</param> - <param name="propertyValue">The property value</param> - </member> - <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Int32)"> - <summary> - Construct a PropertyAttribute with a name and int value - </summary> - <param name="propertyName">The name of the property</param> - <param name="propertyValue">The property value</param> - </member> - <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.String,System.Double)"> - <summary> - Construct a PropertyAttribute with a name and double value - </summary> - <param name="propertyName">The name of the property</param> - <param name="propertyValue">The property value</param> - </member> - <member name="M:NUnit.Framework.PropertyAttribute.#ctor"> - <summary> - Constructor for derived classes that set the - property dictionary directly. - </summary> - </member> - <member name="M:NUnit.Framework.PropertyAttribute.#ctor(System.Object)"> - <summary> - Constructor for use by derived classes that use the - name of the type as the property name. Derived classes - must ensure that the Type of the property value is - a standard type supported by the BCL. Any custom - types will cause a serialization Exception when - in the client. - </summary> - </member> - <member name="P:NUnit.Framework.PropertyAttribute.Properties"> - <summary> - Gets the property dictionary for this attribute - </summary> - </member> - <member name="T:NUnit.Framework.CollectionAssert"> - <summary> - A set of Assert methods operationg on one or more collections - </summary> - </member> - <member name="M:NUnit.Framework.CollectionAssert.Equals(System.Object,System.Object)"> - <summary> - The Equals method throws an AssertionException. This is done - to make sure there is no mistake by calling this function. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.ReferenceEquals(System.Object,System.Object)"> - <summary> - override the default ReferenceEquals to throw an AssertionException. This - implementation makes sure there is no mistake in calling this function - as part of Assert. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type)"> - <summary> - Asserts that all items contained in collection are of the type specified by expectedType. - </summary> - <param name="collection">IEnumerable containing objects to be considered</param> - <param name="expectedType">System.Type that all objects in collection must be instances of</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type,System.String)"> - <summary> - Asserts that all items contained in collection are of the type specified by expectedType. - </summary> - <param name="collection">IEnumerable containing objects to be considered</param> - <param name="expectedType">System.Type that all objects in collection must be instances of</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type,System.String,System.Object[])"> - <summary> - Asserts that all items contained in collection are of the type specified by expectedType. - </summary> - <param name="collection">IEnumerable containing objects to be considered</param> - <param name="expectedType">System.Type that all objects in collection must be instances of</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable)"> - <summary> - Asserts that all items contained in collection are not equal to null. - </summary> - <param name="collection">IEnumerable containing objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that all items contained in collection are not equal to null. - </summary> - <param name="collection">IEnumerable containing objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that all items contained in collection are not equal to null. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable)"> - <summary> - Ensures that every object contained in collection exists within the collection - once and only once. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable,System.String)"> - <summary> - Ensures that every object contained in collection exists within the collection - once and only once. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Ensures that every object contained in collection exists within the collection - once and only once. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer)"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are exactly equal. The collections must have the same count, - and contain the exact same objects in the same order. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that expected and actual are not exactly equal. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer)"> - <summary> - Asserts that expected and actual are not exactly equal. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that expected and actual are not exactly equal. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> - <summary> - Asserts that expected and actual are not exactly equal. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are not exactly equal. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are not exactly equal. - If comparer is not null then it will be used to compare the objects. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that expected and actual are not equivalent. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that expected and actual are not equivalent. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that expected and actual are not equivalent. - </summary> - <param name="expected">The first IEnumerable of objects to be considered</param> - <param name="actual">The second IEnumerable of objects to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object)"> - <summary> - Asserts that collection contains actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object to be found within collection</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object,System.String)"> - <summary> - Asserts that collection contains actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object to be found within collection</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object,System.String,System.Object[])"> - <summary> - Asserts that collection contains actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object to be found within collection</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object)"> - <summary> - Asserts that collection does not contain actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object that cannot exist within collection</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object,System.String)"> - <summary> - Asserts that collection does not contain actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object that cannot exist within collection</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object,System.String,System.Object[])"> - <summary> - Asserts that collection does not contain actual as an item. - </summary> - <param name="collection">IEnumerable of objects to be considered</param> - <param name="actual">Object that cannot exist within collection</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that superset is not a subject of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that superset is not a subject of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that superset is not a subject of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable)"> - <summary> - Asserts that superset is a subset of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> - <summary> - Asserts that superset is a subset of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Asserts that superset is a subset of subset. - </summary> - <param name="subset">The IEnumerable superset to be considered</param> - <param name="superset">The IEnumerable subset to be considered</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Assert that an array, list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable,System.String)"> - <summary> - Assert that an array, list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable)"> - <summary> - Assert that an array,list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Assert that an array, list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable,System.String)"> - <summary> - Assert that an array, list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable)"> - <summary> - Assert that an array,list or other collection is empty - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.String,System.Object[])"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.String)"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="message">The message to be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable)"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="comparer">A custom comparer to perform the comparisons</param> - <param name="message">The message to be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="comparer">A custom comparer to perform the comparisons</param> - <param name="message">The message to be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer)"> - <summary> - Assert that an array, list or other collection is ordered - </summary> - <param name="collection">An array, list or other collection implementing IEnumerable</param> - <param name="comparer">A custom comparer to perform the comparisons</param> - </member> - <member name="T:NUnit.Framework.FileAssert"> - <summary> - Summary description for FileAssert. - </summary> - </member> - <member name="M:NUnit.Framework.FileAssert.Equals(System.Object,System.Object)"> - <summary> - The Equals method throws an AssertionException. This is done - to make sure there is no mistake by calling this function. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.FileAssert.ReferenceEquals(System.Object,System.Object)"> - <summary> - override the default ReferenceEquals to throw an AssertionException. This - implementation makes sure there is no mistake in calling this function - as part of Assert. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.FileAssert.#ctor"> - <summary> - We don't actually want any instances of this object, but some people - like to inherit from it to add other static methods. Hence, the - protected constructor disallows any instances of this object. - </summary> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream,System.String,System.Object[])"> - <summary> - Verifies that two Streams are equal. Two Streams are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> - <param name="message">The message to display if Streams are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream,System.String)"> - <summary> - Verifies that two Streams are equal. Two Streams are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> - <param name="message">The message to display if objects are not equal</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream)"> - <summary> - Verifies that two Streams are equal. Two Streams are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo,System.String,System.Object[])"> - <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> - <param name="message">The message to display if Streams are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo,System.String)"> - <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> - <param name="message">The message to display if objects are not equal</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo)"> - <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> - </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String,System.String,System.Object[])"> + <member name="T:NUnit.Framework.Constraints.GreaterThanConstraint"> <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Tests whether a value is greater than the value supplied to its constructor </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> - <param name="message">The message to display if Streams are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String,System.String)"> + <member name="F:NUnit.Framework.Constraints.GreaterThanConstraint.expected"> <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + The value against which a comparison is to be made </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> - <param name="message">The message to display if objects are not equal</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.GreaterThanConstraint.#ctor(System.Object)"> <summary> - Verifies that two files are equal. Two files are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Initializes a new instance of the <see cref="T:GreaterThanConstraint"/> class. </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> + <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.GreaterThanConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Asserts that two Streams are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Write the constraint description to a MessageWriter </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> - <param name="message">The message to be displayed when the two Stream are the same.</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream,System.String)"> + <member name="M:NUnit.Framework.Constraints.GreaterThanConstraint.Matches(System.Object)"> <summary> - Asserts that two Streams are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Test whether the constraint is satisfied by a given value </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> - <param name="message">The message to be displayed when the Streams are the same.</param> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream)"> + <member name="T:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint"> <summary> - Asserts that two Streams are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Tests whether a value is greater than or equal to the value supplied to its constructor </summary> - <param name="expected">The expected Stream</param> - <param name="actual">The actual Stream</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo,System.String,System.Object[])"> + <member name="F:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.expected"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + The value against which a comparison is to be made </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> - <param name="message">The message to display if Streams are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo,System.String)"> + <member name="M:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.#ctor(System.Object)"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Initializes a new instance of the <see cref="T:GreaterThanOrEqualConstraint"/> class. </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> - <param name="message">The message to display if objects are not equal</param> + <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo)"> + <member name="M:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Write the constraint description to a MessageWriter </summary> - <param name="expected">A file containing the value that is expected</param> - <param name="actual">A file containing the actual value</param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.GreaterThanOrEqualConstraint.Matches(System.Object)"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Test whether the constraint is satisfied by a given value </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> - <param name="message">The message to display if Streams are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String,System.String)"> + <member name="T:NUnit.Framework.Constraints.LessThanConstraint"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Tests whether a value is less than the value supplied to its constructor </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> - <param name="message">The message to display if objects are not equal</param> </member> - <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String)"> + <member name="F:NUnit.Framework.Constraints.LessThanConstraint.expected"> <summary> - Asserts that two files are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + The value against which a comparison is to be made </summary> - <param name="expected">The path to a file containing the value that is expected</param> - <param name="actual">The path to a file containing the actual value</param> </member> - <member name="T:NUnit.Framework.DescriptionAttribute"> + <member name="M:NUnit.Framework.Constraints.LessThanConstraint.#ctor(System.Object)"> <summary> - Attribute used to provide descriptive text about a - test case or fixture. + Initializes a new instance of the <see cref="T:LessThanConstraint"/> class. </summary> + <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.DescriptionAttribute.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.LessThanConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct the attribute + Write the constraint description to a MessageWriter </summary> - <param name="description">Text describing the test</param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.DescriptionAttribute.Description"> + <member name="M:NUnit.Framework.Constraints.LessThanConstraint.Matches(System.Object)"> <summary> - Gets the test description + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="T:NUnit.Framework.IExpectException"> + <member name="T:NUnit.Framework.Constraints.LessThanOrEqualConstraint"> <summary> - Interface implemented by a user fixture in order to - validate any expected exceptions. It is only called - for test methods marked with the ExpectedException - attribute. + Tests whether a value is less than or equal to the value supplied to its constructor </summary> </member> - <member name="M:NUnit.Framework.IExpectException.HandleException(System.Exception)"> + <member name="F:NUnit.Framework.Constraints.LessThanOrEqualConstraint.expected"> <summary> - Method to handle an expected exception + The value against which a comparison is to be made </summary> - <param name="ex">The exception to be handled</param> </member> - <member name="T:NUnit.Framework.TextMessageWriter"> + <member name="M:NUnit.Framework.Constraints.LessThanOrEqualConstraint.#ctor(System.Object)"> <summary> - TextMessageWriter writes constraint descriptions and messages - in displayable form as a text stream. It tailors the display - of individual message components to form the standard message - format of NUnit assertion failure messages. + Initializes a new instance of the <see cref="T:LessThanOrEqualConstraint"/> class. </summary> + <param name="expected">The expected value.</param> </member> - <member name="F:NUnit.Framework.TextMessageWriter.Pfx_Expected"> + <member name="M:NUnit.Framework.Constraints.LessThanOrEqualConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Prefix used for the expected value line of a message + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="F:NUnit.Framework.TextMessageWriter.Pfx_Actual"> + <member name="M:NUnit.Framework.Constraints.LessThanOrEqualConstraint.Matches(System.Object)"> <summary> - Prefix used for the actual value line of a message + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="F:NUnit.Framework.TextMessageWriter.PrefixLength"> + <member name="T:NUnit.Framework.Constraints.MessageWriter"> <summary> - Length of a message prefix + MessageWriter is the abstract base for classes that write + constraint descriptions and messages in some form. The + class has separate methods for writing various components + of a message, allowing implementations to tailor the + presentation as needed. </summary> </member> - <member name="M:NUnit.Framework.TextMessageWriter.#ctor"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.#ctor"> <summary> - Construct a TextMessageWriter + Construct a MessageWriter given a culture </summary> </member> - <member name="M:NUnit.Framework.TextMessageWriter.#ctor(System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteMessageLine(System.String,System.Object[])"> <summary> - Construct a TextMessageWriter, specifying a user message - and optional formatting arguments. + Method to write single line message with optional args, usually + written to precede the general failure message. </summary> - <param name="userMessage"></param> - <param name="args"></param> + <param name="message">The message to be written</param> + <param name="args">Any arguments used in formatting the message</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteMessageLine(System.Int32,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteMessageLine(System.Int32,System.String,System.Object[])"> <summary> Method to write single line message with optional args, usually written to precede the general failure message, at a givel @@ -5084,7 +3914,7 @@ <param name="message">The message to be written</param> <param name="args">Any arguments used in formatting the message</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(NUnit.Framework.Constraints.Constraint)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(NUnit.Framework.Constraints.Constraint)"> <summary> Display Expected and Actual lines for a constraint. This is called by MessageWriter's default implementation of @@ -5092,7 +3922,7 @@ </summary> <param name="constraint">The constraint that failed</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(System.Object,System.Object)"> <summary> Display Expected and Actual lines for given values. This method may be called by constraints that need more control over @@ -5102,16 +3932,16 @@ <param name="expected">The expected value</param> <param name="actual">The actual value causing the failure</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayDifferences(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance)"> <summary> Display Expected and Actual lines for given values, including - a tolerance value on the expected line. + a tolerance value on the Expected line. </summary> <param name="expected">The expected value</param> <param name="actual">The actual value causing the failure</param> <param name="tolerance">The tolerance within which the test was made</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.DisplayStringDifferences(System.String,System.String,System.Int32,System.Boolean,System.Boolean)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.DisplayStringDifferences(System.String,System.String,System.Int32,System.Boolean,System.Boolean)"> <summary> Display the expected and actual string values on separate lines. If the mismatch parameter is >=0, an additional line is displayed @@ -5120,46 +3950,46 @@ <param name="expected">The expected string value</param> <param name="actual">The actual string value</param> <param name="mismatch">The point at which the strings don't match or -1</param> - <param name="ignoreCase">If true, case is ignored in string comparisons</param> - <param name="clipping">If true, clip the strings to fit the max line length</param> + <param name="ignoreCase">If true, case is ignored in locating the point where the strings differ</param> + <param name="clipping">If true, the strings should be clipped to fit the line</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteConnector(System.String)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteConnector(System.String)"> <summary> Writes the text for a connector. </summary> <param name="connector">The connector.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WritePredicate(System.String)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WritePredicate(System.String)"> <summary> Writes the text for a predicate. </summary> <param name="predicate">The predicate.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteModifier(System.String)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteExpectedValue(System.Object)"> <summary> - Write the text for a modifier. + Writes the text for an expected value. </summary> - <param name="modifier">The modifier.</param> + <param name="expected">The expected value.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedValue(System.Object)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteModifier(System.String)"> <summary> - Writes the text for an expected value. + Writes the text for a modifier </summary> - <param name="expected">The expected value.</param> + <param name="modifier">The modifier.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteActualValue(System.Object)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteActualValue(System.Object)"> <summary> Writes the text for an actual value. </summary> <param name="actual">The actual value.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteValue(System.Object)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteValue(System.Object)"> <summary> Writes the text for a generalized value. </summary> <param name="val">The value.</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteCollectionElements(System.Collections.ICollection,System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.MessageWriter.WriteCollectionElements(System.Collections.IEnumerable,System.Int32,System.Int32)"> <summary> Writes the text for a collection value, starting at a particular point, to a max length @@ -5168,2372 +3998,1525 @@ <param name="start">The starting point of the elements to write</param> <param name="max">The maximum number of elements to write</param> </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(NUnit.Framework.Constraints.Constraint)"> - <summary> - Write the generic 'Expected' line for a constraint - </summary> - <param name="constraint">The constraint that failed</param> - </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(System.Object)"> - <summary> - Write the generic 'Expected' line for a given value - </summary> - <param name="expected">The expected value</param> - </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(System.Object,NUnit.Framework.Constraints.Tolerance)"> - <summary> - Write the generic 'Expected' line for a given value - and tolerance. - </summary> - <param name="expected">The expected value</param> - <param name="tolerance">The tolerance within which the test was made</param> - </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteActualLine(NUnit.Framework.Constraints.Constraint)"> - <summary> - Write the generic 'Actual' line for a constraint - </summary> - <param name="constraint">The constraint for which the actual value is to be written</param> - </member> - <member name="M:NUnit.Framework.TextMessageWriter.WriteActualLine(System.Object)"> - <summary> - Write the generic 'Actual' line for a given value - </summary> - <param name="actual">The actual value causing a failure</param> - </member> - <member name="P:NUnit.Framework.TextMessageWriter.MaxLineLength"> - <summary> - Gets or sets the maximum line length for this writer - </summary> - </member> - <member name="T:NUnit.Framework.AssertionHelper"> - <summary> - AssertionHelper is an optional base class for user tests, - allowing the use of shorter names for constraints and - asserts and avoiding conflict with the definition of - <see cref="T:NUnit.Framework.Is"/>, from which it inherits much of its - behavior, in certain mock object frameworks. - </summary> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. Works - identically to <see cref="M:NUnit.Framework.Assert.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"/> - </summary> - <param name="constraint">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. Works - identically to <see cref="M:NUnit.Framework.Assert.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"/> - </summary> - <param name="constraint">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. Works - identically to <see cref="M:NUnit.Framework.Assert.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"/> - </summary> - <param name="constraint">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="expr">A Constraint expression to be applied</param> - <param name="del">An ActualValueDelegate returning the value to be tested</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="expr">A Constraint expression to be applied</param> - <param name="del">An ActualValueDelegate returning the value to be tested</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> - <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="del">An ActualValueDelegate returning the value to be tested</param> - <param name="expr">A Constraint expression to be applied</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint)"> - <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="constraint">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> - <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="constraint">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> - <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an assertion exception on failure. - </summary> - <param name="expression">A Constraint to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean,System.String,System.Object[])"> - <summary> - Asserts that a condition is true. If the condition is false the method throws - an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically to - <see cref="M:NUnit.Framework.Assert.That(System.Boolean,System.String,System.Object[])"/>. - </summary> - <param name="condition">The evaluated condition</param> - <param name="message">The message to display if the condition is false</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean,System.String)"> + <member name="P:NUnit.Framework.Constraints.MessageWriter.MaxLineLength"> <summary> - Asserts that a condition is true. If the condition is false the method throws - an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically to - <see cref="M:NUnit.Framework.Assert.That(System.Boolean,System.String)"/>. + Abstract method to get the max line length </summary> - <param name="condition">The evaluated condition</param> - <param name="message">The message to display if the condition is false</param> </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean)"> + <member name="T:NUnit.Framework.Constraints.MsgUtils"> <summary> - Asserts that a condition is true. If the condition is false the method throws - an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically to <see cref="M:NUnit.Framework.Assert.That(System.Boolean)"/>. + Static methods used in creating messages </summary> - <param name="condition">The evaluated condition</param> </member> - <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.TestDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <member name="F:NUnit.Framework.Constraints.MsgUtils.ELLIPSIS"> <summary> - Asserts that the code represented by a delegate throws an exception - that satisfies the constraint provided. + Static string used when strings are clipped </summary> - <param name="code">A TestDelegate to be executed</param> - <param name="constraint">A ThrowsConstraint used in the test</param> </member> - <member name="M:NUnit.Framework.AssertionHelper.Map(System.Collections.ICollection)"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.GetTypeRepresentation(System.Object)"> <summary> - Returns a ListMapper based on a collection. + Returns the representation of a type as used in NUnitLite. + This is the same as Type.ToString() except for arrays, + which are displayed with their declared sizes. </summary> - <param name="original">The original collection</param> + <param name="obj"></param> <returns></returns> </member> - <member name="T:NUnit.Framework.IncludeExcludeAttribute"> - <summary> - Abstract base for Attributes that are used to include tests - in the test run based on environmental settings. - </summary> - </member> - <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor"> - <summary> - Constructor with no included items specified, for use - with named property syntax. - </summary> - </member> - <member name="M:NUnit.Framework.IncludeExcludeAttribute.#ctor(System.String)"> - <summary> - Constructor taking one or more included items - </summary> - <param name="include">Comma-delimited list of included items</param> - </member> - <member name="P:NUnit.Framework.IncludeExcludeAttribute.Include"> - <summary> - Name of the item that is needed in order for - a test to run. Multiple itemss may be given, - separated by a comma. - </summary> - </member> - <member name="P:NUnit.Framework.IncludeExcludeAttribute.Exclude"> - <summary> - Name of the item to be excluded. Multiple items - may be given, separated by a comma. - </summary> - </member> - <member name="P:NUnit.Framework.IncludeExcludeAttribute.Reason"> - <summary> - The reason for including or excluding the test - </summary> - </member> - <member name="T:NUnit.Framework.PlatformAttribute"> - <summary> - PlatformAttribute is used to mark a test fixture or an - individual method as applying to a particular platform only. - </summary> - </member> - <member name="M:NUnit.Framework.PlatformAttribute.#ctor"> - <summary> - Constructor with no platforms specified, for use - with named property syntax. - </summary> - </member> - <member name="M:NUnit.Framework.PlatformAttribute.#ctor(System.String)"> - <summary> - Constructor taking one or more platforms - </summary> - <param name="platforms">Comma-deliminted list of platforms</param> - </member> - <member name="T:NUnit.Framework.CultureAttribute"> - <summary> - CultureAttribute is used to mark a test fixture or an - individual method as applying to a particular Culture only. - </summary> - </member> - <member name="M:NUnit.Framework.CultureAttribute.#ctor"> - <summary> - Constructor with no cultures specified, for use - with named property syntax. - </summary> - </member> - <member name="M:NUnit.Framework.CultureAttribute.#ctor(System.String)"> - <summary> - Constructor taking one or more cultures - </summary> - <param name="cultures">Comma-deliminted list of cultures</param> - </member> - <member name="T:NUnit.Framework.SetCultureAttribute"> - <summary> - Summary description for SetCultureAttribute. - </summary> - </member> - <member name="M:NUnit.Framework.SetCultureAttribute.#ctor(System.String)"> - <summary> - Construct given the name of a culture - </summary> - <param name="culture"></param> - </member> - <member name="T:NUnit.Framework.GlobalSettings"> - <summary> - GlobalSettings is a place for setting default values used - by the framework in performing asserts. - </summary> - </member> - <member name="F:NUnit.Framework.GlobalSettings.DefaultFloatingPointTolerance"> - <summary> - Default tolerance for floating point equality - </summary> - </member> - <member name="T:NUnit.Framework.DirectoryAssert"> - <summary> - Summary description for DirectoryAssert - </summary> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.Equals(System.Object,System.Object)"> - <summary> - The Equals method throws an AssertionException. This is done - to make sure there is no mistake by calling this function. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.ReferenceEquals(System.Object,System.Object)"> - <summary> - override the default ReferenceEquals to throw an AssertionException. This - implementation makes sure there is no mistake in calling this function - as part of Assert. - </summary> - <param name="a"></param> - <param name="b"></param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.#ctor"> - <summary> - We don't actually want any instances of this object, but some people - like to inherit from it to add other static methods. Hence, the - protected constructor disallows any instances of this object. - </summary> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String,System.String,System.Object[])"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String,System.String)"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String)"> - <summary> - Verifies that two directories are equal. Two directories are considered - equal if both are null, or if both have the same value byte for byte. - If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - <param name="message">The message to display if directories are not equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory containing the value that is expected</param> - <param name="actual">A directory containing the actual value</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String,System.String,System.Object[])"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - <param name="message">The message to display if directories are equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String,System.String)"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - <param name="message">The message to display if directories are equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String)"> - <summary> - Asserts that two directories are not equal. If they are equal - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="expected">A directory path string containing the value that is expected</param> - <param name="actual">A directory path string containing the actual value</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo,System.String,System.Object[])"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo,System.String)"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo)"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String,System.String,System.Object[])"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String,System.String)"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String)"> - <summary> - Asserts that the directory is empty. If it is not empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo,System.String,System.Object[])"> - <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. - </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo,System.String)"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.EscapeControlChars(System.String)"> <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Converts any control characters in a string + to their escaped representation. </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> + <param name="s">The string to be converted</param> + <returns>The converted string</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesAsString(System.Int32[])"> <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Return the a string representation for a set of indices into an array </summary> - <param name="directory">A directory to search</param> + <param name="indices">Array of indices for which a string is needed</param> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.GetArrayIndicesFromCollectionIndex(System.Collections.IEnumerable,System.Int32)"> <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Get an array of indices representing the point in a enumerable, + collection or array corresponding to a single int index into the + collection. </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="collection">The collection to which the indices apply</param> + <param name="index">Index in the collection</param> + <returns>Array of indices</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.ClipString(System.String,System.Int32,System.Int32)"> <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Clip a string to a given length, starting at a particular offset, returning the clipped + string with ellipses representing the removed parts </summary> - <param name="directory">A directory to search</param> - <param name="message">The message to display if directories are not equal</param> + <param name="s">The string to be clipped</param> + <param name="maxStringLength">The maximum permitted length of the result string</param> + <param name="clipStart">The point at which to start clipping</param> + <returns>The clipped string</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String)"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.ClipExpectedAndActual(System.String@,System.String@,System.Int32,System.Int32)"> <summary> - Asserts that the directory is not empty. If it is empty - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Clip the expected and actual strings in a coordinated fashion, + so that they may be displayed together. </summary> - <param name="directory">A directory to search</param> + <param name="expected"></param> + <param name="actual"></param> + <param name="maxDisplayLength"></param> + <param name="mismatch"></param> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.MsgUtils.FindMismatchPosition(System.String,System.String,System.Int32,System.Boolean)"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Shows the position two strings start to differ. Comparison + starts at the start index. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + <param name="istart">The index in the strings at which comparison should start</param> + <param name="ignoreCase">Boolean indicating whether case should be ignored</param> + <returns>-1 if no mismatch found, or the index where mismatch found</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <member name="T:NUnit.Framework.Constraints.Numerics"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + The Numerics class contains common operations on numeric values. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.Numerics.IsNumericType(System.Object)"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Checks the type of the object, returning true if + the object is a numeric type. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> + <param name="obj">The object to check</param> + <returns>true if the object is a numeric type</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.Numerics.IsFloatingPointNumeric(System.Object)"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Checks the type of the object, returning true if + the object is a floating point numeric type. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="obj">The object to check</param> + <returns>true if the object is a floating point numeric type</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.Numerics.IsFixedPointNumeric(System.Object)"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Checks the type of the object, returning true if + the object is a fixed point numeric type. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> + <param name="obj">The object to check</param> + <returns>true if the object is a fixed point numeric type</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.Numerics.AreEqual(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance@)"> <summary> - Asserts that path contains actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Test two numeric values for equality, performing the usual numeric + conversions and using a provided or default tolerance. If the tolerance + provided is Empty, this method may set it to a default tolerance. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> + <param name="expected">The expected value</param> + <param name="actual">The actual value</param> + <param name="tolerance">A reference to the tolerance in effect</param> + <returns>True if the values are equal</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.Numerics.Compare(System.Object,System.Object)"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Compare two numeric values, performing the usual numeric conversions. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="expected">The expected value</param> + <param name="actual">The actual value</param> + <returns>The relationship of the values to each other</returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <member name="T:NUnit.Framework.Constraints.NUnitComparer"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + NUnitComparer encapsulates NUnit's default behavior + in comparing two objects. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <member name="M:NUnit.Framework.Constraints.NUnitComparer.Compare(System.Object,System.Object)"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Compares two objects </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> + <param name="x"></param> + <param name="y"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String,System.String,System.Object[])"> + <member name="P:NUnit.Framework.Constraints.NUnitComparer.Default"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Returns the default NUnitComparer. </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> - <param name="args">Arguments to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String,System.String)"> + <member name="T:NUnit.Framework.Constraints.NUnitComparer`1"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Generic version of NUnitComparer </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> - <param name="message">The message to display if directory is not within the path</param> + <typeparam name="T"></typeparam> </member> - <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.NUnitComparer`1.Compare(`0,`0)"> <summary> - Asserts that path does not contain actual as a subdirectory or - an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + Compare two objects of the same type </summary> - <param name="directory">A directory to search</param> - <param name="actual">sub-directory asserted to exist under directory</param> </member> - <member name="T:NUnit.Framework.TestCaseAttribute"> + <member name="T:NUnit.Framework.Constraints.NUnitEqualityComparer"> <summary> - TestCaseAttribute is used to mark parameterized test cases - and provide them with their arguments. + NUnitEqualityComparer encapsulates NUnit's handling of + equality tests between objects. </summary> </member> - <member name="T:NUnit.Framework.ITestCaseData"> + <member name="T:NUnit.Framework.INUnitEqualityComparer"> <summary> - The ITestCaseData interface is implemented by a class - that is able to return complete testcases for use by - a parameterized test method. - NOTE: This interface is used in both the framework - and the core, even though that results in two different - types. However, sharing the source code guarantees that - the various implementations will be compatible and that - the core is able to reflect successfully over the - framework implementations of ITestCaseData. - </summary> - </member> - <member name="P:NUnit.Framework.ITestCaseData.Arguments"> - <summary> - Gets the argument list to be provided to the test </summary> </member> - <member name="P:NUnit.Framework.ITestCaseData.Result"> + <member name="M:NUnit.Framework.INUnitEqualityComparer.AreEqual(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance@)"> <summary> - Gets the expected result + Compares two objects for equality within a tolerance </summary> + <param name="x">The first object to compare</param> + <param name="y">The second object to compare</param> + <param name="tolerance">The tolerance to use in the comparison</param> + <returns></returns> </member> - <member name="P:NUnit.Framework.ITestCaseData.ExpectedException"> - <summary> - Gets the expected exception Type - </summary> - </member> - <member name="P:NUnit.Framework.ITestCaseData.ExpectedExceptionName"> - <summary> - Gets the FullName of the expected exception - </summary> - </member> - <member name="P:NUnit.Framework.ITestCaseData.TestName"> - <summary> - Gets the name to be used for the test - </summary> - </member> - <member name="P:NUnit.Framework.ITestCaseData.Description"> - <summary> - Gets the description of the test - </summary> - </member> - <member name="P:NUnit.Framework.ITestCaseData.Ignored"> - <summary> - Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored. - </summary> - <value><c>true</c> if ignored; otherwise, <c>false</c>.</value> - </member> - <member name="P:NUnit.Framework.ITestCaseData.IgnoreReason"> - <summary> - Gets the ignore reason. - </summary> - <value>The ignore reason.</value> - </member> - <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object[])"> - <summary> - Construct a TestCaseAttribute with a list of arguments. - This constructor is not CLS-Compliant - </summary> - <param name="arguments"></param> - </member> - <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object)"> - <summary> - Construct a TestCaseAttribute with a single argument - </summary> - <param name="arg"></param> - </member> - <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object)"> - <summary> - Construct a TestCaseAttribute with a two arguments - </summary> - <param name="arg1"></param> - <param name="arg2"></param> - </member> - <member name="M:NUnit.Framework.TestCaseAttribute.#ctor(System.Object,System.Object,System.Object)"> - <summary> - Construct a TestCaseAttribute with a three arguments - </summary> - <param name="arg1"></param> - <param name="arg2"></param> - <param name="arg3"></param> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.Arguments"> - <summary> - Gets the list of arguments to a test case - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.Result"> - <summary> - Gets or sets the expected result. - </summary> - <value>The result.</value> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedException"> - <summary> - Gets or sets the expected exception. - </summary> - <value>The expected exception.</value> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedExceptionName"> - <summary> - Gets or sets the name the expected exception. - </summary> - <value>The expected name of the exception.</value> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.ExpectedMessage"> - <summary> - Gets or sets the expected message of the expected exception - </summary> - <value>The expected message of the exception.</value> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.MatchType"> - <summary> - Gets or sets the type of match to be performed on the expected message - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.Description"> - <summary> - Gets or sets the description. - </summary> - <value>The description.</value> - </member> - <member name="P:NUnit.Framework.TestCaseAttribute.TestName"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.caseInsensitive"> <summary> - Gets or sets the name of the test. + If true, all string comparisons will ignore case </summary> - <value>The name of the test.</value> </member> - <member name="P:NUnit.Framework.TestCaseAttribute.Ignore"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.compareAsCollection"> <summary> - Gets or sets the ignored status of the test + If true, arrays will be treated as collections, allowing + those of different dimensions to be compared </summary> </member> - <member name="P:NUnit.Framework.TestCaseAttribute.Ignored"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.externalComparers"> <summary> - Gets or sets the ignored status of the test + Comparison objects used in comparisons for some constraints. </summary> </member> - <member name="P:NUnit.Framework.TestCaseAttribute.IgnoreReason"> + <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.AreEqual(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance@)"> <summary> - Gets the ignore reason. + Compares two objects for equality within a tolerance. </summary> - <value>The ignore reason.</value> </member> - <member name="T:NUnit.Framework.TestCaseData"> + <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.ArraysEqual(System.Array,System.Array,NUnit.Framework.Constraints.Tolerance@)"> <summary> - The TestCaseData class represents a set of arguments - and other parameter info to be used for a parameterized - test case. It provides a number of instance modifiers - for use in initializing the test case. - - Note: Instance modifiers are getters that return - the same instance after modifying it's state. + Helper method to compare two arrays </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.arguments"> + <member name="M:NUnit.Framework.Constraints.NUnitEqualityComparer.DirectoriesEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> <summary> - The argument list to be provided to the test + Method to compare two DirectoryInfo objects </summary> + <param name="x">first directory to compare</param> + <param name="y">second directory to compare</param> + <returns>true if equivalent, false if not</returns> </member> - <member name="F:NUnit.Framework.TestCaseData.result"> + <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.Default"> <summary> - The expected result to be returned + Returns the default NUnitEqualityComparer </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.expectedExceptionType"> + <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.IgnoreCase"> <summary> - The expected exception Type + Gets and sets a flag indicating whether case should + be ignored in determining equality. </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.expectedExceptionName"> + <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.CompareAsCollection"> <summary> - The FullName of the expected exception + Gets and sets a flag indicating that arrays should be + compared as collections, without regard to their shape. </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.testName"> + <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.ExternalComparers"> <summary> - The name to be used for the test + Gets and sets an external comparer to be used to + test for equality. It is applied to members of + collections, in place of NUnit's own logic. </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.description"> + <member name="P:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoints"> <summary> - The description of the test + Gets the list of failure points for the last Match performed. </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.properties"> + <member name="T:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint"> <summary> - A dictionary of properties, used to add information - to tests without requiring the class to change. + FailurePoint class represents one point of failure + in an equality test. </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.isIgnored"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint.Position"> <summary> - If true, indicates that the test case is to be ignored + The location of the failure </summary> </member> - <member name="F:NUnit.Framework.TestCaseData.ignoreReason"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint.ExpectedValue"> <summary> - The reason for ignoring a test case + The expected value </summary> </member> - <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object[])"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint.ActualValue"> <summary> - Initializes a new instance of the <see cref="T:TestCaseData"/> class. + The actual value </summary> - <param name="args">The arguments.</param> </member> - <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object)"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint.ExpectedHasData"> <summary> - Initializes a new instance of the <see cref="T:TestCaseData"/> class. + Indicates whether the expected value is valid </summary> - <param name="arg">The argument.</param> </member> - <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object,System.Object)"> + <member name="F:NUnit.Framework.Constraints.NUnitEqualityComparer.FailurePoint.ActualHasData"> <summary> - Initializes a new instance of the <see cref="T:TestCaseData"/> class. + Indicates whether the actual value is valid </summary> - <param name="arg1">The first argument.</param> - <param name="arg2">The second argument.</param> </member> - <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object,System.Object,System.Object)"> + <member name="T:NUnit.Framework.Constraints.PathConstraint"> <summary> - Initializes a new instance of the <see cref="T:TestCaseData"/> class. + PathConstraint serves as the abstract base of constraints + that operate on paths and provides several helper methods. </summary> - <param name="arg1">The first argument.</param> - <param name="arg2">The second argument.</param> - <param name="arg3">The third argument.</param> </member> - <member name="M:NUnit.Framework.TestCaseData.Returns(System.Object)"> + <member name="F:NUnit.Framework.Constraints.PathConstraint.expectedPath"> <summary> - Sets the expected result for the test + The expected path used in the constraint </summary> - <param name="result">The expected result</param> - <returns>A modified TestCaseData</returns> </member> - <member name="M:NUnit.Framework.TestCaseData.Throws(System.Type)"> + <member name="F:NUnit.Framework.Constraints.PathConstraint.actualPath"> <summary> - Sets the expected exception type for the test + The actual path being tested </summary> - <param name="exceptionType">Type of the expected exception.</param> - <returns>The modified TestCaseData instance</returns> </member> - <member name="M:NUnit.Framework.TestCaseData.Throws(System.String)"> + <member name="F:NUnit.Framework.Constraints.PathConstraint.caseInsensitive"> <summary> - Sets the expected exception type for the test + Flag indicating whether a caseInsensitive comparison should be made </summary> - <param name="exceptionName">FullName of the expected exception.</param> - <returns>The modified TestCaseData instance</returns> </member> - <member name="M:NUnit.Framework.TestCaseData.SetName(System.String)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.#ctor(System.String)"> <summary> - Sets the name of the test case + Construct a PathConstraint for a give expected path </summary> - <returns>The modified TestCaseData instance</returns> + <param name="expected">The expected path</param> </member> - <member name="M:NUnit.Framework.TestCaseData.SetDescription(System.String)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.Matches(System.Object)"> <summary> - Sets the description for the test case - being constructed. + Test whether the constraint is satisfied by a given value </summary> - <param name="description">The description.</param> - <returns>The modified TestCaseData instance.</returns> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.TestCaseData.SetCategory(System.String)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.IsMatch(System.String,System.String)"> <summary> - Applies a category to the test + Returns true if the expected path and actual path match </summary> - <param name="category"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.String)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.GetStringRepresentation"> <summary> - Applies a named property to the test + Returns the string representation of this constraint </summary> - <param name="propName"></param> - <param name="propValue"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.Canonicalize(System.String)"> <summary> - Applies a named property to the test + Canonicalize the provided path </summary> - <param name="propName"></param> - <param name="propValue"></param> - <returns></returns> + <param name="path"></param> + <returns>The path in standardized form</returns> </member> - <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.Double)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.IsSamePath(System.String,System.String,System.Boolean)"> <summary> - Applies a named property to the test + Test whether two paths are the same </summary> - <param name="propName"></param> - <param name="propValue"></param> + <param name="path1">The first path</param> + <param name="path2">The second path</param> + <param name="ignoreCase">Indicates whether case should be ignored</param> <returns></returns> </member> - <member name="M:NUnit.Framework.TestCaseData.Ignore"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.IsSubPath(System.String,System.String,System.Boolean)"> <summary> - Ignores this TestCase. + Test whether one path is under another path </summary> + <param name="path1">The first path - supposed to be the parent path</param> + <param name="path2">The second path - supposed to be the child path</param> + <param name="ignoreCase">Indicates whether case should be ignored</param> <returns></returns> </member> - <member name="M:NUnit.Framework.TestCaseData.Ignore(System.String)"> + <member name="M:NUnit.Framework.Constraints.PathConstraint.IsSamePathOrUnder(System.String,System.String)"> <summary> - Ignores this TestCase, specifying the reason. + Test whether one path is the same as or under another path </summary> - <param name="reason">The reason.</param> + <param name="path1">The first path - supposed to be the parent path</param> + <param name="path2">The second path - supposed to be the child path</param> <returns></returns> </member> - <member name="P:NUnit.Framework.TestCaseData.Arguments"> - <summary> - Gets the argument list to be provided to the test - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.Result"> - <summary> - Gets the expected result - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.ExpectedException"> - <summary> - Gets the expected exception Type - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.ExpectedExceptionName"> - <summary> - Gets the FullName of the expected exception - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.TestName"> - <summary> - Gets the name to be used for the test - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.Description"> - <summary> - Gets the description of the test - </summary> - </member> - <member name="P:NUnit.Framework.TestCaseData.Ignored"> - <summary> - Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored. - </summary> - <value><c>true</c> if ignored; otherwise, <c>false</c>.</value> - </member> - <member name="P:NUnit.Framework.TestCaseData.IgnoreReason"> - <summary> - Gets the ignore reason. - </summary> - <value>The ignore reason.</value> - </member> - <member name="P:NUnit.Framework.TestCaseData.Categories"> + <member name="P:NUnit.Framework.Constraints.PathConstraint.IgnoreCase"> <summary> - Gets a list of categories associated with this test. + Modifies the current instance to be case-insensitve + and returns it. </summary> </member> - <member name="P:NUnit.Framework.TestCaseData.Properties"> + <member name="P:NUnit.Framework.Constraints.PathConstraint.RespectCase"> <summary> - Gets the property dictionary for this test + Modifies the current instance to be case-sensitve + and returns it. </summary> </member> - <member name="T:NUnit.Framework.SuccessException"> + <member name="T:NUnit.Framework.Constraints.SamePathConstraint"> <summary> - Thrown when an assertion failed. + Summary description for SamePathConstraint. </summary> </member> - <member name="M:NUnit.Framework.SuccessException.#ctor(System.String)"> - <param name="message"></param> - </member> - <member name="M:NUnit.Framework.SuccessException.#ctor(System.String,System.Exception)"> - <param name="message">The error message that explains - the reason for the exception</param> - <param name="inner">The exception that caused the - current exception</param> - </member> - <member name="M:NUnit.Framework.SuccessException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> + <member name="M:NUnit.Framework.Constraints.SamePathConstraint.#ctor(System.String)"> <summary> - Serialization Constructor + Initializes a new instance of the <see cref="T:SamePathConstraint"/> class. </summary> + <param name="expected">The expected path</param> </member> - <member name="T:NUnit.Framework.InconclusiveException"> + <member name="M:NUnit.Framework.Constraints.SamePathConstraint.IsMatch(System.String,System.String)"> <summary> - Thrown when a test executes inconclusively. + Test whether the constraint is satisfied by a given value </summary> - - </member> - <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.String)"> - <param name="message">The error message that explains - the reason for the exception</param> - </member> - <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.String,System.Exception)"> - <param name="message">The error message that explains - the reason for the exception</param> - <param name="inner">The exception that caused the - current exception</param> + <param name="expectedPath">The expected path</param> + <param name="actualPath">The actual path</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> + <member name="M:NUnit.Framework.Constraints.SamePathConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Serialization Constructor + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.TestFixtureSetUpAttribute"> + <member name="T:NUnit.Framework.Constraints.SubPathConstraint"> <summary> - Attribute used to identify a method that is - called before any tests in a fixture are run. + SubPathConstraint tests that the actual path is under the expected path </summary> </member> - <member name="T:NUnit.Framework.TestFixtureTearDownAttribute"> + <member name="M:NUnit.Framework.Constraints.SubPathConstraint.#ctor(System.String)"> <summary> - Attribute used to identify a method that is called after - all the tests in a fixture have run. The method is - guaranteed to be called, even if an exception is thrown. + Initializes a new instance of the <see cref="T:SubPathConstraint"/> class. </summary> + <param name="expected">The expected path</param> </member> - <member name="T:NUnit.Framework.CategoryAttribute"> + <member name="M:NUnit.Framework.Constraints.SubPathConstraint.IsMatch(System.String,System.String)"> <summary> - Attribute used to apply a category to a test + Test whether the constraint is satisfied by a given value </summary> + <param name="expectedPath">The expected path</param> + <param name="actualPath">The actual path</param> + <returns>True for success, false for failure</returns> </member> - <member name="F:NUnit.Framework.CategoryAttribute.categoryName"> + <member name="M:NUnit.Framework.Constraints.SubPathConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - The name of the category + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.CategoryAttribute.#ctor(System.String)"> + <member name="T:NUnit.Framework.Constraints.SamePathOrUnderConstraint"> <summary> - Construct attribute for a given category + SamePathOrUnderConstraint tests that one path is under another </summary> - <param name="name">The name of the category</param> </member> - <member name="M:NUnit.Framework.CategoryAttribute.#ctor"> + <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.#ctor(System.String)"> <summary> - Protected constructor uses the Type name as the name - of the category. + Initializes a new instance of the <see cref="T:SamePathOrUnderConstraint"/> class. </summary> + <param name="expected">The expected path</param> </member> - <member name="P:NUnit.Framework.CategoryAttribute.Name"> + <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.IsMatch(System.String,System.String)"> <summary> - The name of the category + Test whether the constraint is satisfied by a given value </summary> + <param name="expectedPath">The expected path</param> + <param name="actualPath">The actual path</param> + <returns>True for success, false for failure</returns> </member> - <member name="T:NUnit.Framework.ExplicitAttribute"> + <member name="M:NUnit.Framework.Constraints.SamePathOrUnderConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - ExplicitAttribute marks a test or test fixture so that it will - only be run if explicitly executed from the gui or command line - or if it is included by use of a filter. The test will not be - run simply because an enclosing suite is run. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.ExplicitAttribute.#ctor"> + <member name="T:NUnit.Framework.Constraints.PredicateConstraint`1"> <summary> - Default constructor + Predicate constraint wraps a Predicate in a constraint, + returning success if the predicate is true. </summary> </member> - <member name="M:NUnit.Framework.ExplicitAttribute.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.#ctor(System.Predicate{`0})"> <summary> - Constructor with a reason + Construct a PredicateConstraint from a predicate </summary> - <param name="reason">The reason test is marked explicit</param> </member> - <member name="P:NUnit.Framework.ExplicitAttribute.Reason"> + <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.Matches(System.Object)"> <summary> - The reason test is marked explicit + Determines whether the predicate succeeds when applied + to the actual value. </summary> </member> - <member name="T:NUnit.Framework.AssertionException"> + <member name="M:NUnit.Framework.Constraints.PredicateConstraint`1.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Thrown when an assertion failed. + Writes the description to a MessageWriter </summary> - - </member> - <member name="M:NUnit.Framework.AssertionException.#ctor(System.String)"> - <param name="message">The error message that explains - the reason for the exception</param> </member> - <member name="M:NUnit.Framework.AssertionException.#ctor(System.String,System.Exception)"> - <param name="message">The error message that explains - the reason for the exception</param> - <param name="inner">The exception that caused the - current exception</param> - </member> - <member name="M:NUnit.Framework.AssertionException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> + <member name="T:NUnit.Framework.Constraints.NotConstraint"> <summary> - Serialization Constructor + NotConstraint negates the effect of some other constraint </summary> </member> - <member name="T:NUnit.Framework.IgnoreException"> + <member name="M:NUnit.Framework.Constraints.NotConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> <summary> - Thrown when an assertion failed. + Initializes a new instance of the <see cref="T:NotConstraint"/> class. </summary> + <param name="baseConstraint">The base constraint to be negated.</param> </member> - <member name="M:NUnit.Framework.IgnoreException.#ctor(System.String)"> - <param name="message"></param> - </member> - <member name="M:NUnit.Framework.IgnoreException.#ctor(System.String,System.Exception)"> - <param name="message">The error message that explains - the reason for the exception</param> - <param name="inner">The exception that caused the - current exception</param> - </member> - <member name="M:NUnit.Framework.IgnoreException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> + <member name="M:NUnit.Framework.Constraints.NotConstraint.Matches(System.Object)"> <summary> - Serialization Constructor + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for if the base constraint fails, false if it succeeds</returns> </member> - <member name="T:NUnit.Framework.MessageMatch"> + <member name="M:NUnit.Framework.Constraints.NotConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Enumeration indicating how the expected message parameter is to be used + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="F:NUnit.Framework.MessageMatch.Exact"> - Expect an exact match - </member> - <member name="F:NUnit.Framework.MessageMatch.Contains"> - Expect a message containing the parameter string - </member> - <member name="F:NUnit.Framework.MessageMatch.Regex"> - Match the regular expression provided as a parameter - </member> - <member name="F:NUnit.Framework.MessageMatch.StartsWith"> - Expect a message that starts with the parameter string - </member> - <member name="T:NUnit.Framework.ExpectedExceptionAttribute"> + <member name="M:NUnit.Framework.Constraints.NotConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - ExpectedExceptionAttribute + Write the actual value for a failing constraint test to a MessageWriter. </summary> - + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor"> + <member name="T:NUnit.Framework.Constraints.AllItemsConstraint"> <summary> - Constructor for a non-specific exception + AllItemsConstraint applies another constraint to each + item in a collection, succeeding if they all succeed. </summary> </member> - <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.Type)"> + <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> <summary> - Constructor for a given type of exception + Construct an AllItemsConstraint on top of an existing constraint </summary> - <param name="exceptionType">The type of the expected exception</param> + <param name="itemConstraint"></param> </member> - <member name="M:NUnit.Framework.ExpectedExceptionAttribute.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.Matches(System.Object)"> <summary> - Constructor for a given exception name + Apply the item constraint to each item in the collection, + failing if any item fails. </summary> - <param name="exceptionName">The full name of the expected exception</param> + <param name="actual"></param> + <returns></returns> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedException"> + <member name="M:NUnit.Framework.Constraints.AllItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Gets or sets the expected exception type + Write a description of this constraint to a MessageWriter </summary> + <param name="writer"></param> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedExceptionName"> + <member name="T:NUnit.Framework.Constraints.SomeItemsConstraint"> <summary> - Gets or sets the full Type name of the expected exception + SomeItemsConstraint applies another constraint to each + item in a collection, succeeding if any of them succeeds. </summary> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.ExpectedMessage"> + <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> <summary> - Gets or sets the expected message text + Construct a SomeItemsConstraint on top of an existing constraint </summary> + <param name="itemConstraint"></param> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.UserMessage"> + <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.Matches(System.Object)"> <summary> - Gets or sets the user message displayed in case of failure + Apply the item constraint to each item in the collection, + succeeding if any item succeeds. </summary> + <param name="actual"></param> + <returns></returns> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.MatchType"> + <member name="M:NUnit.Framework.Constraints.SomeItemsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Gets or sets the type of match to be performed on the expected message + Write a description of this constraint to a MessageWriter </summary> + <param name="writer"></param> </member> - <member name="P:NUnit.Framework.ExpectedExceptionAttribute.Handler"> + <member name="T:NUnit.Framework.Constraints.NoItemConstraint"> <summary> - Gets the name of a method to be used as an exception handler + NoItemConstraint applies another constraint to each + item in a collection, failing if any of them succeeds. </summary> </member> - <member name="T:NUnit.Framework.IgnoreAttribute"> + <member name="M:NUnit.Framework.Constraints.NoItemConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> <summary> - Attribute used to mark a test that is to be ignored. - Ignored tests result in a warning message when the - tests are run. + Construct a SomeItemsConstraint on top of an existing constraint </summary> + <param name="itemConstraint"></param> </member> - <member name="M:NUnit.Framework.IgnoreAttribute.#ctor"> + <member name="M:NUnit.Framework.Constraints.NoItemConstraint.Matches(System.Object)"> <summary> - Constructs the attribute without giving a reason - for ignoring the test. + Apply the item constraint to each item in the collection, + failing if any item fails. </summary> + <param name="actual"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.IgnoreAttribute.#ctor(System.String)"> + <member name="M:NUnit.Framework.Constraints.NoItemConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Constructs the attribute giving a reason for ignoring the test + Write a description of this constraint to a MessageWriter </summary> - <param name="reason">The reason for ignoring the test</param> + <param name="writer"></param> </member> - <member name="P:NUnit.Framework.IgnoreAttribute.Reason"> + <member name="T:NUnit.Framework.Constraints.ExactCountConstraint"> <summary> - The reason for ignoring a test + ExactCoutConstraint applies another constraint to each + item in a collection, succeeding only if a specified + number of items succeed. </summary> </member> - <member name="T:NUnit.Framework.SetUpAttribute"> + <member name="M:NUnit.Framework.Constraints.ExactCountConstraint.#ctor(System.Int32,NUnit.Framework.Constraints.Constraint)"> <summary> - Attribute used to mark a class that contains one-time SetUp - and/or TearDown methods that apply to all the tests in a - namespace or an assembly. + Construct an ExactCountConstraint on top of an existing constraint </summary> + <param name="expectedCount"></param> + <param name="itemConstraint"></param> </member> - <member name="T:NUnit.Framework.SuiteAttribute"> + <member name="M:NUnit.Framework.Constraints.ExactCountConstraint.Matches(System.Object)"> <summary> - Attribute used to mark a static (shared in VB) property - that returns a list of tests. + Apply the item constraint to each item in the collection, + succeeding only if the expected number of items pass. </summary> + <param name="actual"></param> + <returns></returns> </member> - <member name="T:NUnit.Framework.TearDownAttribute"> + <member name="M:NUnit.Framework.Constraints.ExactCountConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Attribute used to identify a method that is called - immediately after each test is run. The method is - guaranteed to be called, even if an exception is thrown. + Write a description of this constraint to a MessageWriter </summary> + <param name="writer"></param> </member> - <member name="T:NUnit.Framework.TestAttribute"> + <member name="T:NUnit.Framework.Constraints.PropertyExistsConstraint"> <summary> - Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/> - class makes the method callable from the NUnit test runner. There is a property - called Description which is optional which you can provide a more detailed test - description. This class cannot be inherited. - </summary> - - <example> - [TestFixture] - public class Fixture - { - [Test] - public void MethodToTest() - {} - - [Test(Description = "more detailed description")] - publc void TestDescriptionMethod() - {} - } - </example> + PropertyExistsConstraint tests that a named property + exists on the object provided through Match. - </member> - <member name="P:NUnit.Framework.TestAttribute.Description"> - <summary> - Descriptive text for this test - </summary> - </member> - <member name="T:NUnit.Framework.TestFixtureAttribute"> - <example> - [TestFixture] - public class ExampleClass - {} - </example> - </member> - <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor"> - <summary> - Default constructor - </summary> - </member> - <member name="M:NUnit.Framework.TestFixtureAttribute.#ctor(System.Object[])"> - <summary> - Construct with a object[] representing a set of arguments. - In .NET 2.0, the arguments may later be separated into - type arguments and constructor arguments. - </summary> - <param name="arguments"></param> - </member> - <member name="P:NUnit.Framework.TestFixtureAttribute.Description"> - <summary> - Descriptive text for this fixture - </summary> - </member> - <member name="P:NUnit.Framework.TestFixtureAttribute.Arguments"> - <summary> - The arguments originally provided to the attribute - </summary> - </member> - <member name="P:NUnit.Framework.TestFixtureAttribute.Ignore"> - <summary> - Gets or sets a value indicating whether this <see cref="T:NUnit.Framework.TestFixtureAttribute"/> should be ignored. - </summary> - <value><c>true</c> if ignore; otherwise, <c>false</c>.</value> - </member> - <member name="P:NUnit.Framework.TestFixtureAttribute.IgnoreReason"> - <summary> - Gets or sets the ignore reason. May set Ignored as a side effect. - </summary> - <value>The ignore reason.</value> - </member> - <member name="P:NUnit.Framework.TestFixtureAttribute.TypeArgs"> - <summary> - Get or set the type arguments. If not set - explicitly, any leading arguments that are - Types are taken as type arguments. - </summary> - </member> - <member name="T:NUnit.Framework.RequiredAddinAttribute"> - <summary> - RequiredAddinAttribute may be used to indicate the names of any addins - that must be present in order to run some or all of the tests in an - assembly. If the addin is not loaded, the entire assembly is marked - as NotRunnable. - </summary> - </member> - <member name="M:NUnit.Framework.RequiredAddinAttribute.#ctor(System.String)"> - <summary> - Initializes a new instance of the <see cref="T:RequiredAddinAttribute"/> class. - </summary> - <param name="requiredAddin">The required addin.</param> - </member> - <member name="P:NUnit.Framework.RequiredAddinAttribute.RequiredAddin"> - <summary> - Gets the name of required addin. - </summary> - <value>The required addin name.</value> - </member> - <member name="T:NUnit.Framework.CombinatorialAttribute"> - <summary> - Marks a test to use a combinatorial join of any argument data - provided. NUnit will create a test case for every combination of - the arguments provided. This can result in a large number of test - cases and so should be used judiciously. This is the default join - type, so the attribute need not be used except as documentation. - </summary> - </member> - <member name="M:NUnit.Framework.CombinatorialAttribute.#ctor"> - <summary> - Default constructor - </summary> - </member> - <member name="T:NUnit.Framework.PairwiseAttribute"> - <summary> - Marks a test to use pairwise join of any argument data provided. - NUnit will attempt too excercise every pair of argument values at - least once, using as small a number of test cases as it can. With - only two arguments, this is the same as a combinatorial join. - </summary> - </member> - <member name="M:NUnit.Framework.PairwiseAttribute.#ctor"> - <summary> - Default constructor - </summary> - </member> - <member name="T:NUnit.Framework.SequentialAttribute"> - <summary> - Marks a test to use a sequential join of any argument data - provided. NUnit will use arguements for each parameter in - sequence, generating test cases up to the largest number - of argument values provided and using null for any arguments - for which it runs out of values. Normally, this should be - used with the same number of arguments for each parameter. - </summary> - </member> - <member name="M:NUnit.Framework.SequentialAttribute.#ctor"> - <summary> - Default constructor - </summary> - </member> - <member name="T:NUnit.Framework.ParameterDataAttribute"> - <summary> - Abstract base class for attributes that apply to parameters - and supply data for the parameter. - </summary> - </member> - <member name="M:NUnit.Framework.ParameterDataAttribute.GetData(System.Reflection.ParameterInfo)"> - <summary> - Gets the data to be provided to the specified parameter + Originally, PropertyConstraint provided this feature + in addition to making optional tests on the vaue + of the property. The two constraints are now separate. </summary> </member> - <member name="T:NUnit.Framework.ValuesAttribute"> + <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.#ctor(System.String)"> <summary> - ValuesAttribute is used to provide literal arguments for - an individual parameter of a test. + Initializes a new instance of the <see cref="T:PropertyExistConstraint"/> class. </summary> + <param name="name">The name of the property.</param> </member> - <member name="F:NUnit.Framework.ValuesAttribute.data"> + <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.Matches(System.Object)"> <summary> - The collection of data to be returned. Must - be set by any derived attribute classes. + Test whether the property exists for a given object </summary> + <param name="actual">The object to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object)"> + <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct with one argument + Write the constraint description to a MessageWriter </summary> - <param name="arg1"></param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct with two arguments + Write the actual value for a failing constraint test to a + MessageWriter. </summary> - <param name="arg1"></param> - <param name="arg2"></param> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object,System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.PropertyExistsConstraint.GetStringRepresentation"> <summary> - Construct with three arguments + Returns the string representation of the constraint. </summary> - <param name="arg1"></param> - <param name="arg2"></param> - <param name="arg3"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.ValuesAttribute.#ctor(System.Object[])"> + <member name="T:NUnit.Framework.Constraints.PropertyConstraint"> <summary> - Construct with an array of arguments + PropertyConstraint extracts a named property and uses + its value as the actual value for a chained constraint. </summary> - <param name="args"></param> </member> - <member name="M:NUnit.Framework.ValuesAttribute.GetData(System.Reflection.ParameterInfo)"> + <member name="M:NUnit.Framework.Constraints.PropertyConstraint.#ctor(System.String,NUnit.Framework.Constraints.Constraint)"> <summary> - Get the collection of values to be used as arguments + Initializes a new instance of the <see cref="T:PropertyConstraint"/> class. </summary> + <param name="name">The name.</param> + <param name="baseConstraint">The constraint to apply to the property.</param> </member> - <member name="T:NUnit.Framework.RandomAttribute"> + <member name="M:NUnit.Framework.Constraints.PropertyConstraint.Matches(System.Object)"> <summary> - RandomAttribute is used to supply a set of random values - to a single parameter of a parameterized test. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32)"> + <member name="M:NUnit.Framework.Constraints.PropertyConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a set of doubles from 0.0 to 1.0, - specifying only the count. + Write the constraint description to a MessageWriter </summary> - <param name="count"></param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Double,System.Double,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.PropertyConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a set of doubles from min to max + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> - <param name="min"></param> - <param name="max"></param> - <param name="count"></param> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.RandomAttribute.#ctor(System.Int32,System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.PropertyConstraint.GetStringRepresentation"> <summary> - Construct a set of ints from min to max + Returns the string representation of the constraint. </summary> - <param name="min"></param> - <param name="max"></param> - <param name="count"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.RandomAttribute.GetData(System.Reflection.ParameterInfo)"> + <member name="T:NUnit.Framework.Constraints.RangeConstraint`1"> <summary> - Get the collection of values to be used as arguments + RangeConstraint tests whethe two values are within a + specified range. </summary> </member> - <member name="T:NUnit.Framework.RangeAttribute"> + <member name="M:NUnit.Framework.Constraints.RangeConstraint`1.#ctor(`0,`0)"> <summary> - RangeAttribute is used to supply a range of values to an - individual parameter of a parameterized test. + Initializes a new instance of the <see cref="T:RangeConstraint"/> class. </summary> + <param name="from">From.</param> + <param name="to">To.</param> </member> - <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.RangeConstraint`1.Matches(System.Object)"> <summary> - Construct a range of ints using default step of 1 + Test whether the constraint is satisfied by a given value </summary> - <param name="from"></param> - <param name="to"></param> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int32,System.Int32,System.Int32)"> + <member name="M:NUnit.Framework.Constraints.RangeConstraint`1.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a range of ints specifying the step size + Write the constraint description to a MessageWriter </summary> - <param name="from"></param> - <param name="to"></param> - <param name="step"></param> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Int64,System.Int64,System.Int64)"> + <member name="T:NUnit.Framework.Constraints.ResolvableConstraintExpression"> <summary> - Construct a range of longs + ResolvableConstraintExpression is used to represent a compound + constraint being constructed at a point where the last operator + may either terminate the expression or may have additional + qualifying constraints added to it. + + It is used, for example, for a Property element or for + an Exception element, either of which may be optionally + followed by constraints that apply to the property or + exception. </summary> - <param name="from"></param> - <param name="to"></param> - <param name="step"></param> </member> - <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Double,System.Double,System.Double)"> + <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.#ctor"> <summary> - Construct a range of doubles + Create a new instance of ResolvableConstraintExpression </summary> - <param name="from"></param> - <param name="to"></param> - <param name="step"></param> </member> - <member name="M:NUnit.Framework.RangeAttribute.#ctor(System.Single,System.Single,System.Single)"> + <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.#ctor(NUnit.Framework.Constraints.ConstraintBuilder)"> <summary> - Construct a range of floats + Create a new instance of ResolvableConstraintExpression, + passing in a pre-populated ConstraintBuilder. </summary> - <param name="from"></param> - <param name="to"></param> - <param name="step"></param> </member> - <member name="T:NUnit.Framework.Has"> + <member name="M:NUnit.Framework.Constraints.ResolvableConstraintExpression.NUnit#Framework#Constraints#IResolveConstraint#Resolve"> <summary> - Helper class with properties and methods that supply - a number of constraints used in Asserts. + Resolve the current expression to a Constraint </summary> </member> - <member name="M:NUnit.Framework.Has.Property(System.String)"> + <member name="P:NUnit.Framework.Constraints.ResolvableConstraintExpression.And"> <summary> - Returns a new PropertyConstraintExpression, which will either - test for the existence of the named property on the object - being tested or apply any following constraint to that property. + Appends an And Operator to the expression </summary> </member> - <member name="M:NUnit.Framework.Has.Attribute(System.Type)"> + <member name="P:NUnit.Framework.Constraints.ResolvableConstraintExpression.Or"> <summary> - Returns a new AttributeConstraint checking for the - presence of a particular attribute on an object. + Appends an Or operator to the expression. </summary> </member> - <member name="M:NUnit.Framework.Has.Attribute``1"> + <member name="T:NUnit.Framework.Constraints.ReusableConstraint"> <summary> - Returns a new AttributeConstraint checking for the - presence of a particular attribute on an object. + ReusableConstraint wraps a resolved constraint so that it + may be saved and reused as needed. </summary> </member> - <member name="M:NUnit.Framework.Has.Member(System.Object)"> + <member name="M:NUnit.Framework.Constraints.ReusableConstraint.#ctor(NUnit.Framework.Constraints.IResolveConstraint)"> <summary> - Returns a new CollectionContainsConstraint checking for the - presence of a particular object in the collection. + Construct a ReusableConstraint </summary> + <param name="c">The constraint or expression to be reused</param> </member> - <member name="P:NUnit.Framework.Has.No"> + <member name="M:NUnit.Framework.Constraints.ReusableConstraint.op_Implicit(NUnit.Framework.Constraints.Constraint)~NUnit.Framework.Constraints.ReusableConstraint"> <summary> - Returns a ConstraintExpression that negates any - following constraint. + Conversion operator from a normal constraint to a ReusableConstraint. </summary> + <param name="c">The original constraint to be wrapped as a ReusableConstraint</param> + <returns></returns> </member> - <member name="P:NUnit.Framework.Has.All"> + <member name="M:NUnit.Framework.Constraints.ReusableConstraint.ToString"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them succeed. + Returns the string representation of the constraint. </summary> + <returns>A string representing the constraint</returns> </member> - <member name="P:NUnit.Framework.Has.Some"> + <member name="M:NUnit.Framework.Constraints.ReusableConstraint.Resolve"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if at least one of them succeeds. + Resolves the ReusableConstraint by returning the constraint + that it originally wrapped. </summary> + <returns>A resolved constraint</returns> </member> - <member name="P:NUnit.Framework.Has.None"> + <member name="T:NUnit.Framework.Constraints.SameAsConstraint"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them fail. + SameAsConstraint tests whether an object is identical to + the object passed to its constructor </summary> </member> - <member name="P:NUnit.Framework.Has.Length"> + <member name="M:NUnit.Framework.Constraints.SameAsConstraint.#ctor(System.Object)"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Length property of the object being tested. + Initializes a new instance of the <see cref="T:SameAsConstraint"/> class. </summary> + <param name="expected">The expected object.</param> </member> - <member name="P:NUnit.Framework.Has.Count"> + <member name="M:NUnit.Framework.Constraints.SameAsConstraint.Matches(System.Object)"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Count property of the object being tested. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="P:NUnit.Framework.Has.Message"> + <member name="M:NUnit.Framework.Constraints.SameAsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the Message property of the object being tested. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Has.InnerException"> + <member name="T:NUnit.Framework.Constraints.BinarySerializableConstraint"> <summary> - Returns a new ConstraintExpression, which will apply the following - constraint to the InnerException property of the object being tested. + BinarySerializableConstraint tests whether + an object is serializable in binary format. </summary> </member> - <member name="T:NUnit.Framework.Is"> + <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.Matches(System.Object)"> <summary> - Helper class with properties and methods that supply - a number of constraints used in Asserts. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Is.EqualTo(System.Object)"> + <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests two items for equality + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Is.SameAs(System.Object)"> + <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests that two references are the same object + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Is.GreaterThan(System.Object)"> + <member name="M:NUnit.Framework.Constraints.BinarySerializableConstraint.GetStringRepresentation"> <summary> - Returns a constraint that tests whether the - actual value is greater than the suppled argument + Returns the string representation </summary> </member> - <member name="M:NUnit.Framework.Is.GreaterThanOrEqualTo(System.Object)"> + <member name="T:NUnit.Framework.Constraints.XmlSerializableConstraint"> <summary> - Returns a constraint that tests whether the - actual value is greater than or equal to the suppled argument + BinarySerializableConstraint tests whether + an object is serializable in binary format. </summary> </member> - <member name="M:NUnit.Framework.Is.AtLeast(System.Object)"> + <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests whether the - actual value is greater than or equal to the suppled argument + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Is.LessThan(System.Object)"> + <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether the - actual value is less than the suppled argument + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Is.LessThanOrEqualTo(System.Object)"> + <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether the - actual value is less than or equal to the suppled argument + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Is.AtMost(System.Object)"> + <member name="M:NUnit.Framework.Constraints.XmlSerializableConstraint.GetStringRepresentation"> <summary> - Returns a constraint that tests whether the - actual value is less than or equal to the suppled argument + Returns the string representation of this constraint </summary> </member> - <member name="M:NUnit.Framework.Is.TypeOf(System.Type)"> + <member name="T:NUnit.Framework.Constraints.StringConstraint"> <summary> - Returns a constraint that tests whether the actual - value is of the exact type supplied as an argument. + StringConstraint is the abstract base for constraints + that operate on strings. It supports the IgnoreCase + modifier for string operations. </summary> </member> - <member name="M:NUnit.Framework.Is.TypeOf``1"> + <member name="F:NUnit.Framework.Constraints.StringConstraint.expected"> <summary> - Returns a constraint that tests whether the actual - value is of the exact type supplied as an argument. + The expected value </summary> </member> - <member name="M:NUnit.Framework.Is.InstanceOf(System.Type)"> + <member name="F:NUnit.Framework.Constraints.StringConstraint.caseInsensitive"> <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. + Indicates whether tests should be case-insensitive </summary> </member> - <member name="M:NUnit.Framework.Is.InstanceOf``1"> + <member name="M:NUnit.Framework.Constraints.StringConstraint.#ctor(System.String)"> <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. + Constructs a StringConstraint given an expected value </summary> + <param name="expected">The expected value</param> </member> - <member name="M:NUnit.Framework.Is.InstanceOfType(System.Type)"> + <member name="P:NUnit.Framework.Constraints.StringConstraint.IgnoreCase"> <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. + Modify the constraint to ignore case in matching. </summary> </member> - <member name="M:NUnit.Framework.Is.InstanceOfType``1"> + <member name="T:NUnit.Framework.Constraints.EmptyStringConstraint"> <summary> - Returns a constraint that tests whether the actual value - is of the type supplied as an argument or a derived type. + EmptyStringConstraint tests whether a string is empty. </summary> </member> - <member name="M:NUnit.Framework.Is.AssignableFrom(System.Type)"> + <member name="M:NUnit.Framework.Constraints.EmptyStringConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Is.AssignableFrom``1"> + <member name="M:NUnit.Framework.Constraints.EmptyStringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Is.AssignableTo(System.Type)"> + <member name="T:NUnit.Framework.Constraints.NullOrEmptyStringConstraint"> <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. + NullEmptyStringConstraint tests whether a string is either null or empty. </summary> </member> - <member name="M:NUnit.Framework.Is.AssignableTo``1"> + <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.#ctor"> <summary> - Returns a constraint that tests whether the actual value - is assignable from the type supplied as an argument. + Constructs a new NullOrEmptyStringConstraint </summary> </member> - <member name="M:NUnit.Framework.Is.EquivalentTo(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests whether the actual value - is a collection containing the same elements as the - collection supplied as an argument. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Is.SubsetOf(System.Collections.IEnumerable)"> + <member name="M:NUnit.Framework.Constraints.NullOrEmptyStringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether the actual value - is a subset of the collection supplied as an argument. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Is.StringContaining(System.String)"> + <member name="T:NUnit.Framework.Constraints.SubstringConstraint"> <summary> - Returns a constraint that succeeds if the actual - value contains the substring supplied as an argument. + SubstringConstraint can test whether a string contains + the expected substring. </summary> </member> - <member name="M:NUnit.Framework.Is.StringStarting(System.String)"> + <member name="M:NUnit.Framework.Constraints.SubstringConstraint.#ctor(System.String)"> <summary> - Returns a constraint that succeeds if the actual - value starts with the substring supplied as an argument. + Initializes a new instance of the <see cref="T:SubstringConstraint"/> class. </summary> + <param name="expected">The expected.</param> </member> - <member name="M:NUnit.Framework.Is.StringEnding(System.String)"> + <member name="M:NUnit.Framework.Constraints.SubstringConstraint.Matches(System.Object)"> <summary> - Returns a constraint that succeeds if the actual - value ends with the substring supplied as an argument. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="M:NUnit.Framework.Is.StringMatching(System.String)"> + <member name="M:NUnit.Framework.Constraints.SubstringConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that succeeds if the actual - value matches the Regex pattern supplied as an argument. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Is.SamePath(System.String)"> + <member name="T:NUnit.Framework.Constraints.StartsWithConstraint"> <summary> - Returns a constraint that tests whether the path provided - is the same as an expected path after canonicalization. + StartsWithConstraint can test whether a string starts + with an expected substring. </summary> </member> - <member name="M:NUnit.Framework.Is.SamePathOrUnder(System.String)"> + <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.#ctor(System.String)"> <summary> - Returns a constraint that tests whether the path provided - is the same path or under an expected path after canonicalization. + Initializes a new instance of the <see cref="T:StartsWithConstraint"/> class. </summary> + <param name="expected">The expected string</param> </member> - <member name="M:NUnit.Framework.Is.InRange(System.IComparable,System.IComparable)"> + <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests whether the actual value falls - within a specified range. + Test whether the constraint is matched by the actual value. + This is a template method, which calls the IsMatch method + of the derived class. </summary> + <param name="actual"></param> + <returns></returns> </member> - <member name="P:NUnit.Framework.Is.Not"> + <member name="M:NUnit.Framework.Constraints.StartsWithConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a ConstraintExpression that negates any - following constraint. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Is.All"> + <member name="T:NUnit.Framework.Constraints.EndsWithConstraint"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them succeed. + EndsWithConstraint can test whether a string ends + with an expected substring. </summary> </member> - <member name="P:NUnit.Framework.Is.Null"> + <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.#ctor(System.String)"> <summary> - Returns a constraint that tests for null + Initializes a new instance of the <see cref="T:EndsWithConstraint"/> class. </summary> + <param name="expected">The expected string</param> </member> - <member name="P:NUnit.Framework.Is.True"> + <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests for True + Test whether the constraint is matched by the actual value. + This is a template method, which calls the IsMatch method + of the derived class. </summary> + <param name="actual"></param> + <returns></returns> </member> - <member name="P:NUnit.Framework.Is.False"> + <member name="M:NUnit.Framework.Constraints.EndsWithConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests for False + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Is.NaN"> + <member name="T:NUnit.Framework.Constraints.RegexConstraint"> <summary> - Returns a constraint that tests for NaN + RegexConstraint can test whether a string matches + the pattern provided. </summary> </member> - <member name="P:NUnit.Framework.Is.Empty"> + <member name="M:NUnit.Framework.Constraints.RegexConstraint.#ctor(System.String)"> <summary> - Returns a constraint that tests for empty + Initializes a new instance of the <see cref="T:RegexConstraint"/> class. </summary> + <param name="pattern">The pattern.</param> </member> - <member name="P:NUnit.Framework.Is.Unique"> + <member name="M:NUnit.Framework.Constraints.RegexConstraint.Matches(System.Object)"> <summary> - Returns a constraint that tests whether a collection - contains all unique items. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True for success, false for failure</returns> </member> - <member name="P:NUnit.Framework.Is.BinarySerializable"> + <member name="M:NUnit.Framework.Constraints.RegexConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that tests whether an object graph is serializable in binary format. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="P:NUnit.Framework.Is.XmlSerializable"> + <member name="T:NUnit.Framework.Constraints.ThrowsConstraint"> <summary> - Returns a constraint that tests whether an object graph is serializable in xml format. + ThrowsConstraint is used to test the exception thrown by + a delegate by applying a constraint to it. </summary> </member> - <member name="P:NUnit.Framework.Is.Ordered"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.#ctor(NUnit.Framework.Constraints.Constraint)"> <summary> - Returns a constraint that tests whether a collection is ordered + Initializes a new instance of the <see cref="T:ThrowsConstraint"/> class, + using a constraint to be applied to the exception. </summary> + <param name="baseConstraint">A constraint to apply to the caught exception.</param> </member> - <member name="T:NUnit.Framework.List"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.Matches(System.Object)"> <summary> - The List class is a helper class with properties and methods - that supply a number of constraints used with lists and collections. + Executes the code of the delegate and captures any exception. + If a non-null base constraint was provided, it applies that + constraint to the exception. </summary> + <param name="actual">A delegate representing the code to be tested</param> + <returns>True if an exception is thrown and the constraint succeeds, otherwise false</returns> </member> - <member name="M:NUnit.Framework.List.Map(System.Collections.ICollection)"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> <summary> - List.Map returns a ListMapper, which can be used to map - the original collection to another collection. + Converts an ActualValueDelegate to a TestDelegate + before calling the primary overload. </summary> - <param name="actual"></param> + <param name="del"></param> <returns></returns> </member> - <member name="T:NUnit.Framework.ListMapper"> - <summary> - ListMapper is used to transform a collection used as an actual argument - producing another collection to be used in the assertion. - </summary> - </member> - <member name="M:NUnit.Framework.ListMapper.#ctor(System.Collections.ICollection)"> - <summary> - Construct a ListMapper based on a collection - </summary> - <param name="original">The collection to be transformed</param> - </member> - <member name="M:NUnit.Framework.ListMapper.Property(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Produces a collection containing all the values of a property + Write the constraint description to a MessageWriter </summary> - <param name="name">The collection of property values</param> - <returns></returns> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="T:NUnit.Framework.Text"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Helper class with static methods used to supply constraints - that operate on strings. + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Text.Contains(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsConstraint.GetStringRepresentation"> <summary> - Returns a constraint that succeeds if the actual - value contains the substring supplied as an argument. + Returns the string representation of this constraint </summary> </member> - <member name="M:NUnit.Framework.Text.DoesNotContain(System.String)"> + <member name="P:NUnit.Framework.Constraints.ThrowsConstraint.ActualException"> <summary> - Returns a constraint that fails if the actual - value contains the substring supplied as an argument. + Get the actual exception thrown - used by Assert.Throws. </summary> </member> - <member name="M:NUnit.Framework.Text.StartsWith(System.String)"> + <member name="T:NUnit.Framework.Constraints.ThrowsNothingConstraint"> <summary> - Returns a constraint that succeeds if the actual - value starts with the substring supplied as an argument. + ThrowsNothingConstraint tests that a delegate does not + throw an exception. </summary> </member> - <member name="M:NUnit.Framework.Text.DoesNotStartWith(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.Matches(System.Object)"> <summary> - Returns a constraint that fails if the actual - value starts with the substring supplied as an argument. + Test whether the constraint is satisfied by a given value </summary> + <param name="actual">The value to be tested</param> + <returns>True if no exception is thrown, otherwise false</returns> </member> - <member name="M:NUnit.Framework.Text.EndsWith(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.Matches(NUnit.Framework.Constraints.ActualValueDelegate)"> <summary> - Returns a constraint that succeeds if the actual - value ends with the substring supplied as an argument. + Converts an ActualValueDelegate to a TestDelegate + before calling the primary overload. </summary> + <param name="del"></param> + <returns></returns> </member> - <member name="M:NUnit.Framework.Text.DoesNotEndWith(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that fails if the actual - value ends with the substring supplied as an argument. + Write the constraint description to a MessageWriter </summary> + <param name="writer">The writer on which the description is displayed</param> </member> - <member name="M:NUnit.Framework.Text.Matches(System.String)"> + <member name="M:NUnit.Framework.Constraints.ThrowsNothingConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Returns a constraint that succeeds if the actual - value matches the Regex pattern supplied as an argument. + Write the actual value for a failing constraint test to a + MessageWriter. The default implementation simply writes + the raw value of actual, leaving it to the writer to + perform any formatting. </summary> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="M:NUnit.Framework.Text.DoesNotMatch(System.String)"> + <member name="T:NUnit.Framework.Constraints.ToleranceMode"> <summary> - Returns a constraint that fails if the actual - value matches the pattern supplied as an argument. + Modes in which the tolerance value for a comparison can + be interpreted. </summary> </member> - <member name="P:NUnit.Framework.Text.All"> + <member name="F:NUnit.Framework.Constraints.ToleranceMode.None"> <summary> - Returns a ConstraintExpression, which will apply - the following constraint to all members of a collection, - succeeding if all of them succeed. + The tolerance was created with a value, without specifying + how the value would be used. This is used to prevent setting + the mode more than once and is generally changed to Linear + upon execution of the test. </summary> </member> - <member name="T:NUnit.Framework.Throws"> + <member name="F:NUnit.Framework.Constraints.ToleranceMode.Linear"> <summary> - Helper class with properties and methods that supply - constraints that operate on exceptions. + The tolerance is used as a numeric range within which + two compared values are considered to be equal. </summary> </member> - <member name="M:NUnit.Framework.Throws.TypeOf(System.Type)"> + <member name="F:NUnit.Framework.Constraints.ToleranceMode.Percent"> <summary> - Creates a constraint specifying the exact type of exception expected + Interprets the tolerance as the percentage by which + the two compared values my deviate from each other. </summary> </member> - <member name="M:NUnit.Framework.Throws.TypeOf``1"> + <member name="F:NUnit.Framework.Constraints.ToleranceMode.Ulps"> <summary> - Creates a constraint specifying the exact type of exception expected + Compares two values based in their distance in + representable numbers. </summary> </member> - <member name="M:NUnit.Framework.Throws.InstanceOf(System.Type)"> + <member name="T:NUnit.Framework.Constraints.Tolerance"> <summary> - Creates a constraint specifying the type of exception expected + The Tolerance class generalizes the notion of a tolerance + within which an equality test succeeds. Normally, it is + used with numeric types, but it can be used with any + type that supports taking a difference between two + objects and comparing that difference to a value. </summary> </member> - <member name="M:NUnit.Framework.Throws.InstanceOf``1"> + <member name="M:NUnit.Framework.Constraints.Tolerance.#ctor(System.Object)"> <summary> - Creates a constraint specifying the type of exception expected + Constructs a linear tolerance of a specdified amount </summary> </member> - <member name="P:NUnit.Framework.Throws.Exception"> + <member name="M:NUnit.Framework.Constraints.Tolerance.#ctor(System.Object,NUnit.Framework.Constraints.ToleranceMode)"> <summary> - Creates a constraint specifying an expected exception + Constructs a tolerance given an amount and ToleranceMode </summary> </member> - <member name="P:NUnit.Framework.Throws.InnerException"> + <member name="M:NUnit.Framework.Constraints.Tolerance.CheckLinearAndNumeric"> <summary> - Creates a constraint specifying an exception with a given InnerException + Tests that the current Tolerance is linear with a + numeric value, throwing an exception if it is not. </summary> </member> - <member name="P:NUnit.Framework.Throws.TargetInvocationException"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Empty"> <summary> - Creates a constraint specifying an expected TargetInvocationException + Returns an empty Tolerance object, equivalent to + specifying no tolerance. In most cases, it results + in an exact match but for floats and doubles a + default tolerance may be used. </summary> </member> - <member name="P:NUnit.Framework.Throws.ArgumentException"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Zero"> <summary> - Creates a constraint specifying an expected TargetInvocationException + Returns a zero Tolerance object, equivalent to + specifying an exact match. </summary> </member> - <member name="P:NUnit.Framework.Throws.InvalidOperationException"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Mode"> <summary> - Creates a constraint specifying an expected TargetInvocationException + Gets the ToleranceMode for the current Tolerance </summary> </member> - <member name="P:NUnit.Framework.Throws.Nothing"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Value"> <summary> - Creates a constraint specifying that no exception is thrown + Gets the value of the current Tolerance instance. </summary> </member> - <member name="T:NUnit.Framework.TestCaseSourceAttribute"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Percent"> <summary> - FactoryAttribute indicates the source to be used to - provide test cases for a test method. + Returns a new tolerance, using the current amount as a percentage. </summary> </member> - <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.String)"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Ulps"> <summary> - Construct with the name of the factory - for use with languages - that don't support params arrays. + Returns a new tolerance, using the current amount in Ulps. </summary> - <param name="sourceName">An array of the names of the factories that will provide data</param> </member> - <member name="M:NUnit.Framework.TestCaseSourceAttribute.#ctor(System.Type,System.String)"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Days"> <summary> - Construct with a Type and name - for use with languages - that don't support params arrays. + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of days. </summary> - <param name="sourceType">The Type that will provide data</param> - <param name="sourceName">The name of the method, property or field that will provide data</param> </member> - <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceName"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Hours"> <summary> - The name of a the method, property or fiend to be used as a source + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of hours. </summary> </member> - <member name="P:NUnit.Framework.TestCaseSourceAttribute.SourceType"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Minutes"> <summary> - A Type to be used as a source + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of minutes. </summary> </member> - <member name="T:NUnit.Framework.ValueSourceAttribute"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Seconds"> <summary> - ValueSourceAttribute indicates the source to be used to - provide data for one parameter of a test method. + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of seconds. </summary> </member> - <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.String)"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Milliseconds"> <summary> - Construct with the name of the factory - for use with languages - that don't support params arrays. + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of milliseconds. </summary> - <param name="sourceName">The name of the data source to be used</param> </member> - <member name="M:NUnit.Framework.ValueSourceAttribute.#ctor(System.Type,System.String)"> + <member name="P:NUnit.Framework.Constraints.Tolerance.Ticks"> <summary> - Construct with a Type and name - for use with languages - that don't support params arrays. + Returns a new tolerance with a TimeSpan as the amount, using + the current amount as a number of clock ticks. </summary> - <param name="sourceType">The Type that will provide data</param> - <param name="sourceName">The name of the method, property or field that will provide data</param> </member> - <member name="P:NUnit.Framework.ValueSourceAttribute.SourceName"> + <member name="P:NUnit.Framework.Constraints.Tolerance.IsEmpty"> <summary> - The name of a the method, property or fiend to be used as a source + Returns true if the current tolerance is empty. </summary> </member> - <member name="P:NUnit.Framework.ValueSourceAttribute.SourceType"> + <member name="T:NUnit.Framework.Constraints.TypeConstraint"> <summary> - A Type to be used as a source + TypeConstraint is the abstract base for constraints + that take a Type as their expected value. </summary> </member> - <member name="T:NUnit.Framework.Iz"> + <member name="F:NUnit.Framework.Constraints.TypeConstraint.expectedType"> <summary> - The Iz class is a synonym for Is intended for use in VB, - which regards Is as a keyword. + The expected Type used by the constraint </summary> </member> - <member name="T:NUnit.Framework.TimeoutAttribute"> + <member name="M:NUnit.Framework.Constraints.TypeConstraint.#ctor(System.Type)"> <summary> - WUsed on a method, marks the test with a timeout value in milliseconds. - The test will be run in a separate thread and is cancelled if the timeout - is exceeded. Used on a method or assembly, sets the default timeout - for all contained test methods. + Construct a TypeConstraint for a given Type </summary> + <param name="type"></param> </member> - <member name="M:NUnit.Framework.TimeoutAttribute.#ctor(System.Int32)"> + <member name="M:NUnit.Framework.Constraints.TypeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a TimeoutAttribute given a time in milliseconds + Write the actual value for a failing constraint test to a + MessageWriter. TypeConstraints override this method to write + the name of the type. </summary> - <param name="timeout">The timeout value in milliseconds</param> + <param name="writer">The writer on which the actual value is displayed</param> </member> - <member name="T:NUnit.Framework.RequiresSTAAttribute"> + <member name="T:NUnit.Framework.Constraints.ExactTypeConstraint"> <summary> - Marks a test that must run in the STA, causing it - to run in a separate thread if necessary. - - On methods, you may also use STAThreadAttribute - to serve the same purpose. + ExactTypeConstraint is used to test that an object + is of the exact type provided in the constructor </summary> </member> - <member name="M:NUnit.Framework.RequiresSTAAttribute.#ctor"> + <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.#ctor(System.Type)"> <summary> - Construct a RequiresSTAAttribute + Construct an ExactTypeConstraint for a given Type </summary> + <param name="type">The expected Type.</param> </member> - <member name="T:NUnit.Framework.RequiresMTAAttribute"> + <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.Matches(System.Object)"> <summary> - Marks a test that must run in the MTA, causing it - to run in a separate thread if necessary. - - On methods, you may also use MTAThreadAttribute - to serve the same purpose. + Test that an object is of the exact type specified </summary> + <param name="actual">The actual value.</param> + <returns>True if the tested object is of the exact type provided, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.RequiresMTAAttribute.#ctor"> + <member name="M:NUnit.Framework.Constraints.ExactTypeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a RequiresMTAAttribute + Write the description of this constraint to a MessageWriter </summary> + <param name="writer">The MessageWriter to use</param> </member> - <member name="T:NUnit.Framework.RequiresThreadAttribute"> + <member name="T:NUnit.Framework.Constraints.ExceptionTypeConstraint"> <summary> - Marks a test that must run on a separate thread. + ExceptionTypeConstraint is a special version of ExactTypeConstraint + used to provided detailed info about the exception thrown in + an error message. </summary> </member> - <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor"> + <member name="M:NUnit.Framework.Constraints.ExceptionTypeConstraint.#ctor(System.Type)"> <summary> - Construct a RequiresThreadAttribute + Constructs an ExceptionTypeConstraint </summary> </member> - <member name="M:NUnit.Framework.RequiresThreadAttribute.#ctor(System.Threading.ApartmentState)"> + <member name="M:NUnit.Framework.Constraints.ExceptionTypeConstraint.WriteActualValueTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a RequiresThreadAttribute, specifying the apartment + Write the actual value for a failing constraint test to a + MessageWriter. Overriden to write additional information + in the case of an Exception. </summary> + <param name="writer">The MessageWriter to use</param> </member> - <member name="T:NUnit.Framework.MaxTimeAttribute"> + <member name="T:NUnit.Framework.Constraints.InstanceOfTypeConstraint"> <summary> - Summary description for MaxTimeAttribute. + InstanceOfTypeConstraint is used to test that an object + is of the same type provided or derived from it. </summary> </member> - <member name="M:NUnit.Framework.MaxTimeAttribute.#ctor(System.Int32)"> + <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.#ctor(System.Type)"> <summary> - Construct a MaxTimeAttribute, given a time in milliseconds. + Construct an InstanceOfTypeConstraint for the type provided </summary> - <param name="milliseconds">The maximum elapsed time in milliseconds</param> + <param name="type">The expected Type</param> </member> - <member name="T:NUnit.Framework.RepeatAttribute"> + <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.Matches(System.Object)"> <summary> - RepeatAttribute may be applied to test case in order - to run it multiple times. + Test whether an object is of the specified type or a derived type </summary> + <param name="actual">The object to be tested</param> + <returns>True if the object is of the provided type or derives from it, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.RepeatAttribute.#ctor(System.Int32)"> + <member name="M:NUnit.Framework.Constraints.InstanceOfTypeConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Construct a RepeatAttribute + Write a description of this constraint to a MessageWriter </summary> - <param name="count">The number of times to run the test</param> + <param name="writer">The MessageWriter to use</param> </member> - <member name="T:NUnit.Framework.Assume"> + <member name="T:NUnit.Framework.Constraints.AssignableFromConstraint"> <summary> - Provides static methods to express the assumptions - that must be met for a test to give a meaningful - result. If an assumption is not met, the test - should produce an inconclusive result. + AssignableFromConstraint is used to test that an object + can be assigned from a given Type. </summary> </member> - <member name="M:NUnit.Framework.Assume.Equals(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.#ctor(System.Type)"> <summary> - The Equals method throws an AssertionException. This is done - to make sure there is no mistake by calling this function. + Construct an AssignableFromConstraint for the type provided </summary> - <param name="a"></param> - <param name="b"></param> + <param name="type"></param> </member> - <member name="M:NUnit.Framework.Assume.ReferenceEquals(System.Object,System.Object)"> + <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.Matches(System.Object)"> <summary> - override the default ReferenceEquals to throw an AssertionException. This - implementation makes sure there is no mistake in calling this function - as part of Assert. + Test whether an object can be assigned from the specified type </summary> - <param name="a"></param> - <param name="b"></param> + <param name="actual">The object to be tested</param> + <returns>True if the object can be assigned a value of the expected Type, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"> + <member name="M:NUnit.Framework.Constraints.AssignableFromConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Write a description of this constraint to a MessageWriter </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> + <param name="writer">The MessageWriter to use</param> </member> - <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <member name="T:NUnit.Framework.Constraints.AssignableToConstraint"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + AssignableToConstraint is used to test that an object + can be assigned to a given Type. </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> </member> - <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.#ctor(System.Type)"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Construct an AssignableToConstraint for the type provided </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> + <param name="type"></param> </member> - <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.Matches(System.Object)"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Test whether an object can be assigned to the specified type </summary> - <param name="expr">A Constraint expression to be applied</param> - <param name="del">An ActualValueDelegate returning the value to be tested</param> + <param name="actual">The object to be tested</param> + <returns>True if the object can be assigned a value of the expected Type, otherwise false.</returns> </member> - <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <member name="M:NUnit.Framework.Constraints.AssignableToConstraint.WriteDescriptionTo(NUnit.Framework.Constraints.MessageWriter)"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Write a description of this constraint to a MessageWriter </summary> - <param name="expr">A Constraint expression to be applied</param> - <param name="del">An ActualValueDelegate returning the value to be tested</param> - <param name="message">The message that will be displayed on failure</param> + <param name="writer">The MessageWriter to use</param> </member> - <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <member name="T:NUnit.Framework.AssertionException"> <summary> - Apply a constraint to an actual value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Thrown when an assertion failed. </summary> - <param name="del">An ActualValueDelegate returning the value to be tested</param> - <param name="expr">A Constraint expression to be applied</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> + </member> - <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint)"> - <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. - </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> + <member name="M:NUnit.Framework.AssertionException.#ctor(System.String)"> + <param name="message">The error message that explains + the reason for the exception</param> </member> - <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> - <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. - </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> + <member name="M:NUnit.Framework.AssertionException.#ctor(System.String,System.Exception)"> + <param name="message">The error message that explains + the reason for the exception</param> + <param name="inner">The exception that caused the + current exception</param> </member> - <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <member name="M:NUnit.Framework.AssertionException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> - Apply a constraint to a referenced value, succeeding if the constraint - is satisfied and throwing an InconclusiveException on failure. + Serialization Constructor </summary> - <param name="expression">A Constraint expression to be applied</param> - <param name="actual">The actual value to test</param> - <param name="message">The message that will be displayed on failure</param> - <param name="args">Arguments to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.Assume.That(System.Boolean,System.String,System.Object[])"> - <summary> - Asserts that a condition is true. If the condition is false the method throws - an <see cref="T:NUnit.Framework.InconclusiveException"/>. - </summary> - <param name="condition">The evaluated condition</param> - <param name="message">The message to display if the condition is false</param> - <param name="args">Arguments to be used in formatting the message</param> - </member> - <member name="M:NUnit.Framework.Assume.That(System.Boolean,System.String)"> + <member name="T:NUnit.Framework.IgnoreException"> <summary> - Asserts that a condition is true. If the condition is false the method throws - an <see cref="T:NUnit.Framework.InconclusiveException"/>. + Thrown when an assertion failed. </summary> - <param name="condition">The evaluated condition</param> - <param name="message">The message to display if the condition is false</param> </member> - <member name="M:NUnit.Framework.Assume.That(System.Boolean)"> - <summary> - Asserts that a condition is true. If the condition is false the - method throws an <see cref="T:NUnit.Framework.InconclusiveException"/>. - </summary> - <param name="condition">The evaluated condition</param> + <member name="M:NUnit.Framework.IgnoreException.#ctor(System.String)"> + <param name="message"></param> </member> - <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.TestDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> - <summary> - Asserts that the code represented by a delegate throws an exception - that satisfies the constraint provided. - </summary> - <param name="code">A TestDelegate to be executed</param> - <param name="constraint">A ThrowsConstraint used in the test</param> + <member name="M:NUnit.Framework.IgnoreException.#ctor(System.String,System.Exception)"> + <param name="message">The error message that explains + the reason for the exception</param> + <param name="inner">The exception that caused the + current exception</param> </member> - <member name="T:NUnit.Framework.Randomizer"> + <member name="M:NUnit.Framework.IgnoreException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> - Randomizer returns a set of random values in a repeatable - way, to allow re-running of tests if necessary. + Serialization Constructor </summary> </member> - <member name="M:NUnit.Framework.Randomizer.GetRandomizer(System.Reflection.MemberInfo)"> + <member name="T:NUnit.Framework.InconclusiveException"> <summary> - Get a randomizer for a particular member, returning - one that has already been created if it exists. - This ensures that the same values are generated - each time the tests are reloaded. + Thrown when a test executes inconclusively. </summary> + </member> - <member name="M:NUnit.Framework.Randomizer.GetRandomizer(System.Reflection.ParameterInfo)"> - <summary> - Get a randomizer for a particular parameter, returning - one that has already been created if it exists. - This ensures that the same values are generated - each time the tests are reloaded. - </summary> + <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.String)"> + <param name="message">The error message that explains + the reason for the exception</param> </member> - <member name="M:NUnit.Framework.Randomizer.#ctor"> - <summary> - Construct a randomizer using a random seed - </summary> + <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.String,System.Exception)"> + <param name="message">The error message that explains + the reason for the exception</param> + <param name="inner">The exception that caused the + current exception</param> </member> - <member name="M:NUnit.Framework.Randomizer.#ctor(System.Int32)"> + <member name="M:NUnit.Framework.InconclusiveException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> - Construct a randomizer using a specified seed + Serialization Constructor </summary> </member> - <member name="M:NUnit.Framework.Randomizer.GetDoubles(System.Int32)"> + <member name="T:NUnit.Framework.SuccessException"> <summary> - Return an array of random doubles between 0.0 and 1.0. + Thrown when an assertion failed. </summary> - <param name="count"></param> - <returns></returns> </member> - <member name="M:NUnit.Framework.Randomizer.GetDoubles(System.Double,System.Double,System.Int32)"> - <summary> - Return an array of random doubles with values in a specified range. - </summary> + <member name="M:NUnit.Framework.SuccessException.#ctor(System.String)"> + <param name="message"></param> </member> - <member name="M:NUnit.Framework.Randomizer.GetInts(System.Int32,System.Int32,System.Int32)"> - <summary> - Return an array of random ints with values in a specified range. - </summary> + <member name="M:NUnit.Framework.SuccessException.#ctor(System.String,System.Exception)"> + <param name="message">The error message that explains + the reason for the exception</param> + <param name="inner">The exception that caused the + current exception</param> </member> - <member name="P:NUnit.Framework.Randomizer.RandomSeed"> + <member name="M:NUnit.Framework.SuccessException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)"> <summary> - Get a random seed for use in creating a randomizer. + Serialization Constructor </summary> </member> - <member name="T:NUnit.Framework.TheoryAttribute"> + <member name="T:NUnit.Framework.INUnitEqualityComparer`1"> <summary> - Adding this attribute to a method within a <seealso cref="T:NUnit.Framework.TestFixtureAttribute"/> - class makes the method callable from the NUnit test runner. There is a property - called Description which is optional which you can provide a more detailed test - description. This class cannot be inherited. - </summary> - <example> - [TestFixture] - public class Fixture - { - [Test] - public void MethodToTest() - {} - - [Test(Description = "more detailed description")] - publc void TestDescriptionMethod() - {} - } - </example> - - </member> - <member name="T:NUnit.Framework.DatapointAttribute"> - <summary> - Used to mark a field for use as a datapoint when executing a theory - within the same fixture that requires an argument of the field's Type. </summary> + <typeparam name="T"></typeparam> </member> - <member name="T:NUnit.Framework.DatapointsAttribute"> + <member name="M:NUnit.Framework.INUnitEqualityComparer`1.AreEqual(`0,`0,NUnit.Framework.Constraints.Tolerance@)"> <summary> - Used to mark an array as containing a set of datapoints to be used - executing a theory within the same fixture that requires an argument - of the Type of the array elements. + Compares two objects of a given Type for equality within a tolerance </summary> + <param name="x">The first object to compare</param> + <param name="y">The second object to compare</param> + <param name="tolerance">The tolerance to use in the comparison</param> + <returns></returns> </member> - <member name="T:NUnit.Framework.SpecialValue"> + <member name="T:NUnit.Framework.ActionTargets"> <summary> - The SpecialValue enum is used to represent TestCase arguments - that cannot be used as arguments to an Attribute. + The different targets a test action attribute can be applied to </summary> </member> - <member name="F:NUnit.Framework.SpecialValue.Null"> + <member name="F:NUnit.Framework.ActionTargets.Default"> <summary> - Null represents a null value, which cannot be used as an - argument to an attriute under .NET 1.x + Default target, which is determined by where the action attribute is attached </summary> </member> - <member name="T:NUnit.Framework.SetUICultureAttribute"> + <member name="F:NUnit.Framework.ActionTargets.Test"> <summary> - Summary description for SetUICultureAttribute. + Target a individual test case </summary> </member> - <member name="M:NUnit.Framework.SetUICultureAttribute.#ctor(System.String)"> + <member name="F:NUnit.Framework.ActionTargets.Suite"> <summary> - Construct given the name of a culture + Target a suite of test cases </summary> - <param name="culture"></param> </member> <member name="T:NUnit.Framework.TestDelegate"> <summary> @@ -7783,6 +5766,43 @@ <param name="code">A TestDelegate to be executed</param> <param name="constraint">A ThrowsConstraint used in the test</param> </member> + <member name="M:NUnit.Framework.Assert.ByVal(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + Used as a synonym for That in rare cases where a private setter + causes a Visual Basic compilation error. + </summary> + <param name="expression">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + </member> + <member name="M:NUnit.Framework.Assert.ByVal(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + Used as a synonym for That in rare cases where a private setter + causes a Visual Basic compilation error. + </summary> + <param name="expression">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.Assert.ByVal(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + Used as a synonym for That in rare cases where a private setter + causes a Visual Basic compilation error. + </summary> + <remarks> + This method is provided for use by VB developers needing to test + the value of properties with private setters. + </remarks> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> <member name="M:NUnit.Framework.Assert.Throws(NUnit.Framework.Constraints.IResolveConstraint,NUnit.Framework.TestDelegate,System.String,System.Object[])"> <summary> Verifies that a delegate throws a particular exception when called. @@ -8233,7 +6253,7 @@ </summary> <param name="aString">The string to be tested</param> </member> - <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.ICollection,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> <summary> Assert that an array, list or other collection is empty </summary> @@ -8241,14 +6261,14 @@ <param name="message">The message to display in case of failure</param> <param name="args">Array of objects to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.ICollection,System.String)"> + <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.IEnumerable,System.String)"> <summary> Assert that an array, list or other collection is empty </summary> <param name="collection">An array, list or other collection implementing ICollection</param> <param name="message">The message to display in case of failure</param> </member> - <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.ICollection)"> + <member name="M:NUnit.Framework.Assert.IsEmpty(System.Collections.IEnumerable)"> <summary> Assert that an array, list or other collection is empty </summary> @@ -8275,7 +6295,7 @@ </summary> <param name="aString">The string to be tested</param> </member> - <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.ICollection,System.String,System.Object[])"> + <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> <summary> Assert that an array, list or other collection is not empty </summary> @@ -8283,14 +6303,14 @@ <param name="message">The message to display in case of failure</param> <param name="args">Array of objects to be used in formatting the message</param> </member> - <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.ICollection,System.String)"> + <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.IEnumerable,System.String)"> <summary> Assert that an array, list or other collection is not empty </summary> <param name="collection">An array, list or other collection implementing ICollection</param> <param name="message">The message to display in case of failure</param> </member> - <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.ICollection)"> + <member name="M:NUnit.Framework.Assert.IsNotEmpty(System.Collections.IEnumerable)"> <summary> Assert that an array, list or other collection is not empty </summary> @@ -10090,6 +8110,712 @@ resets the counter to zero. </summary> </member> + <member name="T:NUnit.Framework.AssertionHelper"> + <summary> + AssertionHelper is an optional base class for user tests, + allowing the use of shorter names for constraints and + asserts and avoiding conflict with the definition of + <see cref="T:NUnit.Framework.Is"/>, from which it inherits much of its + behavior, in certain mock object frameworks. + </summary> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. Works + identically to Assert.That + </summary> + <param name="constraint">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. Works + identically to Assert.That. + </summary> + <param name="constraint">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. Works + identically to Assert.That + </summary> + <param name="constraint">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="expr">A Constraint expression to be applied</param> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="expr">A Constraint expression to be applied</param> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + <param name="expr">A Constraint expression to be applied</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="constraint">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="constraint">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an assertion exception on failure. + </summary> + <param name="expression">A Constraint to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean,System.String,System.Object[])"> + <summary> + Asserts that a condition is true. If the condition is false the method throws + an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically to Assert.That. + </summary> + <param name="condition">The evaluated condition</param> + <param name="message">The message to display if the condition is false</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean,System.String)"> + <summary> + Asserts that a condition is true. If the condition is false the method throws + an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically to Assert.That. + </summary> + <param name="condition">The evaluated condition</param> + <param name="message">The message to display if the condition is false</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(System.Boolean)"> + <summary> + Asserts that a condition is true. If the condition is false the method throws + an <see cref="T:NUnit.Framework.AssertionException"/>. Works Identically Assert.That. + </summary> + <param name="condition">The evaluated condition</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Expect(NUnit.Framework.TestDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + </summary> + <param name="code">A TestDelegate to be executed</param> + <param name="constraint">A ThrowsConstraint used in the test</param> + </member> + <member name="M:NUnit.Framework.AssertionHelper.Map(System.Collections.ICollection)"> + <summary> + Returns a ListMapper based on a collection. + </summary> + <param name="original">The original collection</param> + <returns></returns> + </member> + <member name="T:NUnit.Framework.Assume"> + <summary> + Provides static methods to express the assumptions + that must be met for a test to give a meaningful + result. If an assumption is not met, the test + should produce an inconclusive result. + </summary> + </member> + <member name="M:NUnit.Framework.Assume.Equals(System.Object,System.Object)"> + <summary> + The Equals method throws an AssertionException. This is done + to make sure there is no mistake by calling this function. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.Assume.ReferenceEquals(System.Object,System.Object)"> + <summary> + override the default ReferenceEquals to throw an AssertionException. This + implementation makes sure there is no mistake in calling this function + as part of Assert. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Object,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expr">A Constraint expression to be applied</param> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + </member> + <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expr">A Constraint expression to be applied</param> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.Constraints.ActualValueDelegate,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to an actual value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="del">An ActualValueDelegate returning the value to be tested</param> + <param name="expr">A Constraint expression to be applied</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + </member> + <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String)"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.Assume.That``1(``0@,NUnit.Framework.Constraints.IResolveConstraint,System.String,System.Object[])"> + <summary> + Apply a constraint to a referenced value, succeeding if the constraint + is satisfied and throwing an InconclusiveException on failure. + </summary> + <param name="expression">A Constraint expression to be applied</param> + <param name="actual">The actual value to test</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Boolean,System.String,System.Object[])"> + <summary> + Asserts that a condition is true. If the condition is false the method throws + an <see cref="T:NUnit.Framework.InconclusiveException"/>. + </summary> + <param name="condition">The evaluated condition</param> + <param name="message">The message to display if the condition is false</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Boolean,System.String)"> + <summary> + Asserts that a condition is true. If the condition is false the method throws + an <see cref="T:NUnit.Framework.InconclusiveException"/>. + </summary> + <param name="condition">The evaluated condition</param> + <param name="message">The message to display if the condition is false</param> + </member> + <member name="M:NUnit.Framework.Assume.That(System.Boolean)"> + <summary> + Asserts that a condition is true. If the condition is false the + method throws an <see cref="T:NUnit.Framework.InconclusiveException"/>. + </summary> + <param name="condition">The evaluated condition</param> + </member> + <member name="M:NUnit.Framework.Assume.That(NUnit.Framework.TestDelegate,NUnit.Framework.Constraints.IResolveConstraint)"> + <summary> + Asserts that the code represented by a delegate throws an exception + that satisfies the constraint provided. + </summary> + <param name="code">A TestDelegate to be executed</param> + <param name="constraint">A ThrowsConstraint used in the test</param> + </member> + <member name="T:NUnit.Framework.CollectionAssert"> + <summary> + A set of Assert methods operationg on one or more collections + </summary> + </member> + <member name="M:NUnit.Framework.CollectionAssert.Equals(System.Object,System.Object)"> + <summary> + The Equals method throws an AssertionException. This is done + to make sure there is no mistake by calling this function. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.ReferenceEquals(System.Object,System.Object)"> + <summary> + override the default ReferenceEquals to throw an AssertionException. This + implementation makes sure there is no mistake in calling this function + as part of Assert. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type)"> + <summary> + Asserts that all items contained in collection are of the type specified by expectedType. + </summary> + <param name="collection">IEnumerable containing objects to be considered</param> + <param name="expectedType">System.Type that all objects in collection must be instances of</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type,System.String)"> + <summary> + Asserts that all items contained in collection are of the type specified by expectedType. + </summary> + <param name="collection">IEnumerable containing objects to be considered</param> + <param name="expectedType">System.Type that all objects in collection must be instances of</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreInstancesOfType(System.Collections.IEnumerable,System.Type,System.String,System.Object[])"> + <summary> + Asserts that all items contained in collection are of the type specified by expectedType. + </summary> + <param name="collection">IEnumerable containing objects to be considered</param> + <param name="expectedType">System.Type that all objects in collection must be instances of</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable)"> + <summary> + Asserts that all items contained in collection are not equal to null. + </summary> + <param name="collection">IEnumerable containing objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that all items contained in collection are not equal to null. + </summary> + <param name="collection">IEnumerable containing objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreNotNull(System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that all items contained in collection are not equal to null. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable)"> + <summary> + Ensures that every object contained in collection exists within the collection + once and only once. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable,System.String)"> + <summary> + Ensures that every object contained in collection exists within the collection + once and only once. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AllItemsAreUnique(System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Ensures that every object contained in collection exists within the collection + once and only once. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer)"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are exactly equal. The collections must have the same count, + and contain the exact same objects in the same order. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that expected and actual are not exactly equal. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer)"> + <summary> + Asserts that expected and actual are not exactly equal. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that expected and actual are not exactly equal. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> + <summary> + Asserts that expected and actual are not exactly equal. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are not exactly equal. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEqual(System.Collections.IEnumerable,System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are not exactly equal. + If comparer is not null then it will be used to compare the objects. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="comparer">The IComparer to use in comparing objects from each IEnumerable</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that expected and actual are not equivalent. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that expected and actual are not equivalent. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.AreNotEquivalent(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that expected and actual are not equivalent. + </summary> + <param name="expected">The first IEnumerable of objects to be considered</param> + <param name="actual">The second IEnumerable of objects to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object)"> + <summary> + Asserts that collection contains actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object to be found within collection</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object,System.String)"> + <summary> + Asserts that collection contains actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object to be found within collection</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.Contains(System.Collections.IEnumerable,System.Object,System.String,System.Object[])"> + <summary> + Asserts that collection contains actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object to be found within collection</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object)"> + <summary> + Asserts that collection does not contain actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object that cannot exist within collection</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object,System.String)"> + <summary> + Asserts that collection does not contain actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object that cannot exist within collection</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.DoesNotContain(System.Collections.IEnumerable,System.Object,System.String,System.Object[])"> + <summary> + Asserts that collection does not contain actual as an item. + </summary> + <param name="collection">IEnumerable of objects to be considered</param> + <param name="actual">Object that cannot exist within collection</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that superset is not a subject of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that superset is not a subject of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that superset is not a subject of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Asserts that superset is a subset of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String)"> + <summary> + Asserts that superset is a subset of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + <param name="message">The message that will be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsSubsetOf(System.Collections.IEnumerable,System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Asserts that superset is a subset of subset. + </summary> + <param name="subset">The IEnumerable superset to be considered</param> + <param name="superset">The IEnumerable subset to be considered</param> + <param name="message">The message that will be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Assert that an array, list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable,System.String)"> + <summary> + Assert that an array, list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsEmpty(System.Collections.IEnumerable)"> + <summary> + Assert that an array,list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Assert that an array, list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable,System.String)"> + <summary> + Assert that an array, list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsNotEmpty(System.Collections.IEnumerable)"> + <summary> + Assert that an array,list or other collection is empty + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.String,System.Object[])"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.String)"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="message">The message to be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable)"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer,System.String,System.Object[])"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="comparer">A custom comparer to perform the comparisons</param> + <param name="message">The message to be displayed on failure</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer,System.String)"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="comparer">A custom comparer to perform the comparisons</param> + <param name="message">The message to be displayed on failure</param> + </member> + <member name="M:NUnit.Framework.CollectionAssert.IsOrdered(System.Collections.IEnumerable,System.Collections.IComparer)"> + <summary> + Assert that an array, list or other collection is ordered + </summary> + <param name="collection">An array, list or other collection implementing IEnumerable</param> + <param name="comparer">A custom comparer to perform the comparisons</param> + </member> <member name="T:NUnit.Framework.Contains"> <summary> Static helper class used in the constraint-based syntax @@ -10109,5 +8835,2011 @@ <param name="item">The item that should be found.</param> <returns>A new CollectionContainsConstraint</returns> </member> + <member name="T:NUnit.Framework.DirectoryAssert"> + <summary> + Summary description for DirectoryAssert + </summary> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.Equals(System.Object,System.Object)"> + <summary> + The Equals method throws an AssertionException. This is done + to make sure there is no mistake by calling this function. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.ReferenceEquals(System.Object,System.Object)"> + <summary> + override the default ReferenceEquals to throw an AssertionException. This + implementation makes sure there is no mistake in calling this function + as part of Assert. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.#ctor"> + <summary> + We don't actually want any instances of this object, but some people + like to inherit from it to add other static methods. Hence, the + protected constructor disallows any instances of this object. + </summary> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String,System.String,System.Object[])"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String,System.String)"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreEqual(System.String,System.String)"> + <summary> + Verifies that two directories are equal. Two directories are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory containing the value that is expected</param> + <param name="actual">A directory containing the actual value</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + <param name="message">The message to display if directories are equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String,System.String)"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + <param name="message">The message to display if directories are equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.AreNotEqual(System.String,System.String)"> + <summary> + Asserts that two directories are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A directory path string containing the value that is expected</param> + <param name="actual">A directory path string containing the actual value</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo,System.String)"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.IO.DirectoryInfo)"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String,System.String,System.Object[])"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String,System.String)"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsEmpty(System.String)"> + <summary> + Asserts that the directory is empty. If it is not empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo,System.String)"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.IO.DirectoryInfo)"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String,System.String,System.Object[])"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String,System.String)"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="message">The message to display if directories are not equal</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotEmpty(System.String)"> + <summary> + Asserts that the directory is not empty. If it is empty + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String,System.String)"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsWithin(System.String,System.String)"> + <summary> + Asserts that path contains actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String,System.Object[])"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.IO.DirectoryInfo,System.IO.DirectoryInfo)"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String,System.String)"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + <param name="message">The message to display if directory is not within the path</param> + </member> + <member name="M:NUnit.Framework.DirectoryAssert.IsNotWithin(System.String,System.String)"> + <summary> + Asserts that path does not contain actual as a subdirectory or + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="directory">A directory to search</param> + <param name="actual">sub-directory asserted to exist under directory</param> + </member> + <member name="T:NUnit.Framework.FileAssert"> + <summary> + Summary description for FileAssert. + </summary> + </member> + <member name="M:NUnit.Framework.FileAssert.Equals(System.Object,System.Object)"> + <summary> + The Equals method throws an AssertionException. This is done + to make sure there is no mistake by calling this function. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.FileAssert.ReferenceEquals(System.Object,System.Object)"> + <summary> + override the default ReferenceEquals to throw an AssertionException. This + implementation makes sure there is no mistake in calling this function + as part of Assert. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.FileAssert.#ctor"> + <summary> + We don't actually want any instances of this object, but some people + like to inherit from it to add other static methods. Hence, the + protected constructor disallows any instances of this object. + </summary> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream,System.String,System.Object[])"> + <summary> + Verifies that two Streams are equal. Two Streams are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + <param name="message">The message to display if Streams are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream,System.String)"> + <summary> + Verifies that two Streams are equal. Two Streams are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + <param name="message">The message to display if objects are not equal</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.Stream,System.IO.Stream)"> + <summary> + Verifies that two Streams are equal. Two Streams are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo,System.String,System.Object[])"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + <param name="message">The message to display if Streams are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo,System.String)"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + <param name="message">The message to display if objects are not equal</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.IO.FileInfo,System.IO.FileInfo)"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String,System.String,System.Object[])"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + <param name="message">The message to display if Streams are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String,System.String)"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + <param name="message">The message to display if objects are not equal</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreEqual(System.String,System.String)"> + <summary> + Verifies that two files are equal. Two files are considered + equal if both are null, or if both have the same value byte for byte. + If they are not equal an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream,System.String,System.Object[])"> + <summary> + Asserts that two Streams are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + <param name="message">The message to be displayed when the two Stream are the same.</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream,System.String)"> + <summary> + Asserts that two Streams are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + <param name="message">The message to be displayed when the Streams are the same.</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.Stream,System.IO.Stream)"> + <summary> + Asserts that two Streams are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The expected Stream</param> + <param name="actual">The actual Stream</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo,System.String,System.Object[])"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + <param name="message">The message to display if Streams are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo,System.String)"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + <param name="message">The message to display if objects are not equal</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.IO.FileInfo,System.IO.FileInfo)"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">A file containing the value that is expected</param> + <param name="actual">A file containing the actual value</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + <param name="message">The message to display if Streams are not equal</param> + <param name="args">Arguments to be used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String,System.String)"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + <param name="message">The message to display if objects are not equal</param> + </member> + <member name="M:NUnit.Framework.FileAssert.AreNotEqual(System.String,System.String)"> + <summary> + Asserts that two files are not equal. If they are equal + an <see cref="T:NUnit.Framework.AssertionException"/> is thrown. + </summary> + <param name="expected">The path to a file containing the value that is expected</param> + <param name="actual">The path to a file containing the actual value</param> + </member> + <member name="T:NUnit.Framework.GlobalSettings"> + <summary> + GlobalSettings is a place for setting default values used + by the framework in performing asserts. + </summary> + </member> + <member name="F:NUnit.Framework.GlobalSettings.DefaultFloatingPointTolerance"> + <summary> + Default tolerance for floating point equality + </summary> + </member> + <member name="T:NUnit.Framework.Has"> + <summary> + Helper class with properties and methods that supply + a number of constraints used in Asserts. + </summary> + </member> + <member name="M:NUnit.Framework.Has.Exactly(System.Int32)"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding only if a specified number of them succeed. + </summary> + </member> + <member name="M:NUnit.Framework.Has.Property(System.String)"> + <summary> + Returns a new PropertyConstraintExpression, which will either + test for the existence of the named property on the object + being tested or apply any following constraint to that property. + </summary> + </member> + <member name="M:NUnit.Framework.Has.Attribute(System.Type)"> + <summary> + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + </summary> + </member> + <member name="M:NUnit.Framework.Has.Attribute``1"> + <summary> + Returns a new AttributeConstraint checking for the + presence of a particular attribute on an object. + </summary> + </member> + <member name="M:NUnit.Framework.Has.Member(System.Object)"> + <summary> + Returns a new CollectionContainsConstraint checking for the + presence of a particular object in the collection. + </summary> + </member> + <member name="P:NUnit.Framework.Has.No"> + <summary> + Returns a ConstraintExpression that negates any + following constraint. + </summary> + </member> + <member name="P:NUnit.Framework.Has.All"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + </summary> + </member> + <member name="P:NUnit.Framework.Has.Some"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if at least one of them succeeds. + </summary> + </member> + <member name="P:NUnit.Framework.Has.None"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them fail. + </summary> + </member> + <member name="P:NUnit.Framework.Has.Length"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Length property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Has.Count"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Count property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Has.Message"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the Message property of the object being tested. + </summary> + </member> + <member name="P:NUnit.Framework.Has.InnerException"> + <summary> + Returns a new ConstraintExpression, which will apply the following + constraint to the InnerException property of the object being tested. + </summary> + </member> + <member name="T:NUnit.Framework.IExpectException"> + <summary> + Interface implemented by a user fixture in order to + validate any expected exceptions. It is only called + for test methods marked with the ExpectedException + attribute. + </summary> + </member> + <member name="M:NUnit.Framework.IExpectException.HandleException(System.Exception)"> + <summary> + Method to handle an expected exception + </summary> + <param name="ex">The exception to be handled</param> + </member> + <member name="T:NUnit.Framework.Is"> + <summary> + Helper class with properties and methods that supply + a number of constraints used in Asserts. + </summary> + </member> + <member name="M:NUnit.Framework.Is.EqualTo(System.Object)"> + <summary> + Returns a constraint that tests two items for equality + </summary> + </member> + <member name="M:NUnit.Framework.Is.SameAs(System.Object)"> + <summary> + Returns a constraint that tests that two references are the same object + </summary> + </member> + <member name="M:NUnit.Framework.Is.GreaterThan(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is greater than the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.GreaterThanOrEqualTo(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is greater than or equal to the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.AtLeast(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is greater than or equal to the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.LessThan(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is less than the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.LessThanOrEqualTo(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is less than or equal to the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.AtMost(System.Object)"> + <summary> + Returns a constraint that tests whether the + actual value is less than or equal to the suppled argument + </summary> + </member> + <member name="M:NUnit.Framework.Is.TypeOf(System.Type)"> + <summary> + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.TypeOf``1"> + <summary> + Returns a constraint that tests whether the actual + value is of the exact type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.InstanceOf(System.Type)"> + <summary> + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + </summary> + </member> + <member name="M:NUnit.Framework.Is.InstanceOf``1"> + <summary> + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + </summary> + </member> + <member name="M:NUnit.Framework.Is.InstanceOfType(System.Type)"> + <summary> + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + </summary> + </member> + <member name="M:NUnit.Framework.Is.InstanceOfType``1"> + <summary> + Returns a constraint that tests whether the actual value + is of the type supplied as an argument or a derived type. + </summary> + </member> + <member name="M:NUnit.Framework.Is.AssignableFrom(System.Type)"> + <summary> + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.AssignableFrom``1"> + <summary> + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.AssignableTo(System.Type)"> + <summary> + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.AssignableTo``1"> + <summary> + Returns a constraint that tests whether the actual value + is assignable from the type supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.EquivalentTo(System.Collections.IEnumerable)"> + <summary> + Returns a constraint that tests whether the actual value + is a collection containing the same elements as the + collection supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.SubsetOf(System.Collections.IEnumerable)"> + <summary> + Returns a constraint that tests whether the actual value + is a subset of the collection supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.StringContaining(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.StringStarting(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.StringEnding(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.StringMatching(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value matches the Regex pattern supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Is.SamePath(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same as an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Is.SubPath(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Is.SamePathOrUnder(System.String)"> + <summary> + Returns a constraint that tests whether the path provided + is the same path or under an expected path after canonicalization. + </summary> + </member> + <member name="M:NUnit.Framework.Is.InRange``1(``0,``0)"> + <summary> + Returns a constraint that tests whether the actual value falls + within a specified range. + </summary> + </member> + <member name="P:NUnit.Framework.Is.Not"> + <summary> + Returns a ConstraintExpression that negates any + following constraint. + </summary> + </member> + <member name="P:NUnit.Framework.Is.All"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + </summary> + </member> + <member name="P:NUnit.Framework.Is.Null"> + <summary> + Returns a constraint that tests for null + </summary> + </member> + <member name="P:NUnit.Framework.Is.True"> + <summary> + Returns a constraint that tests for True + </summary> + </member> + <member name="P:NUnit.Framework.Is.False"> + <summary> + Returns a constraint that tests for False + </summary> + </member> + <member name="P:NUnit.Framework.Is.Positive"> + <summary> + Returns a constraint that tests for a positive value + </summary> + </member> + <member name="P:NUnit.Framework.Is.Negative"> + <summary> + Returns a constraint that tests for a negative value + </summary> + </member> + <member name="P:NUnit.Framework.Is.NaN"> + <summary> + Returns a constraint that tests for NaN + </summary> + </member> + <member name="P:NUnit.Framework.Is.Empty"> + <summary> + Returns a constraint that tests for empty + </summary> + </member> + <member name="P:NUnit.Framework.Is.Unique"> + <summary> + Returns a constraint that tests whether a collection + contains all unique items. + </summary> + </member> + <member name="P:NUnit.Framework.Is.BinarySerializable"> + <summary> + Returns a constraint that tests whether an object graph is serializable in binary format. + </summary> + </member> + <member name="P:NUnit.Framework.Is.XmlSerializable"> + <summary> + Returns a constraint that tests whether an object graph is serializable in xml format. + </summary> + </member> + <member name="P:NUnit.Framework.Is.Ordered"> + <summary> + Returns a constraint that tests whether a collection is ordered + </summary> + </member> + <member name="T:NUnit.Framework.Iz"> + <summary> + The Iz class is a synonym for Is intended for use in VB, + which regards Is as a keyword. + </summary> + </member> + <member name="T:NUnit.Framework.List"> + <summary> + The List class is a helper class with properties and methods + that supply a number of constraints used with lists and collections. + </summary> + </member> + <member name="M:NUnit.Framework.List.Map(System.Collections.ICollection)"> + <summary> + List.Map returns a ListMapper, which can be used to map + the original collection to another collection. + </summary> + <param name="actual"></param> + <returns></returns> + </member> + <member name="T:NUnit.Framework.ListMapper"> + <summary> + ListMapper is used to transform a collection used as an actual argument + producing another collection to be used in the assertion. + </summary> + </member> + <member name="M:NUnit.Framework.ListMapper.#ctor(System.Collections.ICollection)"> + <summary> + Construct a ListMapper based on a collection + </summary> + <param name="original">The collection to be transformed</param> + </member> + <member name="M:NUnit.Framework.ListMapper.Property(System.String)"> + <summary> + Produces a collection containing all the values of a property + </summary> + <param name="name">The collection of property values</param> + <returns></returns> + </member> + <member name="T:NUnit.Framework.Randomizer"> + <summary> + Randomizer returns a set of random values in a repeatable + way, to allow re-running of tests if necessary. + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.GetRandomizer(System.Reflection.MemberInfo)"> + <summary> + Get a randomizer for a particular member, returning + one that has already been created if it exists. + This ensures that the same values are generated + each time the tests are reloaded. + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.GetRandomizer(System.Reflection.ParameterInfo)"> + <summary> + Get a randomizer for a particular parameter, returning + one that has already been created if it exists. + This ensures that the same values are generated + each time the tests are reloaded. + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.#ctor"> + <summary> + Construct a randomizer using a random seed + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.#ctor(System.Int32)"> + <summary> + Construct a randomizer using a specified seed + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.GetDoubles(System.Int32)"> + <summary> + Return an array of random doubles between 0.0 and 1.0. + </summary> + <param name="count"></param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.Randomizer.GetDoubles(System.Double,System.Double,System.Int32)"> + <summary> + Return an array of random doubles with values in a specified range. + </summary> + </member> + <member name="M:NUnit.Framework.Randomizer.GetInts(System.Int32,System.Int32,System.Int32)"> + <summary> + Return an array of random ints with values in a specified range. + </summary> + </member> + <member name="P:NUnit.Framework.Randomizer.RandomSeed"> + <summary> + Get a random seed for use in creating a randomizer. + </summary> + </member> + <member name="T:NUnit.Framework.SpecialValue"> + <summary> + The SpecialValue enum is used to represent TestCase arguments + that cannot be used as arguments to an Attribute. + </summary> + </member> + <member name="F:NUnit.Framework.SpecialValue.Null"> + <summary> + Null represents a null value, which cannot be used as an + argument to an attriute under .NET 1.x + </summary> + </member> + <member name="T:NUnit.Framework.StringAssert"> + <summary> + Basic Asserts on strings. + </summary> + </member> + <member name="M:NUnit.Framework.StringAssert.Equals(System.Object,System.Object)"> + <summary> + The Equals method throws an AssertionException. This is done + to make sure there is no mistake by calling this function. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.StringAssert.ReferenceEquals(System.Object,System.Object)"> + <summary> + override the default ReferenceEquals to throw an AssertionException. This + implementation makes sure there is no mistake in calling this function + as part of Assert. + </summary> + <param name="a"></param> + <param name="b"></param> + </member> + <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string is found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String,System.String)"> + <summary> + Asserts that a string is found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.Contains(System.String,System.String)"> + <summary> + Asserts that a string is found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string is not found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String,System.String)"> + <summary> + Asserts that a string is found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotContain(System.String,System.String)"> + <summary> + Asserts that a string is found within another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string starts with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String,System.String)"> + <summary> + Asserts that a string starts with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.StartsWith(System.String,System.String)"> + <summary> + Asserts that a string starts with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string does not start with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String,System.String)"> + <summary> + Asserts that a string does not start with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotStartWith(System.String,System.String)"> + <summary> + Asserts that a string does not start with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string ends with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String,System.String)"> + <summary> + Asserts that a string ends with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.EndsWith(System.String,System.String)"> + <summary> + Asserts that a string ends with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string does not end with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String,System.String)"> + <summary> + Asserts that a string does not end with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotEndWith(System.String,System.String)"> + <summary> + Asserts that a string does not end with another string. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The string to be examined</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that two strings are equal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String,System.String)"> + <summary> + Asserts that two strings are equal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreEqualIgnoringCase(System.String,System.String)"> + <summary> + Asserts that two strings are equal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that two strings are not equal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String,System.String)"> + <summary> + Asserts that two strings are Notequal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.AreNotEqualIgnoringCase(System.String,System.String)"> + <summary> + Asserts that two strings are not equal, without regard to case. + </summary> + <param name="expected">The expected string</param> + <param name="actual">The actual string</param> + </member> + <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string matches an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be matched</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String,System.String)"> + <summary> + Asserts that a string matches an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be matched</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.IsMatch(System.String,System.String)"> + <summary> + Asserts that a string matches an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be matched</param> + <param name="actual">The actual string</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String,System.String,System.Object[])"> + <summary> + Asserts that a string does not match an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be used</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + <param name="args">Arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String,System.String)"> + <summary> + Asserts that a string does not match an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be used</param> + <param name="actual">The actual string</param> + <param name="message">The message to display in case of failure</param> + </member> + <member name="M:NUnit.Framework.StringAssert.DoesNotMatch(System.String,System.String)"> + <summary> + Asserts that a string does not match an expected regular expression pattern. + </summary> + <param name="pattern">The regex pattern to be used</param> + <param name="actual">The actual string</param> + </member> + <member name="T:NUnit.Framework.TestCaseData"> + <summary> + The TestCaseData class represents a set of arguments + and other parameter info to be used for a parameterized + test case. It provides a number of instance modifiers + for use in initializing the test case. + + Note: Instance modifiers are getters that return + the same instance after modifying it's state. + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.arguments"> + <summary> + The argument list to be provided to the test + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.expectedResult"> + <summary> + The expected result to be returned + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.hasExpectedResult"> + <summary> + Set to true if this has an expected result + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.expectedExceptionType"> + <summary> + The expected exception Type + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.expectedExceptionName"> + <summary> + The FullName of the expected exception + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.testName"> + <summary> + The name to be used for the test + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.description"> + <summary> + The description of the test + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.properties"> + <summary> + A dictionary of properties, used to add information + to tests without requiring the class to change. + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.isIgnored"> + <summary> + If true, indicates that the test case is to be ignored + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.isExplicit"> + <summary> + If true, indicates that the test case is marked explicit + </summary> + </member> + <member name="F:NUnit.Framework.TestCaseData.ignoreReason"> + <summary> + The reason for ignoring a test case + </summary> + </member> + <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object[])"> + <summary> + Initializes a new instance of the <see cref="T:TestCaseData"/> class. + </summary> + <param name="args">The arguments.</param> + </member> + <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object)"> + <summary> + Initializes a new instance of the <see cref="T:TestCaseData"/> class. + </summary> + <param name="arg">The argument.</param> + </member> + <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object,System.Object)"> + <summary> + Initializes a new instance of the <see cref="T:TestCaseData"/> class. + </summary> + <param name="arg1">The first argument.</param> + <param name="arg2">The second argument.</param> + </member> + <member name="M:NUnit.Framework.TestCaseData.#ctor(System.Object,System.Object,System.Object)"> + <summary> + Initializes a new instance of the <see cref="T:TestCaseData"/> class. + </summary> + <param name="arg1">The first argument.</param> + <param name="arg2">The second argument.</param> + <param name="arg3">The third argument.</param> + </member> + <member name="M:NUnit.Framework.TestCaseData.Returns(System.Object)"> + <summary> + Sets the expected result for the test + </summary> + <param name="result">The expected result</param> + <returns>A modified TestCaseData</returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.Throws(System.Type)"> + <summary> + Sets the expected exception type for the test + </summary> + <param name="exceptionType">Type of the expected exception.</param> + <returns>The modified TestCaseData instance</returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.Throws(System.String)"> + <summary> + Sets the expected exception type for the test + </summary> + <param name="exceptionName">FullName of the expected exception.</param> + <returns>The modified TestCaseData instance</returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetName(System.String)"> + <summary> + Sets the name of the test case + </summary> + <returns>The modified TestCaseData instance</returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetDescription(System.String)"> + <summary> + Sets the description for the test case + being constructed. + </summary> + <param name="description">The description.</param> + <returns>The modified TestCaseData instance.</returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetCategory(System.String)"> + <summary> + Applies a category to the test + </summary> + <param name="category"></param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.String)"> + <summary> + Applies a named property to the test + </summary> + <param name="propName"></param> + <param name="propValue"></param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.Int32)"> + <summary> + Applies a named property to the test + </summary> + <param name="propName"></param> + <param name="propValue"></param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.SetProperty(System.String,System.Double)"> + <summary> + Applies a named property to the test + </summary> + <param name="propName"></param> + <param name="propValue"></param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.Ignore"> + <summary> + Ignores this TestCase. + </summary> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.Ignore(System.String)"> + <summary> + Ignores this TestCase, specifying the reason. + </summary> + <param name="reason">The reason.</param> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.MakeExplicit"> + <summary> + Marks this TestCase as Explicit + </summary> + <returns></returns> + </member> + <member name="M:NUnit.Framework.TestCaseData.MakeExplicit(System.String)"> + <summary> + Marks this TestCase as Explicit, specifying the reason. + </summary> + <param name="reason">The reason.</param> + <returns></returns> + </member> + <member name="P:NUnit.Framework.TestCaseData.Arguments"> + <summary> + Gets the argument list to be provided to the test + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.Result"> + <summary> + Gets the expected result + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.HasExpectedResult"> + <summary> + Returns true if the result has been set + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.ExpectedException"> + <summary> + Gets the expected exception Type + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.ExpectedExceptionName"> + <summary> + Gets the FullName of the expected exception + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.TestName"> + <summary> + Gets the name to be used for the test + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.Description"> + <summary> + Gets the description of the test + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.Ignored"> + <summary> + Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is ignored. + </summary> + <value><c>true</c> if ignored; otherwise, <c>false</c>.</value> + </member> + <member name="P:NUnit.Framework.TestCaseData.Explicit"> + <summary> + Gets a value indicating whether this <see cref="T:NUnit.Framework.ITestCaseData"/> is explicit. + </summary> + <value><c>true</c> if explicit; otherwise, <c>false</c>.</value> + </member> + <member name="P:NUnit.Framework.TestCaseData.IgnoreReason"> + <summary> + Gets the ignore reason. + </summary> + <value>The ignore reason.</value> + </member> + <member name="P:NUnit.Framework.TestCaseData.Categories"> + <summary> + Gets a list of categories associated with this test. + </summary> + </member> + <member name="P:NUnit.Framework.TestCaseData.Properties"> + <summary> + Gets the property dictionary for this test + </summary> + </member> + <member name="T:NUnit.Framework.TestContext"> + <summary> + Provide the context information of the current test + </summary> + </member> + <member name="M:NUnit.Framework.TestContext.#ctor(System.Collections.IDictionary)"> + <summary> + Constructs a TestContext using the provided context dictionary + </summary> + <param name="context">A context dictionary</param> + </member> + <member name="P:NUnit.Framework.TestContext.CurrentContext"> + <summary> + Get the current test context. This is created + as needed. The user may save the context for + use within a test, but it should not be used + outside the test for which it is created. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.Test"> + <summary> + Gets a TestAdapter representing the currently executing test in this context. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.Result"> + <summary> + Gets a ResultAdapter representing the current result for the test + executing in this context. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.TestDirectory"> + <summary> + Gets the directory containing the current test assembly. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.WorkDirectory"> + <summary> + Gets the directory to be used for outputing files created + by this test run. + </summary> + </member> + <member name="T:NUnit.Framework.TestContext.TestAdapter"> + <summary> + TestAdapter adapts a Test for consumption by + the user test code. + </summary> + </member> + <member name="M:NUnit.Framework.TestContext.TestAdapter.#ctor(System.Collections.IDictionary)"> + <summary> + Constructs a TestAdapter for this context + </summary> + <param name="context">The context dictionary</param> + </member> + <member name="P:NUnit.Framework.TestContext.TestAdapter.Name"> + <summary> + The name of the test. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.TestAdapter.FullName"> + <summary> + The FullName of the test + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.TestAdapter.Properties"> + <summary> + The properties of the test. + </summary> + </member> + <member name="T:NUnit.Framework.TestContext.ResultAdapter"> + <summary> + ResultAdapter adapts a TestResult for consumption by + the user test code. + </summary> + </member> + <member name="M:NUnit.Framework.TestContext.ResultAdapter.#ctor(System.Collections.IDictionary)"> + <summary> + Construct a ResultAdapter for a context + </summary> + <param name="context">The context holding the result</param> + </member> + <member name="P:NUnit.Framework.TestContext.ResultAdapter.State"> + <summary> + The TestState of current test. This maps to the ResultState + used in nunit.core and is subject to change in the future. + </summary> + </member> + <member name="P:NUnit.Framework.TestContext.ResultAdapter.Status"> + <summary> + The TestStatus of current test. This enum will be used + in future versions of NUnit and so is to be preferred + to the TestState value. + </summary> + </member> + <member name="T:NUnit.Framework.TestDetails"> + <summary> + Provides details about a test + </summary> + </member> + <member name="M:NUnit.Framework.TestDetails.#ctor(System.Object,System.Reflection.MethodInfo,System.String,System.String,System.Boolean)"> + <summary> + Creates an instance of TestDetails + </summary> + <param name="fixture">The fixture that the test is a member of, if available.</param> + <param name="method">The method that implements the test, if available.</param> + <param name="fullName">The full name of the test.</param> + <param name="type">A string representing the type of test, e.g. "Test Case".</param> + <param name="isSuite">Indicates if the test represents a suite of tests.</param> + </member> + <member name="P:NUnit.Framework.TestDetails.Fixture"> + <summary> + The fixture that the test is a member of, if available. + </summary> + </member> + <member name="P:NUnit.Framework.TestDetails.Method"> + <summary> + The method that implements the test, if available. + </summary> + </member> + <member name="P:NUnit.Framework.TestDetails.FullName"> + <summary> + The full name of the test. + </summary> + </member> + <member name="P:NUnit.Framework.TestDetails.Type"> + <summary> + A string representing the type of test, e.g. "Test Case". + </summary> + </member> + <member name="P:NUnit.Framework.TestDetails.IsSuite"> + <summary> + Indicates if the test represents a suite of tests. + </summary> + </member> + <member name="T:NUnit.Framework.TestState"> + <summary> + The ResultState enum indicates the result of running a test + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Inconclusive"> + <summary> + The result is inconclusive + </summary> + </member> + <member name="F:NUnit.Framework.TestState.NotRunnable"> + <summary> + The test was not runnable. + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Skipped"> + <summary> + The test has been skipped. + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Ignored"> + <summary> + The test has been ignored. + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Success"> + <summary> + The test succeeded + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Failure"> + <summary> + The test failed + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Error"> + <summary> + The test encountered an unexpected exception + </summary> + </member> + <member name="F:NUnit.Framework.TestState.Cancelled"> + <summary> + The test was cancelled by the user + </summary> + </member> + <member name="T:NUnit.Framework.TestStatus"> + <summary> + The TestStatus enum indicates the result of running a test + </summary> + </member> + <member name="F:NUnit.Framework.TestStatus.Inconclusive"> + <summary> + The test was inconclusive + </summary> + </member> + <member name="F:NUnit.Framework.TestStatus.Skipped"> + <summary> + The test has skipped + </summary> + </member> + <member name="F:NUnit.Framework.TestStatus.Passed"> + <summary> + The test succeeded + </summary> + </member> + <member name="F:NUnit.Framework.TestStatus.Failed"> + <summary> + The test failed + </summary> + </member> + <member name="T:NUnit.Framework.Text"> + <summary> + Helper class with static methods used to supply constraints + that operate on strings. + </summary> + </member> + <member name="M:NUnit.Framework.Text.Contains(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value contains the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.DoesNotContain(System.String)"> + <summary> + Returns a constraint that fails if the actual + value contains the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.StartsWith(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value starts with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.DoesNotStartWith(System.String)"> + <summary> + Returns a constraint that fails if the actual + value starts with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.EndsWith(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value ends with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.DoesNotEndWith(System.String)"> + <summary> + Returns a constraint that fails if the actual + value ends with the substring supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.Matches(System.String)"> + <summary> + Returns a constraint that succeeds if the actual + value matches the Regex pattern supplied as an argument. + </summary> + </member> + <member name="M:NUnit.Framework.Text.DoesNotMatch(System.String)"> + <summary> + Returns a constraint that fails if the actual + value matches the pattern supplied as an argument. + </summary> + </member> + <member name="P:NUnit.Framework.Text.All"> + <summary> + Returns a ConstraintExpression, which will apply + the following constraint to all members of a collection, + succeeding if all of them succeed. + </summary> + </member> + <member name="T:NUnit.Framework.TextMessageWriter"> + <summary> + TextMessageWriter writes constraint descriptions and messages + in displayable form as a text stream. It tailors the display + of individual message components to form the standard message + format of NUnit assertion failure messages. + </summary> + </member> + <member name="F:NUnit.Framework.TextMessageWriter.Pfx_Expected"> + <summary> + Prefix used for the expected value line of a message + </summary> + </member> + <member name="F:NUnit.Framework.TextMessageWriter.Pfx_Actual"> + <summary> + Prefix used for the actual value line of a message + </summary> + </member> + <member name="F:NUnit.Framework.TextMessageWriter.PrefixLength"> + <summary> + Length of a message prefix + </summary> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.#ctor"> + <summary> + Construct a TextMessageWriter + </summary> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.#ctor(System.String,System.Object[])"> + <summary> + Construct a TextMessageWriter, specifying a user message + and optional formatting arguments. + </summary> + <param name="userMessage"></param> + <param name="args"></param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteMessageLine(System.Int32,System.String,System.Object[])"> + <summary> + Method to write single line message with optional args, usually + written to precede the general failure message, at a givel + indentation level. + </summary> + <param name="level">The indentation level of the message</param> + <param name="message">The message to be written</param> + <param name="args">Any arguments used in formatting the message</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(NUnit.Framework.Constraints.Constraint)"> + <summary> + Display Expected and Actual lines for a constraint. This + is called by MessageWriter's default implementation of + WriteMessageTo and provides the generic two-line display. + </summary> + <param name="constraint">The constraint that failed</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(System.Object,System.Object)"> + <summary> + Display Expected and Actual lines for given values. This + method may be called by constraints that need more control over + the display of actual and expected values than is provided + by the default implementation. + </summary> + <param name="expected">The expected value</param> + <param name="actual">The actual value causing the failure</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.DisplayDifferences(System.Object,System.Object,NUnit.Framework.Constraints.Tolerance)"> + <summary> + Display Expected and Actual lines for given values, including + a tolerance value on the expected line. + </summary> + <param name="expected">The expected value</param> + <param name="actual">The actual value causing the failure</param> + <param name="tolerance">The tolerance within which the test was made</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.DisplayStringDifferences(System.String,System.String,System.Int32,System.Boolean,System.Boolean)"> + <summary> + Display the expected and actual string values on separate lines. + If the mismatch parameter is >=0, an additional line is displayed + line containing a caret that points to the mismatch point. + </summary> + <param name="expected">The expected string value</param> + <param name="actual">The actual string value</param> + <param name="mismatch">The point at which the strings don't match or -1</param> + <param name="ignoreCase">If true, case is ignored in string comparisons</param> + <param name="clipping">If true, clip the strings to fit the max line length</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteConnector(System.String)"> + <summary> + Writes the text for a connector. + </summary> + <param name="connector">The connector.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WritePredicate(System.String)"> + <summary> + Writes the text for a predicate. + </summary> + <param name="predicate">The predicate.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteModifier(System.String)"> + <summary> + Write the text for a modifier. + </summary> + <param name="modifier">The modifier.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedValue(System.Object)"> + <summary> + Writes the text for an expected value. + </summary> + <param name="expected">The expected value.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteActualValue(System.Object)"> + <summary> + Writes the text for an actual value. + </summary> + <param name="actual">The actual value.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteValue(System.Object)"> + <summary> + Writes the text for a generalized value. + </summary> + <param name="val">The value.</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteCollectionElements(System.Collections.IEnumerable,System.Int32,System.Int32)"> + <summary> + Writes the text for a collection value, + starting at a particular point, to a max length + </summary> + <param name="collection">The collection containing elements to write.</param> + <param name="start">The starting point of the elements to write</param> + <param name="max">The maximum number of elements to write</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(NUnit.Framework.Constraints.Constraint)"> + <summary> + Write the generic 'Expected' line for a constraint + </summary> + <param name="constraint">The constraint that failed</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(System.Object)"> + <summary> + Write the generic 'Expected' line for a given value + </summary> + <param name="expected">The expected value</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteExpectedLine(System.Object,NUnit.Framework.Constraints.Tolerance)"> + <summary> + Write the generic 'Expected' line for a given value + and tolerance. + </summary> + <param name="expected">The expected value</param> + <param name="tolerance">The tolerance within which the test was made</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteActualLine(NUnit.Framework.Constraints.Constraint)"> + <summary> + Write the generic 'Actual' line for a constraint + </summary> + <param name="constraint">The constraint for which the actual value is to be written</param> + </member> + <member name="M:NUnit.Framework.TextMessageWriter.WriteActualLine(System.Object)"> + <summary> + Write the generic 'Actual' line for a given value + </summary> + <param name="actual">The actual value causing a failure</param> + </member> + <member name="P:NUnit.Framework.TextMessageWriter.MaxLineLength"> + <summary> + Gets or sets the maximum line length for this writer + </summary> + </member> + <member name="T:NUnit.Framework.Throws"> + <summary> + Helper class with properties and methods that supply + constraints that operate on exceptions. + </summary> + </member> + <member name="M:NUnit.Framework.Throws.TypeOf(System.Type)"> + <summary> + Creates a constraint specifying the exact type of exception expected + </summary> + </member> + <member name="M:NUnit.Framework.Throws.TypeOf``1"> + <summary> + Creates a constraint specifying the exact type of exception expected + </summary> + </member> + <member name="M:NUnit.Framework.Throws.InstanceOf(System.Type)"> + <summary> + Creates a constraint specifying the type of exception expected + </summary> + </member> + <member name="M:NUnit.Framework.Throws.InstanceOf``1"> + <summary> + Creates a constraint specifying the type of exception expected + </summary> + </member> + <member name="P:NUnit.Framework.Throws.Exception"> + <summary> + Creates a constraint specifying an expected exception + </summary> + </member> + <member name="P:NUnit.Framework.Throws.InnerException"> + <summary> + Creates a constraint specifying an exception with a given InnerException + </summary> + </member> + <member name="P:NUnit.Framework.Throws.TargetInvocationException"> + <summary> + Creates a constraint specifying an expected TargetInvocationException + </summary> + </member> + <member name="P:NUnit.Framework.Throws.ArgumentException"> + <summary> + Creates a constraint specifying an expected TargetInvocationException + </summary> + </member> + <member name="P:NUnit.Framework.Throws.InvalidOperationException"> + <summary> + Creates a constraint specifying an expected TargetInvocationException + </summary> + </member> + <member name="P:NUnit.Framework.Throws.Nothing"> + <summary> + Creates a constraint specifying that no exception is thrown + </summary> + </member> </members> </doc> |