org.apache.tapestry.resolver
Class TestComponentSpecificationResolver

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

public class TestComponentSpecificationResolver
extends AbstractSpecificationResolverTestCase

Tests for ComponentSpecificationResolverImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
TestComponentSpecificationResolver()
           
 
Method Summary
protected  ISpecificationSource newSource(INamespace framework)
           
protected  ISpecificationSource newSource(org.apache.hivemind.Resource resource, IComponentSpecification spec)
           
 void test_Deprecated()
           
 void test_Found_Component_Class()
           
 void test_Found_In_App_Folder()
          Test for checking inside the WEB-INF/app folder (app is the application id, i.e., the servlet name).
 void test_Found_In_Child_Namespace()
           
 void test_Found_In_Context_Root()
           
 void test_Found_In_Framework_Namespace()
           
 void test_Found_In_Namespace()
           
 void test_Found_In_Web_Inf_Folder()
           
 void test_Not_Found_In_Any_Namespace()
           
 void test_Not_Found()
           
 void test_Provided_By_Delegate()
           
 void test_Search_Found_Relative()
           
 
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

TestComponentSpecificationResolver

public TestComponentSpecificationResolver()
Method Detail

newSource

protected ISpecificationSource newSource(org.apache.hivemind.Resource resource,
                                         IComponentSpecification spec)

newSource

protected ISpecificationSource newSource(INamespace framework)

test_Not_Found_In_Any_Namespace

public void test_Not_Found_In_Any_Namespace()

test_Found_In_Namespace

public void test_Found_In_Namespace()

test_Deprecated

public void test_Deprecated()

test_Found_In_Child_Namespace

public void test_Found_In_Child_Namespace()

test_Search_Found_Relative

public void test_Search_Found_Relative()

test_Found_In_Framework_Namespace

public void test_Found_In_Framework_Namespace()

test_Provided_By_Delegate

public void test_Provided_By_Delegate()

test_Not_Found

public void test_Not_Found()

test_Found_In_App_Folder

public void test_Found_In_App_Folder()
Test for checking inside the WEB-INF/app folder (app is the application id, i.e., the servlet name).


test_Found_In_Web_Inf_Folder

public void test_Found_In_Web_Inf_Folder()

test_Found_In_Context_Root

public void test_Found_In_Context_Root()

test_Found_Component_Class

public void test_Found_Component_Class()


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