axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels" <gdani...@macromedia.com>
Subject Re: Generated impl template
Date Sun, 28 Oct 2001 18:53:00 GMT
Hi Russell!

I can see this going either way, really.  I kind of like the cleanliness of
"NYI" exceptions, which remind you to fill something in more than just
returning null or something.

--G

----- Original Message -----
From: "Russell Butek" <butek@us.ibm.com>
To: <axis-dev@xml.apache.org>
Sent: Saturday, October 27, 2001 1:13 PM
Subject: Generated impl template


> Right now if --skeleton is turned on we generate a template implementation
> where each method throws a not-yet-implemented exception.  For automated
> testing purposes it would be very useful if this template didn't fail on
> every call so that we could use the default implementation in the test.
In
> fact, this would be almost critical because, as it is now, the generated
> implementations aren't even being tested.
>
> So I would like to do one of two things:
> 1.  Generate the template impl like we do now, throwing exceptions, unless
> --testCase is turned on, in which case we generate runnable impls.
> 2.  Always generate runnable impls.
>
> Do folks have a preference?  Mine is 2.
>
> Russell Butek
> butek@us.ibm.com
>
>
>


Mime
View raw message