AbstractJsfTestCase question

2008-05-19 Thread Venkataganesh Thoppae
New user of Shale Test framework. I'm trying to write some test cases for JSF 1.1 implementation using AbstractJsfTestCase. Experiencing few problems while trying to resolve some EL expressions programmatically. - MockVariableResolver not able to resolve array elements like

Re: AbstractJsfTestCase question

2008-05-19 Thread Kito D. Mann
Hmm... What errors are you getting? Or is it just returning null? If it's just returning null, remember that you must manually but the bean in the proper scope - Shale doesn't read faces-config. Sent from my iPhone On May 19, 2008, at 11:07 AM, Venkataganesh Thoppae [EMAIL PROTECTED]

Re: AbstractJsfTestCase question

2008-05-19 Thread Venkataganesh Thoppae
Yes, I know Shale doesn't read faces-config. Here is a sample implementation. public class MyTestCase extends AbstractJsfTestCase { //A valid someBean object is created in the request scope in setUp() @Test public void test1 { String val=