I am running a test of components using SeamTest and writing precisely the same
sort of test as in the documentation:
|
| new ComponentTest() {
|
| protected void testComponents() throws Exception
| {
| setValue("#{searchAction.name}", "Benzoic");
| }
|
| }.run();
|
That's all. When I do this, I am finding the following exception:
| java.lang.IllegalStateException: No page context active
|
The interesting thing about this is that my tests pass with flying colors when
I do a FacesRequest in my test instead.
Any insight is appreciated.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115569#4115569
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115569
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user