org.apache.tapestry.engine
Class DirectEventServiceTest

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

public class DirectEventServiceTest
extends ServiceTestCase

Tests for DirectService.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
DirectEventServiceTest()
           
 
Method Summary
 void testGetLinkOnDifferentPage()
           
 void testGetLinkOnSamePage()
           
 void testGetLinkOnSamePageForPost()
           
 void testGetLinkOnSamePageStateful()
           
 void testNoBrowserEvent()
           
 void testServiceComplex()
          The complex case is where the component is contained on a different page than the active (at the time of render) page.
 void testServiceNotDirect()
           
 void testServiceSimple()
           
 void testSessionActiveAndRequired()
           
 void testStaleSession()
           
 
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

DirectEventServiceTest

public DirectEventServiceTest()
Method Detail

testGetLinkOnSamePage

public void testGetLinkOnSamePage()

testGetLinkOnSamePageForPost

public void testGetLinkOnSamePageForPost()

testGetLinkOnSamePageStateful

public void testGetLinkOnSamePageStateful()

testGetLinkOnDifferentPage

public void testGetLinkOnDifferentPage()

testServiceSimple

public void testServiceSimple()
                       throws Exception
Throws:
Exception

testServiceComplex

public void testServiceComplex()
                        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

testServiceNotDirect

public void testServiceNotDirect()
                          throws Exception
Throws:
Exception

testSessionActiveAndRequired

public void testSessionActiveAndRequired()
                                  throws Exception
Throws:
Exception

testStaleSession

public void testStaleSession()
                      throws Exception
Throws:
Exception

testNoBrowserEvent

public void testNoBrowserEvent()
                        throws Exception
Throws:
Exception


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