org.apache.tapestry.services.impl
Class TestNamespaceResources

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.services.impl.TestNamespaceResources

public class TestNamespaceResources
extends BaseComponentTestCase

Tests for NamespaceResourcesImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
TestNamespaceResources()
           
 
Method Summary
protected  org.apache.tapestry.IAsset newAsset()
           
protected  org.apache.tapestry.asset.AssetSource newAssetSource()
           
protected  org.apache.tapestry.spec.IComponentSpecification newComponentSpec()
           
protected  org.apache.tapestry.spec.ILibrarySpecification newLSpec()
           
protected  org.apache.hivemind.Resource newResource()
           
protected  org.apache.tapestry.engine.ISpecificationSource newSource()
           
protected  URL newURL()
           
 void test_Get_Component_Specification()
           
 void test_Get_Page_Specification()
           
 void testFindChildLibrarySpecification()
           
protected  void trainGetLibrarySpecification(org.apache.tapestry.engine.ISpecificationSource source, org.apache.hivemind.Resource resource, org.apache.tapestry.spec.ILibrarySpecification spec)
           
protected  void trainGetRelativeResource(org.apache.hivemind.Resource parent, String path, org.apache.hivemind.Resource child)
           
protected  void trainGetResourceURL(org.apache.hivemind.Resource resource, URL url)
           
protected  void trainResolveChildResource(org.apache.tapestry.asset.AssetSource assetSource, org.apache.hivemind.Resource parent, String childPath, org.apache.hivemind.Location location, org.apache.hivemind.Resource child)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNamespaceResources

public TestNamespaceResources()
Method Detail

newResource

protected org.apache.hivemind.Resource newResource()

trainGetRelativeResource

protected void trainGetRelativeResource(org.apache.hivemind.Resource parent,
                                        String path,
                                        org.apache.hivemind.Resource child)

trainGetResourceURL

protected void trainGetResourceURL(org.apache.hivemind.Resource resource,
                                   URL url)

newSource

protected org.apache.tapestry.engine.ISpecificationSource newSource()

newLSpec

protected org.apache.tapestry.spec.ILibrarySpecification newLSpec()

newAssetSource

protected org.apache.tapestry.asset.AssetSource newAssetSource()

testFindChildLibrarySpecification

public void testFindChildLibrarySpecification()

trainResolveChildResource

protected void trainResolveChildResource(org.apache.tapestry.asset.AssetSource assetSource,
                                         org.apache.hivemind.Resource parent,
                                         String childPath,
                                         org.apache.hivemind.Location location,
                                         org.apache.hivemind.Resource child)

newAsset

protected org.apache.tapestry.IAsset newAsset()

newURL

protected URL newURL()

trainGetLibrarySpecification

protected void trainGetLibrarySpecification(org.apache.tapestry.engine.ISpecificationSource source,
                                            org.apache.hivemind.Resource resource,
                                            org.apache.tapestry.spec.ILibrarySpecification spec)

newComponentSpec

protected org.apache.tapestry.spec.IComponentSpecification newComponentSpec()

test_Get_Page_Specification

public void test_Get_Page_Specification()

test_Get_Component_Specification

public void test_Get_Component_Specification()


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