Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.repoweb.action
Class UriBeautifierTest  view UriBeautifierTest download UriBeautifierTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byservletunit.struts.MockStrutsTestCase
              extended byorg.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.
 
Field Summary
 
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
 
Constructor Summary
UriBeautifierTest(java.lang.String name)
           
 
Method Summary
private  org.apache.struts.action.DynaActionForm getDynaForm()
           
 void test_artifact()
           
 void test_badUri_long()
           
 void test_badUri_short()
           
 void test_group()
           
 void test_root()
           
 void test_type_noS()
           
 void test_type()
           
 
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.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UriBeautifierTest

public UriBeautifierTest(java.lang.String name)
Method Detail

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()