org.apache.tapestry.resolver
Class PageSpecificationResolverTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.resolver.AbstractSpecificationResolverTestCase
          extended by org.apache.tapestry.resolver.PageSpecificationResolverTest

public class PageSpecificationResolverTest
extends AbstractSpecificationResolverTestCase

Tests for PageSpecificationResolverImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Nested Class Summary
static class PageSpecificationResolverTest.MockApplicationNamespace
           
 
Constructor Summary
PageSpecificationResolverTest()
           
 
Method Summary
protected  ISpecificationResolverDelegate newDelegate()
           
protected  INamespace newNamespace(String pageName, IComponentSpecification spec)
           
protected  ComponentPropertySource newPropertySource(INamespace namespace)
           
protected  ISpecificationSource newSource(INamespace application, INamespace framework)
           
protected  ISpecificationSource newSource(INamespace application, INamespace framework, org.apache.hivemind.Resource resource, IComponentSpecification pageSpec)
           
 void test_Explicitly_In_Application_Namespace()
           
 void test_Explicitly_In_Framework_Namespace()
           
 void test_Found_As_Template()
           
 void test_Found_In_Application_Namespace()
           
 void test_Found_In_Child_Namespace()
           
 void test_Found_In_ContextRoot_Folder()
           
 void test_Found_In_Framework()
           
 void test_Found_In_Namespace_Folder()
           
 void test_Found_In_WebInf_App_Folder()
           
 void test_Found_In_WebInf_Folder()
           
 void test_Malformed_Found_In_WebInf_App_Folder()
           
 void test_NotFound_Anywhere()
           
 void test_Provided_By_Delegate()
           
 void test_WebInf()
           
 
Methods inherited from class org.apache.tapestry.resolver.AbstractSpecificationResolverTestCase
newCycle, newLog, newNamespace, newResource, newResource, newSource, newSpecification, newURL, train, trainContainsPage, trainFindPageSpecification, trainGetApplicationNamespace, trainGetChildNamespace, trainGetFrameworkNamespace, trainGetNamespaceId, trainGetSpecificationLocation, trainGetSpecificationLocation, trainIsApplicationNamespace, trainIsDebugEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageSpecificationResolverTest

public PageSpecificationResolverTest()
Method Detail

newDelegate

protected ISpecificationResolverDelegate newDelegate()

newNamespace

protected INamespace newNamespace(String pageName,
                                  IComponentSpecification spec)

newPropertySource

protected ComponentPropertySource newPropertySource(INamespace namespace)

newSource

protected ISpecificationSource newSource(INamespace application,
                                         INamespace framework)

newSource

protected ISpecificationSource newSource(INamespace application,
                                         INamespace framework,
                                         org.apache.hivemind.Resource resource,
                                         IComponentSpecification pageSpec)

test_Explicitly_In_Application_Namespace

public void test_Explicitly_In_Application_Namespace()

test_Explicitly_In_Framework_Namespace

public void test_Explicitly_In_Framework_Namespace()

test_Found_As_Template

public void test_Found_As_Template()

test_Found_In_Application_Namespace

public void test_Found_In_Application_Namespace()

test_Found_In_Child_Namespace

public void test_Found_In_Child_Namespace()

test_Found_In_ContextRoot_Folder

public void test_Found_In_ContextRoot_Folder()

test_Found_In_Framework

public void test_Found_In_Framework()

test_Found_In_Namespace_Folder

public void test_Found_In_Namespace_Folder()

test_Found_In_WebInf_App_Folder

public void test_Found_In_WebInf_App_Folder()

test_Malformed_Found_In_WebInf_App_Folder

public void test_Malformed_Found_In_WebInf_App_Folder()

test_Found_In_WebInf_Folder

public void test_Found_In_WebInf_Folder()

test_WebInf

public void test_WebInf()

test_NotFound_Anywhere

public void test_NotFound_Anywhere()

test_Provided_By_Delegate

public void test_Provided_By_Delegate()


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