com.stratelia.silverpeas.peasCore.servlets
Class WebComponentManagerTest

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.servlets.WebComponentRequestRouterTest
      extended by com.stratelia.silverpeas.peasCore.servlets.WebComponentManagerTest

public class WebComponentManagerTest
extends WebComponentRequestRouterTest


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stratelia.silverpeas.peasCore.servlets.WebComponentRequestRouterTest
WebComponentRequestRouterTest.ControllerTest<CONTROLLER extends WebComponentController<WEB_COMPONENT_REQUEST_CONTEXT>,WEB_COMPONENT_REQUEST_CONTEXT extends WebComponentRequestContext<? extends WebComponentController>>, WebComponentRequestRouterTest.RequestTest<CONTROLLER extends WebComponentController<WEB_COMPONENT_REQUEST_CONTEXT>,WEB_COMPONENT_REQUEST_CONTEXT extends WebComponentRequestContext<? extends WebComponentController>>, WebComponentRequestRouterTest.TestResult<WEB_COMPONENT_REQUEST_CONTEXT extends WebComponentRequestContext<? extends WebComponentController>>
 
Constructor Summary
WebComponentManagerTest()
           
 
Method Summary
 void doDeleteOnRequestRouter()
           
 void doGetOnRequestRouterWithRedirectToInternalJsp()
           
 void doPostOnRequestRouterWithRedirectToInternal()
           
 void doPutOnRequestRouterWithRedirectToInternalWithRedirectTo()
           
 void homepageIsNotSpecified()
           
 void httpMethodWithInvokableAnnotation()
           
 void invokableIdentifierAlreadyExists()
           
 void lowerAccessRoleButWrongHttpMethod()
           
 void lowerAccessRoleSuccess()
           
 void lowerAccessRoleWithUserThatHasNotEnoughRights()
           
 void lowerRoleAccessRedirectToInternalJspOnError()
           
 void lowerRoleAccessRedirectToInternalOnError()
           
 void lowerRoleAccessRedirectToOnError()
           
 void missingNavigationOnHttpMethod()
           
 void navigateToHtmlEditor()
           
 void navigationContextManagement()
           
 void oneIvokationAfter()
           
 void oneIvokationBefore()
           
 void oneVariableComplex()
           
 void oneVariableComplex2()
           
 void oneVariableRegexpCheckOk()
           
 void oneVariableRegexpCheckOk2()
           
 void oneVariableSimple()
           
 void redirectToInternalJspWithVariable()
           
 void redirectToInternalWithVariable()
           
 void redirectToWithVariable()
           
 void redirectToWithVariableButSeveralValuesForSameVariable()
           
 void referenceInvokableAfterThatDoesNotExist()
           
 void referenceInvokableBeforeThatDoesNotExist()
           
 void samePathsWithoutVariable()
           
 void samePathsWithVariables()
           
 void sameVariableName()
           
 void sameVariableNameButNotSameValues()
           
 void specialControllerInheritance()
           
 void threeIvokationsAfter()
           
 void threeIvokationsBeforeAndFourAfter()
           
 void twoHomepageIsSpecified()
           
 void twoIvokationsBefore()
           
 void twoNavigationsSpecifiedOnHttpMethod()
           
 void twoVariablesRegexpCheckOk()
           
 void variableConcurrencyStatic()
           
 void variableConcurrencyVariable()
           
 void variableConcurrencyVariableMethodNotFound()
           
 void veryfingWebComponentControllerInitialize()
           
 void webApplicationException412()
           
 void webComponentControllerIsNotAnnoted()
           
 
Methods inherited from class com.stratelia.silverpeas.peasCore.servlets.WebComponentRequestRouterTest
onController, setUp, tearDown, verifyDestination
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebComponentManagerTest

public WebComponentManagerTest()
Method Detail

webComponentControllerIsNotAnnoted

public void webComponentControllerIsNotAnnoted()
                                        throws Exception
Throws:
Exception

veryfingWebComponentControllerInitialize

public void veryfingWebComponentControllerInitialize()
                                              throws Exception
Throws:
Exception

doGetOnRequestRouterWithRedirectToInternalJsp

public void doGetOnRequestRouterWithRedirectToInternalJsp()
                                                   throws Exception
Throws:
Exception

doPostOnRequestRouterWithRedirectToInternal

public void doPostOnRequestRouterWithRedirectToInternal()
                                                 throws Exception
Throws:
Exception

doPutOnRequestRouterWithRedirectToInternalWithRedirectTo

public void doPutOnRequestRouterWithRedirectToInternalWithRedirectTo()
                                                              throws Exception
Throws:
Exception

doDeleteOnRequestRouter

public void doDeleteOnRequestRouter()
                             throws Exception
Throws:
Exception

homepageIsNotSpecified

public void homepageIsNotSpecified()
                            throws Exception
Throws:
Exception

