org.apache.tapestry.engine
Class DirectServiceTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.engine.ServiceTestCase
          extended by org.apache.tapestry.engine.DirectServiceTest

public class DirectServiceTest
extends ServiceTestCase

Tests for DirectService.


Constructor Summary
DirectServiceTest()
           
 
Method Summary
protected  IDirect newDirect(boolean checkParameters)
           
 void test_Get_Link_On_Different_Page()
           
 void test_Get_Link_On_Same_Page_For_Post()
           
 void test_Get_Link_On_Same_Page_Stateful()
           
 void test_Get_Link_On_Same_Page()
           
 void test_Service_Complex()
          The complex case is where the component is contained on a different page than the active (at the time of render) page.
 void test_Service_Not_Direct()
           
 void test_Service_Simple_Event()
           
 void test_Service_Simple()
           
 void test_Session_Active_And_Required()
           
 void test_Stale_Session()
           
protected  void trainIsStateful(IDirect direct, boolean isStateful)
           
 
Methods inherited from class org.apache.tapestry.engine.ServiceTestCase
newLink, newLinkFactory, newLinkFactory, newLog, newPage, newRequest, newRequest, newResponseRenderer, newSession, newSession, newWebRequest, newWebRequest, newWebSession, newWebSession, trainConstructLink, trainExtractListenerParameters, trainGetAbsoluteURL, trainGetNestedComponent, trainGetPage, trainGetPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectServiceTest

public DirectServiceTest()
Method Detail

newDirect

protected IDirect newDirect(boolean checkParameters)

test_Get_Link_On_Same_Page

public void test_Get_Link_On_Same_Page()

test_Get_Link_On_Same_Page_For_Post

public void test_Get_Link_On_Same_Page_For_Post()

test_Get_Link_On_Same_Page_Stateful

public void test_Get_Link_On_Same_Page_Stateful()

test_Get_Link_On_Different_Page

public void test_Get_Link_On_Different_Page()

test_Service_Simple

public void test_Service_Simple()
                         throws Exception
Throws:
Exception

test_Service_Simple_Event

public void test_Service_Simple_Event()
                               throws Exception
Throws:
Exception

test_Service_Complex

public void test_Service_Complex()
                          throws Exception
The complex case is where the component is contained on a different page than the active (at the time of render) page.

Throws:
Exception

test_Service_Not_Direct

public void test_Service_Not_Direct()
                             throws Exception
Throws:
Exception

test_Session_Active_And_Required

public void test_Session_Active_And_Required()
                                      throws Exception
Throws:
Exception

trainIsStateful

protected void trainIsStateful(IDirect direct,
                               boolean isStateful)

test_Stale_Session

public void test_Stale_Session()
                        throws Exception
Throws:
Exception


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.