abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Abdera class being final is a problem with jMock
Date Mon, 07 Jan 2008 18:14:09 GMT
Hmm.. there are lots of final classes in Abdera, I'd really hate to have 
to go back and change those.  Is there another way to get things working 
with easymock? e.g. perhaps the Abdera instance can be wrapped by a 
non-final class?

- James

Vasu Nori wrote:
> wondering about the status of this. Dan (or anyone else) - any updates?
> thanks
> 
> On Jan 3, 2008 12:38 PM, Dan Diephouse <dan.diephouse@mulesource.com> wrote:
> 
>> Vasu Nori wrote:
>>> trying to write unittests on the Atom server we developed using Abdera.
>>> using jMock for unittests.
>>>
>>> Abdera class being final is a problem. Did anyone figure out how to get
>>> around it?
>>> from all the recommendations I see around this issue (of final
>>> classes/methods and jMock/easymock), general consensus seems to be to
>>> sacrifice the usage of
>>> "final" on classes and methods for the sake of automated unittests.
>>>
>>> thoughts?
>>>
>>> thanks
>>>
>>>
>> I think removing final is probably an OK idea personally. If none of the
>> other developers object, I can remove it.
>>
>> - Dan
>>
>> --
>> Dan Diephouse
>> MuleSource
>> http://mulesource.com | http://netzooid.com/blog
>>
>>
> 

Mime
View raw message