MockServletContext.log throws a UnsupportedOperationException, making it hard
to test many core parts of MyFaces. Was the intention here for the tester to
override MockServletContext.log, or does MockServletContext assume the tested
code simply would/should not call ExternalContext.log() ?
On 1/10/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>
> >I wouldn't be averse to using Commons Logging here, but perhaps it would
> be
> >a little simpler to just write to System.out or System.err, with a
> system
> >property to control the logging levels actually output?
> >
> >Craig
>
> Fair eno
>I wouldn't be averse to using Commons Logging here, but perhaps it would be
>a little simpler to just write to System.out or System.err, with a system
>property to control the logging levels actually output?
>
>Craig
Fair enough :) I can see piping log(String, Throwable) to System.err, but I
do
27;Struts Users Mailing List'
> >Subject: Re: [shale] UnsupportedOperationException w/ Mock Objects
> >
> >On 1/9/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> >>
> >> MockServletContext.log and many other methods throw a
> >> UnsupportedOperationException. This
;
>Subject: Re: [shale] UnsupportedOperationException w/ Mock Objects
>
>On 1/9/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>>
>> MockServletContext.log and many other methods throw a
>> UnsupportedOperationException. This makes it hard to test many core parts of
>
On 1/9/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>
> MockServletContext.log and many other methods throw a
> UnsupportedOperationException. This makes it hard to test many core parts of
> MyFaces.
>
> Was the intention here for the tester to override MockServletContext.log,
> or does MockServletC
MockServletContext.log and many other methods throw a
UnsupportedOperationException. This makes it hard to test many core parts of
MyFaces.
Was the intention here for the tester to override MockServletContext.log, or
does MockServletContext assume the tested code simply would/should not call
7 matches
Mail list logo