I don't know anything about the naming stuff, but you're welcome to send a
patch to enhance the functionality of the mock. I think some guy somewhere
will find the time to review it and apply it if it makes sense :-)
Vincent
> -----Original Message-----
> From: moc...@li...
> [mailto:moc...@li...]On Behalf Of
> mark mascolino
> Sent: Wednesday, May 22, 2002 5:30 PM
> To: moc...@li...
> Subject: [MO-java-dev] MockAttributes
>
>
>
> Hello all,
>
> I am relatively new to the world of Mock Objects and have
> come across your
> implementation. I found a good reason to use the MockAttributes and
> MockAttribute classes and found that the implementations are
> a bit limiting.
> For example MockAttributes' get(String name) method does not
> use the name
> parameter at all and returns the first item found in an
> ArrayList. It also
> removes that item from ArrayList.
>
> I was wondering if this limited implementation was intended
> (based on some
> Mock Object Philosophy that I am unaware of) or was just
> choosen because it
> got the job done quickly. If it was the latter, I think I might be
> interested in providing patches if people would find them useful.
>
> thanks in advance...
> mark
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Mockobjects-java-dev mailing list
> Moc...@li...
> https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev
>
|