question about mxUnit docs

3 views
Skip to first unread message

kibaniwi

unread,
May 9, 2008, 5:10:57 AM5/9/08
to mxunit
In "A Test Adapter Pattern for DAO Testing" - there is a reference to
creating a 'protected' method in Coldfusion - am I missing something
or should this be 'private'?

Marc Esher

unread,
May 9, 2008, 6:37:12 AM5/9/08
to mxu...@googlegroups.com
my guess is he meant "package". that's the CF near-equivalent of
protected in java, and bill's got his head in both languages a lot i
think.

billy

unread,
May 9, 2008, 6:56:37 AM5/9/08
to mxunit
Indeed. And on most days, it feel like we fell from the Tower of Babel
(http://en.wikipedia.org/wiki/Tower_of_Babel) and are forever cursed
with trying to delineate in which language we are coding ;-)

I'll check it out and make any corrections. Thanks for pointing it
out!

bill[y]

On May 9, 6:37 am, "Marc Esher" <marc.es...@gmail.com> wrote:
> my guess is he meant "package". that's the CF near-equivalent of
> protected in java, and bill's got his head in both languages a lot i
> think.
>

kibaniwi

unread,
May 9, 2008, 8:14:52 AM5/9/08
to mxunit
Whilst on the subject, in steps 4 & 5 the parent cftransaction block
is not closed properly.

As a sidenote, I am attempting to implement this adaptor methodology.
What is cool is that because we are using coldspring, I can just use a
different coldspring xml file to inject the dao adaptor instead of the
original dao.

To paraphrase Led Zepplin, the code remains the same...
> > > or should this be 'private'?- Hide quoted text -
>
> - Show quoted text -

kibaniwi

unread,
May 9, 2008, 9:35:45 AM5/9/08
to mxunit
Actually, the code throws an error anyway because of a nested
cftransaction block which is not allowed.
> > - Show quoted text -- Hide quoted text -

billy

unread,
May 9, 2008, 9:50:50 AM5/9/08
to mxunit
Just remove the slashes in the <cftransaction action="rollback|
create" /> so that it reads <cftransaction action="rollback|create" >

silly constraint. I'll fix the documentation today.

thanks again,
bill[y]
Reply all
Reply to author
Forward
0 new messages