org.apache.tapestry.engine
Class DirectServiceTest
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.engine.ServiceTestCase
org.apache.tapestry.engine.DirectServiceTest
public class DirectServiceTest
- extends ServiceTestCase
Tests for DirectService
.
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 |
DirectServiceTest
public DirectServiceTest()
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.