org.apache.tapestry.listener
Class TestListenerMapSource

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.listener.TestListenerMapSource

public class TestListenerMapSource
extends BaseComponentTestCase

Tests for ListenerMapSourceImpl and ListenerMethodInvokerImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
TestListenerMapSource()
           
 
Method Summary
 void test_No_Match()
           
 void testAcceptibleListenerMethodReturnTypes()
           
 void testFallbackToJustCycle()
           
 void testFoundWithAllParameters()
           
 void testFoundWithCycleAndParameters()
           
 void testFoundWithParameters()
           
 void testInvocationTargetException()
           
 void testInvocationTargetExceptionForApplicationRuntimeException()
           
 void testMismatchedTypes()
           
 void testNoParameterMatch()
          No exact match on parameter count, fall through to the no-arguments method implementation.
 void testReturnLink()
           
 void testReturnPageInstance()
           
 void testReturnPageName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestListenerMapSource

public TestListenerMapSource()
Method Detail

testAcceptibleListenerMethodReturnTypes

public void testAcceptibleListenerMethodReturnTypes()

testFoundWithParameters

public void testFoundWithParameters()

testFoundWithCycleAndParameters

public void testFoundWithCycleAndParameters()

testFoundWithAllParameters

public void testFoundWithAllParameters()

testNoParameterMatch

public void testNoParameterMatch()
No exact match on parameter count, fall through to the no-arguments method implementation.


testFallbackToJustCycle

public void testFallbackToJustCycle()

testReturnPageName

public void testReturnPageName()

testReturnLink

public void testReturnLink()

testReturnPageInstance

public void testReturnPageInstance()

test_No_Match

public void test_No_Match()

testMismatchedTypes

public void testMismatchedTypes()

testInvocationTargetException

public void testInvocationTargetException()

testInvocationTargetExceptionForApplicationRuntimeException

public void testInvocationTargetExceptionForApplicationRuntimeException()


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