org.apache.tapestry.resolver
Class AbstractSpecificationResolverTestCase

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.resolver.AbstractSpecificationResolverTestCase
Direct Known Subclasses:
PageSpecificationResolverTest, TestComponentSpecificationResolver

public abstract class AbstractSpecificationResolverTestCase
extends BaseComponentTestCase

Base class for testing specification resolvers.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
AbstractSpecificationResolverTestCase()
           
 
Method Summary
protected  IRequestCycle newCycle()
           
protected  Log newLog()
           
protected  INamespace newNamespace()
           
protected  org.apache.hivemind.Resource newResource(String path)
           
protected  org.apache.hivemind.Resource newResource(URL url)
           
protected  ISpecificationSource newSource()
           
protected  IComponentSpecification newSpecification()
           
protected  URL newURL(String file)
           
protected  void train(Log log, String message)
           
protected  void trainContainsPage(INamespace namespace, String pageName, boolean containsPage)
           
protected  void trainFindPageSpecification(ISpecificationResolverDelegate delegate, IRequestCycle cycle, INamespace application, String pageName, IComponentSpecification spec)
           
protected  void trainGetApplicationNamespace(ISpecificationSource source, INamespace application)
           
protected  void trainGetChildNamespace(INamespace child, String name, INamespace application)
           
protected  void trainGetFrameworkNamespace(ISpecificationSource source, INamespace framework)
           
protected  void trainGetNamespaceId(INamespace namespace, String namespaceId)
           
protected  void trainGetSpecificationLocation(INamespace namespace, org.apache.hivemind.Resource resource)
           
protected  void trainGetSpecificationLocation(INamespace namespace, org.apache.hivemind.Resource root, String path)
           
protected  void trainIsApplicationNamespace(INamespace namespace, boolean isApplicationNamespace)
           
protected  void trainIsDebugEnabled(Log log, boolean isDebugEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSpecificationResolverTestCase

public AbstractSpecificationResolverTestCase()
Method Detail

newSpecification

protected IComponentSpecification newSpecification()

newCycle

protected IRequestCycle newCycle()

newURL

protected URL newURL(String file)

newResource

protected org.apache.hivemind.Resource newResource(URL url)

newResource

protected org.apache.hivemind.Resource newResource(String path)

train

protected void train(Log log,
                     String message)

newLog

protected Log newLog()

newNamespace

protected INamespace newNamespace()

newSource

protected ISpecificationSource newSource()

trainContainsPage

protected void trainContainsPage(INamespace namespace,
                                 String pageName,
                                 boolean containsPage)

trainFindPageSpecification

protected void trainFindPageSpecification(ISpecificationResolverDelegate delegate,
                                          IRequestCycle cycle,
                                          INamespace application,
                                          String pageName,
                                          IComponentSpecification spec)

trainGetApplicationNamespace

protected void trainGetApplicationNamespace(ISpecificationSource source,
                                            INamespace application)

trainGetChildNamespace

protected void trainGetChildNamespace(INamespace child,
                                      String name,
                                      INamespace application)

trainGetFrameworkNamespace

protected void trainGetFrameworkNamespace(ISpecificationSource source,
                                          INamespace framework)

trainGetNamespaceId

protected void trainGetNamespaceId(INamespace namespace,
                                   String namespaceId)

trainGetSpecificationLocation

protected void trainGetSpecificationLocation(INamespace namespace,
                                             org.apache.hivemind.Resource resource)

trainGetSpecificationLocation

protected void trainGetSpecificationLocation(INamespace namespace,
                                             org.apache.hivemind.Resource root,
                                             String path)

trainIsApplicationNamespace

protected void trainIsApplicationNamespace(INamespace namespace,
                                           boolean isApplicationNamespace)

trainIsDebugEnabled

protected void trainIsDebugEnabled(Log log,
                                   boolean isDebugEnabled)


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