Tuna and Krzysztof, Thanks for the quick turn around. While the change did fix the original issue. It failed again with a more complex method signature:
public virtual void
GenericMethodWithGenericOfGenericArgument<T>(IEnumerable<IComparer<T>>
compararers) { }
Attached patch adds two test cases to the PartailMockTest.
Tim, the patch is applicable to the latest trunk.
Cheers,
Kenneth
Cheers,
Kenneth
On Tue, Jun 30, 2009 at 8:13 PM, Kenneth Xu<[email protected]> wrote:
> Tuna, Forget last email, I'm now able to access the site. Thanks!
>
> On Tue, Jun 30, 2009 at 8:10 PM, Kenneth Xu<[email protected]> wrote:
>> Excellent!
>> Tuna, if it is easy, would you please make the download link work? I know I
>> can check out trunk and build so if it is difficult then let me know and
>> I'll build myself.
>> Cheers,
>> Kenneth
>>
>> Sent from my Verizon Wireless BlackBerry
>>
>> ________________________________
>> From: Tuna Toksoz
>> Date: Wed, 1 Jul 2009 02:15:35 +0300
>> To: <[email protected]>
>> Subject: [RhinoMocks] Re: PartialMock throws BadImageFormatException
>> now I'm back home, and i tried trunk of DP against trunk of RM.
>>
>> and
>>
>> your test is
>>
>> passing!!!!
>>
>> There are 2 failing tests,Tim & Krzysztof, the types of the some of the
>> exceptions that were previously thrown are now changed.
>>
>> Expected exception of type System.MissingMethodException, got System.ArgumentException (Can not instantiate proxy of class: Rhino.Mocks.Tests.MockingClassesTests+OverLoadedCtor.Could not find a constructor that would match given arguments:System.String
>>
>> I believe ArgumentException is better as user provide constructor arguments
>> and the constructor is there if argument is correct.
>> So this would require a little "test" change in RM.
>>
>>
>>
>>
>> Tuna Toksöz
>> Eternal sunshine of the open source mind.
>>
>> http://devlicio.us/blogs/tuna_toksoz
>> http://tunatoksoz.com
>> http://twitter.com/tehlike
>>
>>
>>
>>
>> On Wed, Jul 1, 2009 at 12:54 AM, Kenneth Xu <[email protected]> wrote:
>>>
>>> Hi Krzysztof,
>>>
>>> I got connection timeout when downloading. Any idea?
>>>
>>> Thanks,
>>> Kenneth
>>>
>>> On Tue, Jun 30, 2009 at 5:40 PM, Kenneth Xu<[email protected]> wrote:
>>> > Thanks Krzysztof. I'll compile Rhino myself when I get home tonight
>>> > after work.
>>> >
>>> > Will let you know.
>>> >
>>> > 2009/6/30 Krzysztof Koźmic <[email protected]>:
>>> >>
>>> >> Kenneth:
>>> >>
>>> >> I fixed the issue we had in Castle, please get the latest binaries
>>> >>
>>> >> http://www.castleproject.org:8090/viewLog.html?buildId=383&tab=artifacts&buildTypeId=bt6
>>> >> and see if it fixed the issue for you. Unfortunatelly my PC went nuts
>>> >> and I'm unable to compile Rhino and see for myself :/
>>> >>
>>> >> On Jun 28, 5:27 pm, Kenneth Xu <[email protected]> wrote:
>>> >>>
>>> >>> Spring.Threadinghttp://www.springsource.org/extensions/se-threading-net
>>> >>>
>>> >>> - A concurrent API for .Net CLR 2.0
>>> >>> - Initially ported from Java's concurrent API but added many .Net
>>> >>> features. It offers more then .Net 4.0 Task Parallel Library does.
>>> >>> - In future, provide same functionality of .Net 4.0 Task Parallel
>>> >>> Library to CLR 2.0
>>> >>>
>>> >>> Kenneth
>>> >>>
>>> >>> On Sun, Jun 28, 2009 at 9:06 AM, Tim Barcz<[email protected]> wrote:
>>> >>> > Which project is that?
>>> >>>
>>> >>> > Tim
>>> >>>
>>> >>> > On Sat, Jun 27, 2009 at 9:01 PM, Kenneth Xu <[email protected]>
>>> >>> > wrote:
>>> >>>
>>> >>> >> And the "customer" is also a committer of another open source
>>> >>> >> project :)
>>> >>>
>>> >>> >> Thank you all!
>>> >>>
>>> >>> >> Cheers,
>>> >>> >> Kenneth
>>> >>>
>>> >>> >> On Sat, Jun 27, 2009 at 6:54 PM, Tim Barcz<[email protected]>
>>> >>> >> wrote:
>>> >>> >> > Tuna & Kyzysztof,
>>> >>>
>>> >>> >> > Thank you both for jumping right on this. Often people say they
>>> >>> >> > worry
>>> >>> >> > about
>>> >>> >> > OSS because of it's lack of commercial support. Today was an
>>> >>> >> > example
>>> >>> >> > that
>>> >>> >> > blows that theory out of the water. Two open source projects,
>>> >>> >> > RhinoMocks
>>> >>> >> > and Castle came together with three committers to help a
>>> >>> >> > "customer" of
>>> >>> >> > our
>>> >>> >> > respective frameworks.
>>> >>>
>>> >>> >> > Thank you both for you help and diligence to your projects, it's
>>> >>> >> > a
>>> >>> >> > pleasure
>>> >>> >> > working with you guys,
>>> >>>
>>> >>> >> > Tim
>>> >>>
>>> >>> >> > On Sat, Jun 27, 2009 at 2:31 PM, Tuna Toksoz <[email protected]>
>>> >>> >> > wrote:
>>> >>>
>>> >>> >> >> Don't worry, Krzysztof Kozmic is going to revert a recent change
>>> >>> >> >> that
>>> >>> >> >> causes this, then we'll see what's happening.
>>> >>>
>>> >>> >> >> Tuna Toksöz
>>> >>> >> >> Eternal sunshine of the open source mind.
>>> >>>
>>> >>> >> >>http://devlicio.us/blogs/tuna_toksoz
>>> >>> >> >>http://tunatoksoz.com
>>> >>> >> >>http://twitter.com/tehlike
>>> >>>
>>> >>> >> >> On Sat, Jun 27, 2009 at 6:23 PM, Kenneth Xu <[email protected]>
>>> >>> >> >> wrote:
>>> >>>
>>> >>> >> >>> Thanks for looking into this and trying on the latest DP. I
>>> >>> >> >>> appreciate
>>> >>> >> >>> it.
>>> >>>
>>> >>> >> > --
>>> >>> >> > Tim Barcz
>>> >>> >> > ASPInsider
>>> >>> >> >http://timbarcz.devlicio.us
>>> >>> >> >http://www.twitter.com/timbarcz
>>> >>>
>>> >>> > --
>>> >>> > Tim Barcz
>>> >>> > ASPInsider
>>> >>> >http://timbarcz.devlicio.us
>>> >>> >http://www.twitter.com/timbarcz
>>> >>>
>>> >>>
>>> >> >>
>>> >>
>>> >
>>>
>>>
>>
>>
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---
PartialMockTests.patch
Description: Binary data
