java.lang.Object
junit.framework.Assert
junit.framework.TestCase
servletunit.struts.MockStrutsTestCase
org.repoweb.action.UriBeautifierTest
- All Implemented Interfaces:
- junit.framework.Test
- public class UriBeautifierTest
- extends servletunit.struts.MockStrutsTestCase
Test classes for UriBeautifier.
|
Nested Class Summary |
private class |
UriBeautifierTest.Mocker
Mock wrapper to allow the method getRequestURI() to return valid data. |
| Fields inherited from class servletunit.struts.MockStrutsTestCase |
actionPath, actionServlet, actionServletIsInitialized, config, context, isInitialized, logger, registrations, request, requestPathSet, requestWrapper, response, responseWrapper |
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class servletunit.struts.MockStrutsTestCase |
actionPerform, addRequestParameter, addRequestParameter, clearRequestParameters, getActionForm, getActionServlet, getActualForward, getMockRequest, getMockResponse, getRequest, getRequestWrapper, getResponse, getResponseWrapper, getSession, setActionForm, setActionServlet, setConfigFile, setConfigFile, setContextDirectory, setInitParameter, setRequestPathInfo, setRequestPathInfo, setRequestWrapper, setResponseWrapper, setServletConfigFile, setUp, tearDown, verifyActionErrors, verifyActionMessages, verifyForward, verifyForwardPath, verifyInputForward, verifyInputTilesForward, verifyNoActionErrors, verifyNoActionMessages, verifyTilesForward |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
UriBeautifierTest
public UriBeautifierTest(java.lang.String name)
test_badUri_short
public void test_badUri_short()
throws java.lang.Exception
test_badUri_long
public void test_badUri_long()
throws java.lang.Exception
test_root
public void test_root()
throws java.lang.Exception
test_group
public void test_group()
throws java.lang.Exception
test_type
public void test_type()
throws java.lang.Exception
test_type_noS
public void test_type_noS()
throws java.lang.Exception
test_artifact
public void test_artifact()
throws java.lang.Exception
getDynaForm
private org.apache.struts.action.DynaActionForm getDynaForm()