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  IAsset newAsset()
           
protected  AssetSource newAssetSource()
           
protected  IComponentSpecification newComponentSpec()
           
protected  ILibrarySpecification newLSpec()
           
protected  org.apache.hivemind.Resource newResource()
           
protected  ISpecificationSource newSource()
           
protected  URL newURL()
           
 void test_Get_Component_Specification()
           
 void test_Get_Page_Specification()
           
 void testFindChildLibrarySpecification()
           
protected  void trainGetLibrarySpecification(ISpecificationSource source, org.apache.hivemind.Resource resource, 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(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 ISpecificationSource newSource()

newLSpec

protected ILibrarySpecification newLSpec()

newAssetSource

protected AssetSource newAssetSource()

testFindChildLibrarySpecification

public void testFindChildLibrarySpecification()

trainResolveChildResource

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

newAsset

protected IAsset newAsset()

newURL

protected URL newURL()

trainGetLibrarySpecification

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

newComponentSpec

protected IComponentSpecification newComponentSpec()

test_Get_Page_Specification

public void test_Get_Page_Specification()

test_Get_Component_Specification

public void test_Get_Component_Specification()


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