osdir.com
mailing list archive F.A.Q. -since 2001!

Subject: Subject Deleted - Possible Spam

List: windows.devel.dotnet.rhino-mocks

windows.devel.dotnet.rhino-mocks Navigation:
Date: Prev Next Date Index Thread: Prev Next Thread Index

Website Performance Monitoring

Msg Deleted: Probably Spam

Thread at a glance:

Previous Message by Date:

Re: mocking a void method

Expect.Call(delegate { AddTaskResult(myString); });OrAddTaskResult(myString);On Thu, Sep 18, 2008 at 11:22 AM, josh <joshcoffman@xxxxxxxxx> wrote: Hi, I'm trying to mock a cruisecontrol interface (ThoughtWorks.CruiseControl.Core.IIntegrationResult), and am having trouble figuring out how to handle a void method on it (AddTaskResult).  Can someone tell me how to mock a void method? Thanks, -j Interface Method Def: void AddTaskResult(string result); void AddTaskResult(ITaskResult result); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to RhinoMocks@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to RhinoMocks+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/RhinoMocks?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Date:

Previous Message by Thread:

mocking a void method

Hi, I'm trying to mock a cruisecontrol interface (ThoughtWorks.CruiseControl.Core.IIntegrationResult), and am having trouble figuring out how to handle a void method on it (AddTaskResult). Can someone tell me how to mock a void method? Thanks, -j Interface Method Def: void AddTaskResult(string result); void AddTaskResult(ITaskResult result); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to RhinoMocks@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to RhinoMocks+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/RhinoMocks?hl=en -~----------~----~----~----~------~----~------~--~---

Next Message by Thread:

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!