twoHomepageIsSpecified

public void twoHomepageIsSpecified()
                            throws Exception
Throws:
Exception

lowerAccessRoleSuccess

public void lowerAccessRoleSuccess()
                            throws Exception
Throws:
Exception

lowerAccessRoleWithUserThatHasNotEnoughRights

public void lowerAccessRoleWithUserThatHasNotEnoughRights()
                                                   throws Exception
Throws:
Exception

lowerAccessRoleButWrongHttpMethod

public void lowerAccessRoleButWrongHttpMethod()
                                       throws Exception
Throws:
Exception

lowerRoleAccessRedirectToInternalJspOnError

public void lowerRoleAccessRedirectToInternalJspOnError()
                                                 throws Exception
Throws:
Exception

lowerRoleAccessRedirectToInternalOnError

public void lowerRoleAccessRedirectToInternalOnError()
                                              throws Exception
Throws:
Exception

lowerRoleAccessRedirectToOnError

public void lowerRoleAccessRedirectToOnError()
                                      throws Exception
Throws:
Exception

httpMethodWithInvokableAnnotation

public void httpMethodWithInvokableAnnotation()
                                       throws Exception
Throws:
Exception

referenceInvokableBeforeThatDoesNotExist

public void referenceInvokableBeforeThatDoesNotExist()
                                              throws Exception
Throws:
Exception

referenceInvokableAfterThatDoesNotExist

public void referenceInvokableAfterThatDoesNotExist()
                                             throws Exception
Throws:
Exception

invokableIdentifierAlreadyExists

public void invokableIdentifierAlreadyExists()
                                      throws Exception
Throws:
Exception

oneIvokationBefore

public void oneIvokationBefore()
                        throws Exception
Throws:
Exception

twoIvokationsBefore

public void twoIvokationsBefore()
                         throws Exception
Throws:
Exception

oneIvokationAfter

public void oneIvokationAfter()
                       throws Exception
Throws:
Exception

threeIvokationsAfter

public void threeIvokationsAfter()
                          throws Exception
Throws:
Exception

threeIvokationsBeforeAndFourAfter

public void threeIvokationsBeforeAndFourAfter()
                                       throws Exception
Throws:
Exception

navigateToHtmlEditor

public void navigateToHtmlEditor()
                          throws Exception
Throws:
Exception

missingNavigationOnHttpMethod

public void missingNavigationOnHttpMethod()
                                   throws Exception
Throws:
Exception

twoNavigationsSpecifiedOnHttpMethod

public void twoNavigationsSpecifiedOnHttpMethod()
                                         throws Exception
Throws:
Exception

samePathsWithoutVariable

public void samePathsWithoutVariable()
                              throws Exception
Throws:
Exception

samePathsWithVariables

public void samePathsWithVariables()
                            throws Exception
Throws:
Exception

oneVariableSimple

public void oneVariableSimple()
                       throws Exception
Throws:
Exception

oneVariableComplex

public void oneVariableComplex()
                        throws Exception
Throws:
Exception

oneVariableComplex2

public void oneVariableComplex2()
                         throws Exception
Throws:
Exception

oneVariableRegexpCheckOk

public void oneVariableRegexpCheckOk()
                              throws Exception
Throws:
Exception

oneVariableRegexpCheckOk2

public void oneVariableRegexpCheckOk2()
                               throws Exception
Throws:
Exception

twoVariablesRegexpCheckOk

public void twoVariablesRegexpCheckOk()
                               throws Exception
Throws:
Exception

sameVariableName

public void sameVariableName()
                      throws Exception
Throws:
Exception

sameVariableNameButNotSameValues

public void sameVariableNameButNotSameValues()
                                      throws Exception
Throws:
Exception

redirectToInternalJspWithVariable

public void redirectToInternalJspWithVariable()
                                       throws Exception
Throws:
Exception

redirectToInternalWithVariable

public void redirectToInternalWithVariable()
                                    throws Exception
Throws:
Exception

redirectToWithVariable

public void redirectToWithVariable()
                            throws Exception
Throws:
Exception

redirectToWithVariableButSeveralValuesForSameVariable

public void redirectToWithVariableButSeveralValuesForSameVariable()
                                                           throws Exception
Throws:
Exception

webApplicationException412

public void webApplicationException412()
                                throws Exception
Throws:
Exception

specialControllerInheritance

public void specialControllerInheritance()
                                  throws Exception
Throws:
Exception

variableConcurrencyVariableMethodNotFound

public void variableConcurrencyVariableMethodNotFound()
                                               throws Exception
Throws:
Exception

variableConcurrencyVariable

public void variableConcurrencyVariable()
                                 throws Exception
Throws:
Exception

variableConcurrencyStatic

public void variableConcurrencyStatic()
                               throws Exception
Throws:
Exception

navigationContextManagement

public void navigationContextManagement()
                                 throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.