| |
|
| com.opensymphony.webwork.views.jsp.AbstractTagTest com.opensymphony.webwork.views.jsp.AbstractUITagTest com.opensymphony.webwork.views.jsp.URLTagTest
URLTagTest | public class URLTagTest extends AbstractUITagTest (Code) | | Unit test for
URLTag .
author: Brock Bulger (brockman_bulger@hotmail.com) version: $Date: 2006-08-31 20:31:11 +0200 (Thu, 31 Aug 2006) $ $Id: URLTagTest.java 2711 2006-08-31 18:31:11Z tmjee $ |
Inner Class :public class Foo | |
testIncludeParamsDefaultToGET | public void testIncludeParamsDefaultToGET() throws Exception(Code) | | |
testNoActionIncludeGet | public void testNoActionIncludeGet() throws Exception(Code) | | |
testParamPrecedence | public void testParamPrecedence() throws Exception(Code) | | |
testParamPrecedenceWithAnchor | public void testParamPrecedenceWithAnchor() throws Exception(Code) | | |
testParametersPriority | public void testParametersPriority() throws Exception(Code) | | To test priority of parameter passed in to url component though
various way
- current request url
- tag's value attribute
- tag's nested param tag
id1
===
- found in current request url
- found in tag's value attribute
- found in tag's param tag
CONCLUSION: tag's param tag takes precedence (paramId1)
id2
===
- found in current request url
- found in tag's value attribute
CONCLUSION: tag's value attribute take precedence (tagId2)
urlParam1
=========
- found in current request url
CONCLUSION: param in current request url will be used (urlValue1)
urlParam2
=========
- found in current request url
CONCLUSION: param in current request url will be used. (urlValue2)
tagId
=====
- found in tag's value attribute
CONCLUSION: param in tag's value attribute wil; be used. (tagValue)
param1
======
- found in nested param tag
CONCLUSION: param in nested param tag will be used. (param1value)
param2
======
- found in nested param tag
CONCLUSION: param in nested param tag will be used. (param2value)
|
testParametersPriorityWithIncludeParamsAsNONE | public void testParametersPriorityWithIncludeParamsAsNONE() throws Exception(Code) | | To test priority of parameter passed in to url component though
various way, with includeParams="NONE"
- current request url
- tag's value attribute
- tag's nested param tag
In this case only parameters from the tag itself is taken into account.
Those from request will not count, only those in tag's value attribute
and nested param tag.
throws: Exception - |
testRequestURIActionIncludeAll | public void testRequestURIActionIncludeAll() throws Exception(Code) | | |
testRequestURIActionIncludeGet | public void testRequestURIActionIncludeGet() throws Exception(Code) | | |
testRequestURIActionIncludeNone | public void testRequestURIActionIncludeNone() throws Exception(Code) | | |
testRequestURINoActionIncludeAll | public void testRequestURINoActionIncludeAll() throws Exception(Code) | | |
testRequestURINoActionIncludeNone | public void testRequestURINoActionIncludeNone() throws Exception(Code) | | |
testRequestURIWithAnchor | public void testRequestURIWithAnchor() throws Exception(Code) | | |
testUnknownIncludeParam | public void testUnknownIncludeParam() throws Exception(Code) | | |
Fields inherited from com.opensymphony.webwork.views.jsp.AbstractUITagTest | final static String FREEMARKER_ERROR_EXPECTATION(Code)(Java Doc)
|
|
|
|