Hi,

The invokeApplication() method in the following code seems not to be invoked.


  | public class FooTest extends SeamTest {
  |     @Test
  |     public void testFoo() throws Exception {
  | 
  |             new NonFacesRequest() {
  | 
  |                     @Override
  |                     protected void invokeApplication() {
  |                             System.out.println("invokeApplication not 
called.");
  | 
  |                     }
  | 
  |                     @Override
  |                     protected void renderResponse() {
  |                             System.out.println("renderResponse called.");
  |                     }
  | 
  |             }.run();
  |     }
  | }
  | 

NonFacesRequest#invokeApplication() is never invoked?
If so,  why can we override this method?
SeamTest.NonFacesRequest class doesn't support applyRequest(), 
processValidations() and updateModelValues().
Why supports invokeApplication()?

[my environment]
-JBoss Seam CVS(1.3.0a)
-seam gen-Generated project

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056560#4056560

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056560
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to