org.apache.tapestry.asset
Class ContextAssetFactoryTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.asset.ContextAssetFactoryTest

public class ContextAssetFactoryTest
extends BaseComponentTestCase


Constructor Summary
ContextAssetFactoryTest()
           
 
Method Summary
protected  org.apache.hivemind.Resource newResource()
           
protected  URL newURL()
           
 void test_Absolute_Asset_Exists()
           
 void test_Create_Absolute_Asset_Missing()
           
 void test_Create_Absolute_Asset()
           
 void test_Create_Asset_Encode_URL()
           
 void test_Create_Asset_Missing()
           
 void test_Create_Asset()
           
protected  void trainEncodeURL(IRequestCycle rc, String URL, String encodedURL)
           
protected  void trainGetRelativeResource(org.apache.hivemind.Resource base, String path, org.apache.hivemind.Resource relative)
           
protected  void trainGetResource(WebContext context, String path, URL url)
           
protected  void trainGetResourceURL(org.apache.hivemind.Resource resource, URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextAssetFactoryTest

public ContextAssetFactoryTest()
Method Detail

newResource

protected org.apache.hivemind.Resource newResource()

newURL

protected URL newURL()

test_Create_Asset

public void test_Create_Asset()

test_Absolute_Asset_Exists

public void test_Absolute_Asset_Exists()

test_Create_Asset_Missing

public void test_Create_Asset_Missing()

test_Create_Absolute_Asset

public void test_Create_Absolute_Asset()

test_Create_Absolute_Asset_Missing

public void test_Create_Absolute_Asset_Missing()

test_Create_Asset_Encode_URL

public void test_Create_Asset_Encode_URL()

trainGetResourceURL

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

trainGetResource

protected void trainGetResource(WebContext context,
                                String path,
                                URL url)

trainGetRelativeResource

protected void trainGetRelativeResource(org.apache.hivemind.Resource base,
                                        String path,
                                        org.apache.hivemind.Resource relative)

trainEncodeURL

protected void trainEncodeURL(IRequestCycle rc,
                              String URL,
                              String encodedURL)


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