Update of /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15142/DotNetMock/Dynamic
Modified Files:
Tag: RFE_1001778
DynamicMock.cs DynamicOrderedMock.cs
Log Message:
- Fixed missing XML comments errors.
Index: DynamicOrderedMock.cs
===================================================================
RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/DynamicOrderedMock.cs,v
retrieving revision 1.3.2.4
retrieving revision 1.3.2.5
diff -C2 -d -r1.3.2.4 -r1.3.2.5
*** DynamicOrderedMock.cs 1 Jan 2005 22:32:08 -0000 1.3.2.4
--- DynamicOrderedMock.cs 1 Jan 2005 22:37:49 -0000 1.3.2.5
***************
*** 43,46 ****
--- 43,52 ----
}
}
+ /// <summary>
+ /// Uses the given method to verify expectations for the method. Also verifies method call order.
+ /// </summary>
+ /// <param name="mi">mathod called</param>
+ /// <param name="args">arguments to the method</param>
+ /// <returns>Return value, if any, from method call.</returns>
public override object Call(MethodInfo mi, params object[] args)
{
Index: DynamicMock.cs
===================================================================
RCS file: /cvsroot/dotnetmock/dotnetmock/DotNetMock/Dynamic/DynamicMock.cs,v
retrieving revision 1.11.2.4
retrieving revision 1.11.2.5
diff -C2 -d -r1.11.2.4 -r1.11.2.5
*** DynamicMock.cs 1 Jan 2005 22:32:08 -0000 1.11.2.4
--- DynamicMock.cs 1 Jan 2005 22:37:49 -0000 1.11.2.5
***************
*** 176,179 ****
--- 176,185 ----
values[methodName] = returnVal;
}
+ /// <summary>
+ /// Uses the given method to verify expectations for the method.
+ /// </summary>
+ /// <param name="mi">mathod called</param>
+ /// <param name="args">arguments to the method</param>
+ /// <returns>Return value, if any, from method call.</returns>
public virtual object Call(MethodInfo mi, params object[] args)
{
***************
*** 217,221 ****
list.Add(e);
}
!
protected static string getMethodName( MethodInfo mi )
{
--- 223,231 ----
list.Add(e);
}
! /// <summary>
! /// Returns the method name for the input <see cref="MethodInfo"/>. Accounts for property get and set methods.
! /// </summary>
! /// <param name="mi">method to get name from</param>
! /// <returns>methond name for input method.</returns>
protected static string getMethodName( MethodInfo mi )
{
|