Re: AbstractJsfTestCase question

2008-05-20 Thread Chris Keefer
I think in JSF 1.1 you have to get the value from a ValueBinding. See below. @Test public void test1 { ValueBinding binding = facesContext.getApplication ().createValueBinding(#{someBean.prop[0]}}; String val = (String) binding.getValue(facesContext); assertEquals(val, M); } Or

Re: Statistic

2008-02-08 Thread Chris Keefer
Currently, I am only using the Shale Test framework. Best, --Chris On Feb 2, 2008, at 6:44 AM, samju wrote: I just want to check how many user, Companies, etc. are using Shale. thanks For your feedback in advance! Sam -- View this message in context: http://www.nabble.com/Statistic-

Extra output...

2007-11-26 Thread Chris Keefer
Hi Folks, I am using shale-test for developing my JSF unit tests. I noticed in the output of my tests some odd output (Ex: descriptor (class=some.package.and.class name=someName). I tracked this down to when I create a ValueBinding and retrieve a value using the getValue () method. The

Re: Setup managed bean

2007-10-26 Thread Chris Keefer
Disregard this message. I received a mailer daemon on my original message. Sorry for the double post. --Chris On Oct 25, 2007, at 2:19 PM, Chris Keefer wrote: Hello, I am trying to add a managed bean to the Mock Faces Context that will be used in my unit test. My test class extends

Shale-test setup managed bean

2007-10-25 Thread Chris Keefer
Hello, I am trying to add a managed bean to the Mock Faces Context that will be used in my unit test. My test class extends AbstractJsfTestCase. My setUp method is the following: public void setUp() throws Exception { super.setUp(); // add managed bean _factory =

Setup managed bean

2007-10-25 Thread Chris Keefer
Hello, I am trying to add a managed bean to the Mock Faces Context that will be used in my unit test. My test class extends AbstractJsfTestCase. My setUp method is the following: public void setUp() throws Exception { super.setUp(); // add managed bean _factory =