org.apache.tapestry.link
Class DefaultLinkRendererTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.link.DefaultLinkRendererTest

public class DefaultLinkRendererTest
extends BaseComponentTestCase

Tests for DefaultLinkRenderer.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
DefaultLinkRendererTest()
           
 
Method Summary
protected  ILinkComponent newComponent()
           
 void testDisabled()
           
 void testNoNesting()
           
 void testRewinding()
           
 void testStandardNotDisabled()
           
 void testStandardWithSchemaAnchorAndTarget()
           
 void testWithSubclass()
           
 void testWithSubclassDisabled()
           
 void testWithSubclassDisabledNoBody()
           
 void testWithSubclassNoBody()
           
protected  void trainGetAnchor(ILinkComponent component, String anchor)
           
protected  void trainGetPort(ILinkComponent component, Integer port)
           
protected  void trainGetScheme(ILinkComponent component, String scheme)
           
protected  void trainGetTarget(ILinkComponent component, String target)
           
protected  void trainIsDisabled(ILinkComponent component, boolean isDisabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLinkRendererTest

public DefaultLinkRendererTest()
Method Detail

newComponent

protected ILinkComponent newComponent()

testNoNesting

public void testNoNesting()

testStandardNotDisabled

public void testStandardNotDisabled()

trainGetScheme

protected void trainGetScheme(ILinkComponent component,
                              String scheme)

trainGetPort

protected void trainGetPort(ILinkComponent component,
                            Integer port)

testStandardWithSchemaAnchorAndTarget

public void testStandardWithSchemaAnchorAndTarget()

testDisabled

public void testDisabled()

testRewinding

public void testRewinding()

testWithSubclass

public void testWithSubclass()

testWithSubclassNoBody

public void testWithSubclassNoBody()

testWithSubclassDisabled

public void testWithSubclassDisabled()

testWithSubclassDisabledNoBody

public void testWithSubclassDisabledNoBody()

trainGetAnchor

protected void trainGetAnchor(ILinkComponent component,
                              String anchor)

trainGetTarget

protected void trainGetTarget(ILinkComponent component,
                              String target)

trainIsDisabled

protected void trainIsDisabled(ILinkComponent component,
                               boolean isDisabled)


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