[shale] renderKit proposal for testing framework

2006-01-14 Thread Dennis Byrne
the MockRenderKit construction in MockRenderKitFactory, all is well. I wish the try/catch wasn't there also. BTW, I really do like this is a great tool. Dennis Byrne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[shale] UnsupportedOperationException w/ Mock Objects

2006-01-11 Thread Dennis Byrne
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() ?

Re: [shale] UnsupportedOperationException w/ Mock Objects

2006-01-10 Thread Dennis Byrne
quite follow on the levels. Can encodeNamespace() just return the same String provided to it? This is what the myfaces.context.servlet.ServletExternalContextImpl and the RI do. Dennis Byrne - To unsubscribe, e-mail: [EMAIL

Re: Refactoring JSP to JSF (and then possibly to Shale)

2006-01-10 Thread Dennis Byrne
Actually you bring up one of the reasons I'm not in love JSF at the moment. I know most people like the idea of using pre-built or custom renderers and get all googly eyed over the nice things you can get out-of-the-box from MyFaces or Oracle ADF, but I guess I'm still old-school and like the

building Struts w/ maven

2006-01-10 Thread Dennis Byrne
The web site says to use 'mvn build-all' . http://struts.apache.org/acquiring.html#Source_Code Using build-all gives me the following error message, but using 'mvn install' builds everything. I am not a maven expert, but should the web site be updated? [ERROR] BUILD FAILURE [INFO]

[shale] UnsupportedOperationException w/ Mock Objects

2006-01-09 Thread Dennis Byrne
ExternalContext.log() ? Dennis Byrne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [shale] UnsupportedOperationException w/ Mock Objects

2006-01-09 Thread Dennis Byrne
Will it be acceptable if all 3 MockServletContext.log methods wrap a static commons logging method call? Dennis Byrne -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 02:17 AM To: 'Struts Users Mailing List' Subject: Re: [shale