Rhino Mocks 3.5 released

1 view
Skip to first unread message

Ayende Rahien

unread,
Oct 4, 2008, 10:01:37 PM10/4/08
to Rhino...@googlegroups.com
You can read about it here  Rhino Mocks 3.5 RTM

Alex McMahon

unread,
Oct 6, 2008, 11:24:59 AM10/6/08
to Rhino...@googlegroups.com
Ayende,

Not sure if I'm missing something, but where is the Rhino.Mocks.xml documentation file for this release?

Isn't this necessary to get intellisense on the Rhino Mocks API?

Loving all the new syntax though!

Tim Barcz

unread,
Oct 6, 2008, 11:47:38 AM10/6/08
to Rhino...@googlegroups.com
I rebuilt the source on my machine and have attached the Rhino.Mocks.XML file

Hope that helps....
Rhino.Mocks.XML

Ayende Rahien

unread,
Oct 6, 2008, 2:49:54 PM10/6/08
to Rhino...@googlegroups.com
Yes, it is, I forgot to add it to the build script.
I'll do it tonight.

Tim Barcz

unread,
Oct 6, 2008, 3:57:03 PM10/6/08
to Rhino...@googlegroups.com
Oren,

Here's a patch.

I also made a small change to the release.cmd file so that it would use the nant.exe in the sharedLib/tools folder.  Discard if you wish.

Tim
rhino patch.patch

Ayende Rahien

unread,
Oct 7, 2008, 10:27:20 AM10/7/08
to Rhino...@googlegroups.com
Applied, thanks.

Tim Barcz

unread,
Oct 7, 2008, 10:35:04 AM10/7/08
to Rhino...@googlegroups.com
Can I print and frame this email?

Shane Courtrille

unread,
Oct 7, 2008, 10:40:01 AM10/7/08
to Rhino...@googlegroups.com
Danger Will Robinson.. Danger...

Ayende reacts violently to hero worship.. or at least threatens too :)

Tim Barcz

unread,
Oct 7, 2008, 10:41:29 AM10/7/08
to Rhino...@googlegroups.com
No hero worship but first patch submitted to any project....

Shane Courtrille

unread,
Oct 7, 2008, 10:43:01 AM10/7/08
to Rhino...@googlegroups.com
Heh in the nomenclature of World of Warcraft... Ding! Gratz!

Ayende Rahien

unread,
Oct 7, 2008, 10:46:55 AM10/7/08
to Rhino...@googlegroups.com
Congrats, but I did mention the ninja squad, didn't I?

Tim Barcz

unread,
Oct 7, 2008, 10:51:53 AM10/7/08
to Rhino...@googlegroups.com
You did, but my wife spotted them and met them at the door with fresh baked cookies, that took the fight out of them a little bit.

Ayende Rahien

unread,
Oct 7, 2008, 11:06:47 AM10/7/08
to Rhino...@googlegroups.com
Damn! time to find ninja on a diet.

Dave F

unread,
Oct 7, 2008, 1:50:55 PM10/7/08
to Rhino.Mocks
Hi Oren... I posted this on the blog too. I'm seeing an issue when
using AssertWasCalled with a method that has been called more than
once, and I'm wondering if maybe I am doing something wrong here.

[Test]
public void Rhino_Mocks_3_5_Issue() {
// IFormatProvider was the first thing that popped up, the
type really doesn't matter here
var mock = MockRepository.GenerateMock<IFormatProvider>();

// two calls to the same method
mock.GetFormat(typeof(string));
mock.GetFormat(typeof(string));

// this throws in RTM, did not in the RC
// also tried Repeat.Any but that throws a different
exception
// saying that it is not supported on AssertWasCalled
mock.AssertWasCalled(x => x.GetFormat(typeof(string)));
}

For now I've rolled back to the previous version.
Am I doing something wrong here?

Thanks,
Dave


On Oct 4, 7:01 pm, "Ayende Rahien" <aye...@ayende.com> wrote:
> You can read about it here Rhino Mocks 3.5
> RTM<http://ayende.com/Blog/archive/2008/10/05/rhino-mocks-3.5-rtm.aspx>

Ayende Rahien

unread,
Oct 8, 2008, 7:39:24 AM10/8/08
to Rhino...@googlegroups.com
Thank you, that is a bug. I'll take additional look at it today

Ayende Rahien

unread,
Oct 10, 2008, 6:37:02 AM10/10/08
to Rhino...@googlegroups.com
Okay, this is fixed in the repository now, but it is a potentially breaking change, I want to get some input about this before releasing.
Reply all
Reply to author
Forward
0 new messages