org.apache.tapestry.html
Class ScriptTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.html.ScriptTest

public class ScriptTest
extends BaseComponentTestCase

Tests for the Script component.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ScriptTest()
           
 
Method Summary
protected  IScript newScript()
           
protected  IScriptSource newScriptSource()
           
 void test_IAsset_NotFound_Exception()
           
 void test_IAsset_Param_Render()
           
 void test_Minimal_Render()
          No input symbols, no informal parameters.
 void test_MultiParam_Exception()
           
 void test_NoParam_Exception()
           
 void test_Rewinding()
           
 void test_With_Symbols_Map_And_Informal_Parameters()
           
 void test_With_Symbols_Map()
           
protected  void trainGetScript(IScriptSource source, org.apache.hivemind.Resource scriptLocation, IScript script)
           
protected  void trainGetScriptLocation(IComponent component, String scriptPath, org.apache.hivemind.Resource scriptLocation, AssetSource assetSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptTest

public ScriptTest()
Method Detail

test_Minimal_Render

public void test_Minimal_Render()
No input symbols, no informal parameters.


test_With_Symbols_Map

public void test_With_Symbols_Map()

test_With_Symbols_Map_And_Informal_Parameters

public void test_With_Symbols_Map_And_Informal_Parameters()

test_Rewinding

public void test_Rewinding()

test_MultiParam_Exception

public void test_MultiParam_Exception()

test_NoParam_Exception

public void test_NoParam_Exception()

test_IAsset_NotFound_Exception

public void test_IAsset_NotFound_Exception()

test_IAsset_Param_Render

public void test_IAsset_Param_Render()

newScript

protected IScript newScript()

trainGetScript

protected void trainGetScript(IScriptSource source,
                              org.apache.hivemind.Resource scriptLocation,
                              IScript script)

newScriptSource

protected IScriptSource newScriptSource()

trainGetScriptLocation

protected void trainGetScriptLocation(IComponent component,
                                      String scriptPath,
                                      org.apache.hivemind.Resource scriptLocation,
                                      AssetSource assetSource)


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