From: <Ric...@us...> - 2009-06-22 22:01:06
|
Revision: 4510 http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4510&view=rev Author: RicBrown Date: 2009-06-22 22:00:03 +0000 (Mon, 22 Jun 2009) Log Message: ----------- First test and overload for ICriteria Lambda overloads. Modified Paths: -------------- trunk/nhibernate/src/NHibernate/ICriteria.cs trunk/nhibernate/src/NHibernate/Impl/CriteriaImpl.cs trunk/nhibernate/src/NHibernate/NHibernate.csproj trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.build trunk/nhibernate/src/NHibernate.Test/NHibernate.Test.csproj Added Paths: ----------- trunk/nhibernate/lib/net/3.5/Rhino.Mocks.acknowledgements.txt trunk/nhibernate/lib/net/3.5/Rhino.Mocks.dll trunk/nhibernate/lib/net/3.5/Rhino.Mocks.license.txt trunk/nhibernate/lib/net/3.5/Rhino.Mocks.xml trunk/nhibernate/src/NHibernate/Impl/ExpressionProcessor.cs trunk/nhibernate/src/NHibernate.Test/Criteria/Lambda/ trunk/nhibernate/src/NHibernate.Test/Criteria/Lambda/CriteriaFixture.cs trunk/nhibernate/src/NHibernate.Test/Criteria/Lambda/LambdaFixtureBase.cs trunk/nhibernate/src/NHibernate.Test/Criteria/Lambda/Model.cs Added: trunk/nhibernate/lib/net/3.5/Rhino.Mocks.acknowledgements.txt =================================================================== --- trunk/nhibernate/lib/net/3.5/Rhino.Mocks.acknowledgements.txt (rev 0) +++ trunk/nhibernate/lib/net/3.5/Rhino.Mocks.acknowledgements.txt 2009-06-22 22:00:03 UTC (rev 4510) @@ -0,0 +1,2 @@ +Rhino Mocks is using Castle Dynamic Proxy (http://www.castleproject.org/dynamicproxy/index.html) to handle proxying the types it needs to mock. +The Dynamic Proxy project has been invaluable resource and made creating Rhino Mocks possible. \ No newline at end of file Added: trunk/nhibernate/lib/net/3.5/Rhino.Mocks.dll =================================================================== (Binary files differ) Property changes on: trunk/nhibernate/lib/net/3.5/Rhino.Mocks.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/nhibernate/lib/net/3.5/Rhino.Mocks.license.txt =================================================================== --- trunk/nhibernate/lib/net/3.5/Rhino.Mocks.license.txt (rev 0) +++ trunk/nhibernate/lib/net/3.5/Rhino.Mocks.license.txt 2009-06-22 22:00:03 UTC (rev 4510) @@ -0,0 +1,25 @@ +Copyright (c) 2005 - 2008 Ayende Rahien (ay...@ay...) +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Ayende Rahien nor the names of its + contributors may be used to endorse or promote products derived from this + software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file Added: trunk/nhibernate/lib/net/3.5/Rhino.Mocks.xml =================================================================== --- trunk/nhibernate/lib/net/3.5/Rhino.Mocks.xml (rev 0) +++ trunk/nhibernate/lib/net/3.5/Rhino.Mocks.xml 2009-06-22 22:00:03 UTC (rev 4510) @@ -0,0 +1,5206 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>Rhino.Mocks.Partial</name> + </assembly> + <members> + <member name="T:Rhino.Mocks.Constraints.AbstractConstraint"> + <summary> + Interface for constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseAnd(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + And operator for constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_LogicalNot(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Not operator for constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_BitwiseOr(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Or operator for constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_False(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Allow overriding of || or && + </summary> + <param name="c"></param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AbstractConstraint.op_True(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Allow overriding of || or && + </summary> + <param name="c"></param> + <returns></returns> + </member> + <member name="P:Rhino.Mocks.Constraints.AbstractConstraint.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.#ctor(System.Object)"> + <summary> + Initializes a new constraint object. + </summary> + <param name="expected">The expected object, The actual object is passed in as a parameter to the <see cref="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)"/> method</param> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Eval(System.Object)"> + <summary> + Evaluate this constraint. + </summary> + <param name="obj">The actual object that was passed in the method call to the mock.</param> + <returns>True when the constraint is met, else false.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckReferenceType(System.Object,System.Object)"> + <summary> + Checks if the properties of the <paramref name="actual"/> object + are the same as the properies of the <paramref name="expected"/> object. + </summary> + <param name="expected">The expected object</param> + <param name="actual">The actual object</param> + <returns>True when both objects have the same values, else False.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckValue(System.Object,System.Object)"> + <summary> + + </summary> + <param name="expected"></param> + <param name="actual"></param> + <returns></returns> + <remarks>This is the real heart of the beast.</remarks> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckProperties(System.Object,System.Object)"> + <summary> + Used by CheckReferenceType to check all properties of the reference type. + </summary> + <param name="expected">The expected object</param> + <param name="actual">The actual object</param> + <returns>True when both objects have the same values, else False.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckFields(System.Object,System.Object)"> + <summary> + Used by CheckReferenceType to check all fields of the reference type. + </summary> + <param name="expected">The expected object</param> + <param name="actual">The actual object</param> + <returns>True when both objects have the same values, else False.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.CheckCollection(System.Collections.IEnumerable,System.Collections.IEnumerable)"> + <summary> + Checks the items of both collections + </summary> + <param name="expectedCollection">The expected collection</param> + <param name="actualCollection"></param> + <returns>True if both collections contain the same items in the same order.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.BuildPropertyName"> + <summary> + Builds a propertyname from the Stack _properties like 'Order.Product.Price' + to be used in the error message. + </summary> + <returns>A nested property name.</returns> + </member> + <member name="P:Rhino.Mocks.Constraints.AllPropertiesMatchConstraint.Message"> + <summary> + Rhino.Mocks uses this property to generate an error message. + </summary> + <value> + A message telling the tester why the constraint failed. + </value> + </member> + <member name="T:Rhino.Mocks.Constraints.PublicFieldIs"> + <summary> + Constrain that the public field has a specified value + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.PublicFieldConstraint"> + <summary> + Constrain that the public field matches another constraint. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance. + </summary> + <param name="publicFieldName">Name of the public field.</param> + <param name="constraint">Constraint to place on the public field value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldConstraint"/> instance, specifying a disambiguating + <paramref name="declaringType"/> for the public field. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <param name="constraint">Constraint to place on the public field value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicFieldConstraint.Eval(System.Object)"> + <summary> + Determines if the object passes the constraint. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.PublicFieldConstraint.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.String,System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance. + </summary> + <param name="publicFieldName">Name of the public field.</param> + <param name="expectedValue">Expected value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicFieldIs.#ctor(System.Type,System.String,System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PublicFieldIs"/> instance, specifying a disambiguating + <paramref name="declaringType"/> for the public field. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <param name="expectedValue">Expected value.</param> + </member> + <member name="T:Rhino.Mocks.Constraints.PropertyIs"> + <summary> + Constrain that the property has a specified value + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.PropertyConstraint"> + <summary> + Constrain that the property matches another constraint. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance. + </summary> + <param name="propertyName">Name of the property.</param> + <param name="constraint">Constraint to place on the property value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.#ctor(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyConstraint"/> instance, specifying a disambiguating + <paramref name="declaringType"/> for the property. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <param name="constraint">Constraint to place on the property value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PropertyConstraint.Eval(System.Object)"> + <summary> + Determines if the object passes the constraint. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.PropertyConstraint.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.String,System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance. + </summary> + <param name="propertyName">Name of the property.</param> + <param name="expectedValue">Expected value.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PropertyIs.#ctor(System.Type,System.String,System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.PropertyIs"/> instance, specifying a disambiguating + <paramref name="declaringType"/> for the property. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <param name="expectedValue">Expected value.</param> + </member> + <member name="T:Rhino.Mocks.Constraints.TypeOf"> + <summary> + Constrain that the parameter must be of the specified type + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.TypeOf.#ctor(System.Type)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.TypeOf"/> instance. + </summary> + <param name="type">Type.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.TypeOf.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.TypeOf.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Same"> + <summary> + Constraint that determines whether an object is the same object as another. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Same.#ctor(System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance. + </summary> + <param name="obj">Obj.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Same.Eval(System.Object)"> + <summary> + Determines if the object passes the constraints. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Same.Message"> + <summary> + Gets the message for this constraint. + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.PredicateConstraint`1"> + <summary> + Evaluate a parameter using constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.#ctor(System.Predicate{`0})"> + <summary> + Create new instance + </summary> + <param name="predicate"></param> + </member> + <member name="M:Rhino.Mocks.Constraints.PredicateConstraint`1.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.PredicateConstraint`1.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.CollectionEqual"> + <summary> + Constrain that the list contains the same items as the parameter list + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.CollectionEqual.#ctor(System.Collections.IEnumerable)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionEqual"/> instance. + </summary> + <param name="collection">In list.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.CollectionEqual.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.CollectionEqual.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.OneOf"> + <summary> + Constrain that the parameter is one of the items in the list + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.OneOf.#ctor(System.Collections.IEnumerable)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.OneOf"/> instance. + </summary> + <param name="collection">In list.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.OneOf.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.OneOf.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.IsIn"> + <summary> + Constrain that the object is inside the parameter list + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.IsIn.#ctor(System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.IsIn"/> instance. + </summary> + <param name="inList">In list.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsIn.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.IsIn.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.CollectionCount"> + <summary> + Applies another AbstractConstraint to the collection count. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.CollectionCount.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.CollectionCount"/> instance. + </summary> + <param name="constraint">The constraint that should be applied to the collection count.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.CollectionCount.Eval(System.Object)"> + <summary> + Determines if the parameter conforms to this constraint. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.CollectionCount.Message"> + <summary> + Gets the message for this constraint. + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.ListElement"> + <summary> + Applies another AbstractConstraint to a specific list element. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ListElement.#ctor(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.ListElement"/> instance. + </summary> + <param name="index">The zero-based index of the list element.</param> + <param name="constraint">The constraint that should be applied to the list element.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.ListElement.Eval(System.Object)"> + <summary> + Determines if the parameter conforms to this constraint. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.ListElement.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.KeyedListElement`1"> + <summary> + Applies another AbstractConstraint to a specific generic keyed list element. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.#ctor(`0,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:KeyedListElement"/> instance. + </summary> + <param name="key">The key of the list element.</param> + <param name="constraint">The constraint that should be applied to the list element.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.KeyedListElement`1.Eval(System.Object)"> + <summary> + Determines if the parameter conforms to this constraint. + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.KeyedListElement`1.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.ContainsAll"> + <summary> + Constrains that all elements are in the parameter list + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ContainsAll.#ctor(System.Collections.IEnumerable)"> + <summary> + Initializes a new instance of the <see cref="T:Rhino.Mocks.Constraints.ContainsAll"/> class. + </summary> + <param name="these">The these.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.ContainsAll.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + <param name="obj"></param> + <returns></returns> + </member> + <member name="P:Rhino.Mocks.Constraints.ContainsAll.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Or"> + <summary> + Combines two constraints, constraint pass if either is fine. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Or.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance. + </summary> + <param name="c1">C1.</param> + <param name="c2">C2.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Or.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Or.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Not"> + <summary> + Negate a constraint + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Not.#ctor(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance. + </summary> + <param name="c1">C1.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Not.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Not.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.And"> + <summary> + Combines two constraints + </summary> + <remarks></remarks> + </member> + <member name="M:Rhino.Mocks.Constraints.And.#ctor(Rhino.Mocks.Constraints.AbstractConstraint,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.And"/> instance. + </summary> + <param name="c1">C1.</param> + <param name="c2">C2.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.And.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.And.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Like"> + <summary> + Constrain the argument to validate according to regex pattern + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Like.#ctor(System.String)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.Like"/> instance. + </summary> + <param name="pattern">Pattern.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Like.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Like.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Contains"> + <summary> + Constraint that evaluate whatever an argument contains the specified string. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Contains.#ctor(System.String)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.Contains"/> instance. + </summary> + <param name="innerString">Inner string.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Contains.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Contains.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.EndsWith"> + <summary> + Constraint that evaluate whatever an argument ends with the specified string + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.EndsWith.#ctor(System.String)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.EndsWith"/> instance. + </summary> + <param name="end">End.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.EndsWith.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.EndsWith.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.StartsWith"> + <summary> + Constraint that evaluate whatever an argument start with the specified string + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.StartsWith.#ctor(System.String)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.StartsWith"/> instance. + </summary> + <param name="start">Start.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.StartsWith.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.StartsWith.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Equal"> + <summary> + Constraint that evaluate whatever an object equals another + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Equal.#ctor(System.Object)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.Equal"/> instance. + </summary> + <param name="obj">Obj.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Equal.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Equal.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Anything"> + <summary> + Constraint that always returns true + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Anything.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.Anything.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.ComparingConstraint"> + <summary> + Constraint that evaluate whatever a comparable is greater than another + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.#ctor(System.IComparable,System.Boolean,System.Boolean)"> + <summary> + Creates a new <see cref="T:Rhino.Mocks.Constraints.ComparingConstraint"/> instance. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ComparingConstraint.Eval(System.Object)"> + <summary> + determains if the object pass the constraints + </summary> + </member> + <member name="P:Rhino.Mocks.Constraints.ComparingConstraint.Message"> + <summary> + Gets the message for this constraint + </summary> + <value></value> + </member> + <member name="T:Rhino.Mocks.Constraints.Is"> + <summary> + Central location for constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.GreaterThan(System.IComparable)"> + <summary> + Evaluate a greater than constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be greater than</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.LessThan(System.IComparable)"> + <summary> + Evaluate a less than constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be less than</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.LessThanOrEqual(System.IComparable)"> + <summary> + Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be less than or equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.GreaterThanOrEqual(System.IComparable)"> + <summary> + Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be greater than or equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.Equal(System.Object)"> + <summary> + Evaluate an equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="obj">The object the parameter should equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.NotEqual(System.Object)"> + <summary> + Evaluate a not equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="obj">The object the parameter should not equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.Same(System.Object)"> + <summary> + Evaluate a same as constraint. + </summary> + <param name="obj">The object the parameter should the same as.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.NotSame(System.Object)"> + <summary> + Evaluate a not same as constraint. + </summary> + <param name="obj">The object the parameter should not be the same as.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.Anything"> + <summary> + A constraints that accept anything + </summary> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.Null"> + <summary> + A constraint that accept only nulls + </summary> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.NotNull"> + <summary> + A constraint that accept only non null values + </summary> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.TypeOf(System.Type)"> + <summary> + A constraint that accept only value of the specified type + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.TypeOf``1"> + <summary> + A constraint that accept only value of the specified type + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Is.Matching``1(System.Predicate{``0})"> + <summary> + Evaluate a parameter using a predicate + </summary> + <param name="predicate">The predicate to use</param> + </member> + <member name="T:Rhino.Mocks.Constraints.IsArg`1"> + <summary> + Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Is"/> to be used in context + with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax. + </summary> + <typeparam name="T">The type of the argument</typeparam> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThan(System.IComparable)"> + <summary> + Evaluate a greater than constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be greater than</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThan(System.IComparable)"> + <summary> + Evaluate a less than constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be less than</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.LessThanOrEqual(System.IComparable)"> + <summary> + Evaluate a less than or equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be less than or equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.GreaterThanOrEqual(System.IComparable)"> + <summary> + Evaluate a greater than or equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="objToCompare">The object the parameter should be greater than or equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equal(System.Object)"> + <summary> + Evaluate an equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="obj">The object the parameter should equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotEqual(System.Object)"> + <summary> + Evaluate a not equal constraint for <see cref="T:System.IComparable"/>. + </summary> + <param name="obj">The object the parameter should not equal to</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.Same(System.Object)"> + <summary> + Evaluate a same as constraint. + </summary> + <param name="obj">The object the parameter should the same as.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.NotSame(System.Object)"> + <summary> + Evaluate a not same as constraint. + </summary> + <param name="obj">The object the parameter should not be the same as.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.Equals(System.Object)"> + <summary> + Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead. + </summary> + <param name="obj"></param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.IsArg`1.GetHashCode"> + <summary> + Serves as a hash function for a particular type. + </summary> + <returns> + A hash code for the current <see cref="T:System.Object"/>. + </returns> + </member> + <member name="P:Rhino.Mocks.Constraints.IsArg`1.Anything"> + <summary> + A constraints that accept anything + </summary> + <returns></returns> + </member> + <member name="P:Rhino.Mocks.Constraints.IsArg`1.Null"> + <summary> + A constraint that accept only nulls + </summary> + <returns></returns> + </member> + <member name="P:Rhino.Mocks.Constraints.IsArg`1.NotNull"> + <summary> + A constraint that accept only non null values + </summary> + <returns></returns> + </member> + <member name="P:Rhino.Mocks.Constraints.IsArg`1.TypeOf"> + <summary> + A constraint that accept only value of the specified type. + The check is performed on the type that has been defined + as the argument type. + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.List"> + <summary> + Central location for constraints about lists and collections + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.List.IsIn(System.Object)"> + <summary> + Determines whether the specified obj is in the paramter. + The parameter must be IEnumerable. + </summary> + <param name="obj">Obj.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.List.OneOf(System.Collections.IEnumerable)"> + <summary> + Determains whatever the parameter is in the collection. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.List.Equal(System.Collections.IEnumerable)"> + <summary> + Determains that the parameter collection is identical to the specified collection + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.List.Count(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Determines that the parameter collection has the specified number of elements. + </summary> + <param name="constraint">The constraint that should be applied to the collection count.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.List.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Determines that an element of the parameter collections conforms to another AbstractConstraint. + </summary> + <param name="index">The zero-based index of the list element.</param> + <param name="constraint">The constraint which should be applied to the list element.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.List.Element``1(``0,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Determines that an element of the parameter collections conforms to another AbstractConstraint. + </summary> + <param name="key">The key of the element.</param> + <param name="constraint">The constraint which should be applied to the element.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.List.ContainsAll(System.Collections.IEnumerable)"> + <summary> + Determines that all elements of the specified collection are in the the parameter collection + </summary> + <param name="collection">The collection to compare against</param> + <returns>The constraint which should be applied to the list parameter.</returns> + </member> + <member name="T:Rhino.Mocks.Constraints.ListArg`1"> + <summary> + Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context + with the <see cref="T:Rhino.Mocks.Arg`1"/> syntax. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.IsIn(System.Object)"> + <summary> + Determines whether the specified object is in the paramter. + The parameter must be IEnumerable. + </summary> + <param name="obj">Obj.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.OneOf(System.Collections.IEnumerable)"> + <summary> + Determains whatever the parameter is in the collection. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equal(System.Collections.IEnumerable)"> + <summary> + Determains that the parameter collection is identical to the specified collection + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.Count(Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Determines that the parameter collection has the specified number of elements. + </summary> + <param name="constraint">The constraint that should be applied to the collection count.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.Element(System.Int32,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Determines that an element of the parameter collections conforms to another AbstractConstraint. + </summary> + <param name="index">The zero-based index of the list element.</param> + <param name="constraint">The constraint which should be applied to the list element.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.ContainsAll(System.Collections.IEnumerable)"> + <summary> + Determines that all elements of the specified collection are in the the parameter collection + </summary> + <param name="collection">The collection to compare against</param> + <returns>The constraint which should be applied to the list parameter.</returns> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.Equals(System.Object)"> + <summary> + Throws NotSupportedException. Don't use Equals to define constraints. Use Equal instead. + </summary> + <param name="obj"></param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.ListArg`1.GetHashCode"> + <summary> + Serves as a hash function for a particular type. + </summary> + <returns> + A hash code for the current <see cref="T:System.Object"/>. + </returns> + </member> + <member name="T:Rhino.Mocks.Constraints.OutRefArgDummy`1"> + <summary> + Provides a dummy field to pass as out or ref argument. + </summary> + <typeparam name="T"></typeparam> + </member> + <member name="F:Rhino.Mocks.Constraints.OutRefArgDummy`1.Dummy"> + <summary> + Dummy field to satisfy the compiler. Used for out and ref arguments. + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.Property"> + <summary> + Central location for constraints for object's properties + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.Value(System.String,System.Object)"> + <summary> + Constrains the parameter to have property with the specified value + </summary> + <param name="propertyName">Name of the property.</param> + <param name="expectedValue">Expected value.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.Value(System.Type,System.String,System.Object)"> + <summary> + Constrains the parameter to have property with the specified value. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <param name="expectedValue">Expected value.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Constrains the parameter to have a property satisfying a specified constraint. + </summary> + <param name="propertyName">Name of the property.</param> + <param name="propertyConstraint">Constraint for the property.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Constrains the parameter to have a property satisfying a specified constraint. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <param name="propertyConstraint">Constraint for the property.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.String)"> + <summary> + Determines whether the parameter has the specified property and that it is null. + </summary> + <param name="propertyName">Name of the property.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.IsNull(System.Type,System.String)"> + <summary> + Determines whether the parameter has the specified property and that it is null. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.String)"> + <summary> + Determines whether the parameter has the specified property and that it is not null. + </summary> + <param name="propertyName">Name of the property.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.IsNotNull(System.Type,System.String)"> + <summary> + Determines whether the parameter has the specified property and that it is not null. + </summary> + <param name="declaringType">The type that declares the property, used to disambiguate between properties.</param> + <param name="propertyName">Name of the property.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.Property.AllPropertiesMatch(System.Object)"> + <summary> + constraints the parameter to have the exact same property values as the expected object. + </summary> + <param name="expected">An object, of the same type as the parameter, whose properties are set with the expected values.</param> + <returns>An instance of the constraint that will do the actual check.</returns> + <remarks> + The parameter's public property values and public field values will be matched against the expected object's + public property values and public field values. The first mismatch will be reported and no further matching is done. + The matching is recursive for any property or field that has properties or fields of it's own. + Collections are supported through IEnumerable, which means the constraint will check if the actual and expected + collection contain the same values in the same order, where the values contained by the collection can have properties + and fields of their own that will be checked as well because of the recursive nature of this constraint. + </remarks> + </member> + <member name="T:Rhino.Mocks.Constraints.PublicField"> + <summary> + Central location for constraints for object's public fields + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.String,System.Object)"> + <summary> + Constrains the parameter to have a public field with the specified value + </summary> + <param name="publicFieldName">Name of the public field.</param> + <param name="expectedValue">Expected value.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.Value(System.Type,System.String,System.Object)"> + <summary> + Constrains the parameter to have a public field with the specified value. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <param name="expectedValue">Expected value.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Constrains the parameter to have a public field satisfying a specified constraint. + </summary> + <param name="publicFieldName">Name of the public field.</param> + <param name="publicFieldConstraint">Constraint for the public field.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.ValueConstraint(System.Type,System.String,Rhino.Mocks.Constraints.AbstractConstraint)"> + <summary> + Constrains the parameter to have a public field satisfying a specified constraint. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <param name="publicFieldConstraint">Constraint for the public field.</param> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.String)"> + <summary> + Determines whether the parameter has the specified public field and that it is null. + </summary> + <param name="publicFieldName">Name of the public field.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.IsNull(System.Type,System.String)"> + <summary> + Determines whether the parameter has the specified public field and that it is null. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.String)"> + <summary> + Determines whether the parameter has the specified public field and that it is not null. + </summary> + <param name="publicFieldName">Name of the public field.</param> + <returns></returns> + </member> + <member name="M:Rhino.Mocks.Constraints.PublicField.IsNotNull(System.Type,System.String)"> + <summary> + Determines whether the parameter has the specified public field and that it is not null. + </summary> + <param name="declaringType">The type that declares the public field, used to disambiguate between public fields.</param> + <param name="publicFieldName">Name of the public field.</param> + <returns></returns> + </member> + <member name="T:Rhino.Mocks.Constraints.Text"> + <summary> + Central location for all text related constraints + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Text.StartsWith(System.String)"> + <summary> + Constrain the argument to starts with the specified string + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Text.EndsWith(System.String)"> + <summary> + Constrain the argument to end with the specified string + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Text.Contains(System.String)"> + <summary> + Constrain the argument to contain the specified string + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.Text.Like(System.String)"> + <summary> + Constrain the argument to validate according to regex pattern + </summary> + </member> + <member name="T:Rhino.Mocks.Constraints.TextArg"> + <summary> + Provides access to the constraintes defined in the class <see cref="T:Rhino.Mocks.Constraints.Text"/> to be used in context + with the <see cref="T:Rhino.Mocks.Arg"/> syntax. + </summary> + </member> + <member name="M:Rhino.Mocks.Constraints.TextArg.StartsWith(System.String)"> + <summary> + Constrain the argument to starts with the specified string + </summary> + ... [truncated message content] |