org.apache.tapestry.engine.encoders
Class AssetEncoderTest

java.lang.Object
  extended by TestBase
      extended by org.apache.tapestry.engine.encoders.AssetEncoderTest

public class AssetEncoderTest
extends TestBase

Tests for AssetEncoder.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
AssetEncoderTest()
           
 
Method Summary
protected  ServiceEncoding newEncoding()
           
 void test_Decode_Empty_Pathinfo()
           
 void test_Decode_Null_Pathinfo()
           
 void test_Decode_Unprotected()
           
 void test_Decode()
           
 void test_Encode_Missing_Path()
           
 void test_Encode_Unprotected()
           
 void test_Encode()
           
 void test_Wrong_Path()
           
 void test_Wrong_Service()
           
protected  void trainGetParameterValue(ServiceEncoding encoding, String name, String value)
           
protected  void trainGetPathInfo(ServiceEncoding encoding, String pathInfo)
           
protected  void trainGetServletPath(ServiceEncoding encoding, String servletPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetEncoderTest

public AssetEncoderTest()
Method Detail

test_Wrong_Service

public void test_Wrong_Service()

trainGetParameterValue

protected void trainGetParameterValue(ServiceEncoding encoding,
                                      String name,
                                      String value)

newEncoding

protected ServiceEncoding newEncoding()

test_Wrong_Path

public void test_Wrong_Path()

trainGetServletPath

protected void trainGetServletPath(ServiceEncoding encoding,
                                   String servletPath)

test_Encode

public void test_Encode()

test_Encode_Missing_Path

public void test_Encode_Missing_Path()

test_Decode

public void test_Decode()

trainGetPathInfo

protected void trainGetPathInfo(ServiceEncoding encoding,
                                String pathInfo)

test_Encode_Unprotected

public void test_Encode_Unprotected()

test_Decode_Unprotected

public void test_Decode_Unprotected()

test_Decode_Null_Pathinfo

public void test_Decode_Null_Pathinfo()

test_Decode_Empty_Pathinfo

public void test_Decode_Empty_Pathinfo()


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