|
From: <sm...@us...> - 2003-08-13 21:23:42
|
Update of /cvsroot/nmock/nmock/src/NMock
In directory sc8-pr-cvs1:/tmp/cvs-serv15955/src/NMock
Modified Files:
Mock.cs IInvocationHandler.cs
Log Message:
Changed Call to Invoke
Index: Mock.cs
===================================================================
RCS file: /cvsroot/nmock/nmock/src/NMock/Mock.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Mock.cs 8 Aug 2003 00:05:02 -0000 1.11
--- Mock.cs 13 Aug 2003 21:19:58 -0000 1.12
***************
*** 82,86 ****
}
! public virtual object Call(string methodName, params object[] args)
{
MethodSignature signature = new MethodSignature(Name, methodName, MockCall.GetArgTypes(args));
--- 82,86 ----
}
! public virtual object Invoke(string methodName, params object[] args)
{
MethodSignature signature = new MethodSignature(Name, methodName, MockCall.GetArgTypes(args));
Index: IInvocationHandler.cs
===================================================================
RCS file: /cvsroot/nmock/nmock/src/NMock/IInvocationHandler.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IInvocationHandler.cs 13 Aug 2003 19:42:39 -0000 1.1
--- IInvocationHandler.cs 13 Aug 2003 21:19:58 -0000 1.2
***************
*** 4,10 ****
{
/// <summary>
! /// Make a call to a mocked up method name to check it meets its expectations.
/// </summary>
! object Call(string methodName, params object[] args);
}
}
--- 4,12 ----
{
/// <summary>
! /// Processes a method invocation on a proxy instance and returns the result.
! /// This method will be invoked on an invocation handler when a method is invoked on a proxy instance
! /// with which the invocation handler is associated.
/// </summary>
! object Invoke(string methodName, params object[] args);
}
}
|