org.apache.tapestry.resolver
Class AbstractSpecificationResolverTestCase
java.lang.Object
BaseComponentTestCase
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
Method Summary |
protected org.apache.tapestry.IRequestCycle |
newCycle()
|
protected Log |
newLog()
|
protected org.apache.tapestry.INamespace |
newNamespace()
|
protected org.apache.hivemind.Resource |
newResource(String path)
|
protected org.apache.hivemind.Resource |
newResource(URL url)
|
protected org.apache.tapestry.engine.ISpecificationSource |
newSource()
|
protected org.apache.tapestry.spec.IComponentSpecification |
newSpecification()
|
protected URL |
newURL(String file)
|
protected void |
train(Log log,
String message)
|
protected void |
trainContainsPage(org.apache.tapestry.INamespace namespace,
String pageName,
boolean containsPage)
|
protected void |
trainFindPageSpecification(org.apache.tapestry.resolver.ISpecificationResolverDelegate delegate,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.INamespace application,
String pageName,
org.apache.tapestry.spec.IComponentSpecification spec)
|
protected void |
trainGetApplicationNamespace(org.apache.tapestry.engine.ISpecificationSource source,
org.apache.tapestry.INamespace application)
|
protected void |
trainGetChildNamespace(org.apache.tapestry.INamespace child,
String name,
org.apache.tapestry.INamespace application)
|
protected void |
trainGetFrameworkNamespace(org.apache.tapestry.engine.ISpecificationSource source,
org.apache.tapestry.INamespace framework)
|
protected void |
trainGetNamespaceId(org.apache.tapestry.INamespace namespace,
String namespaceId)
|
protected void |
trainGetSpecificationLocation(org.apache.tapestry.INamespace namespace,
org.apache.hivemind.Resource resource)
|
protected void |
trainGetSpecificationLocation(org.apache.tapestry.INamespace namespace,
org.apache.hivemind.Resource root,
String path)
|
protected void |
trainIsApplicationNamespace(org.apache.tapestry.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 |
AbstractSpecificationResolverTestCase
public AbstractSpecificationResolverTestCase()
newSpecification
protected org.apache.tapestry.spec.IComponentSpecification newSpecification()
newCycle
protected org.apache.tapestry.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 org.apache.tapestry.INamespace newNamespace()
newSource
protected org.apache.tapestry.engine.ISpecificationSource newSource()
trainContainsPage
protected void trainContainsPage(org.apache.tapestry.INamespace namespace,
String pageName,
boolean containsPage)
trainFindPageSpecification
protected void trainFindPageSpecification(org.apache.tapestry.resolver.ISpecificationResolverDelegate delegate,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.INamespace application,
String pageName,
org.apache.tapestry.spec.IComponentSpecification spec)
trainGetApplicationNamespace
protected void trainGetApplicationNamespace(org.apache.tapestry.engine.ISpecificationSource source,
org.apache.tapestry.INamespace application)
trainGetChildNamespace
protected void trainGetChildNamespace(org.apache.tapestry.INamespace child,
String name,
org.apache.tapestry.INamespace application)
trainGetFrameworkNamespace
protected void trainGetFrameworkNamespace(org.apache.tapestry.engine.ISpecificationSource source,
org.apache.tapestry.INamespace framework)
trainGetNamespaceId
protected void trainGetNamespaceId(org.apache.tapestry.INamespace namespace,
String namespaceId)
trainGetSpecificationLocation
protected void trainGetSpecificationLocation(org.apache.tapestry.INamespace namespace,
org.apache.hivemind.Resource resource)
trainGetSpecificationLocation
protected void trainGetSpecificationLocation(org.apache.tapestry.INamespace namespace,
org.apache.hivemind.Resource root,
String path)
trainIsApplicationNamespace
protected void trainIsApplicationNamespace(org.apache.tapestry.INamespace namespace,
boolean isApplicationNamespace)
trainIsDebugEnabled
protected void trainIsDebugEnabled(Log log,
boolean isDebugEnabled)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.