com.atlassian.plugin.servlet
Class TestDefaultServletModuleManager

java.lang.Object
  extended by com.atlassian.plugin.servlet.TestDefaultServletModuleManager

public class TestDefaultServletModuleManager
extends Object


Constructor Summary
TestDefaultServletModuleManager()
           
 
Method Summary
 void setUp()
           
 void testFilterOrModuleRemovalDuringShutdown()
           
 void testFilterSorting()
           
 void testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared()
           
 void testGetFiltersWithDispatcher()
           
 void testGettingFilter()
           
 void testGettingFilterWithException()
           
 void testGettingServlet()
           
 void testGettingServletWithComplexPath()
           
 void testGettingServletWithException()
           
 void testGettingServletWithSimplePath()
           
 void testMultipleFiltersWithTheSameComplexPath()
           
 void testMultipleFiltersWithTheSameSimplePath()
           
 void testPluginContextInitParamsGetMerged()
           
 void testServletListenerContextFilterAndServletUseTheSameServletContext()
           
 void testServletListenerContextInitializedIsCalled()
           
 void testShuttingDownDoesDestroyServletsFiltersAndContexts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDefaultServletModuleManager

public TestDefaultServletModuleManager()
Method Detail

setUp

public void setUp()

testGettingServletWithSimplePath

public void testGettingServletWithSimplePath()
                                      throws Exception
Throws:
Exception

testGettingServlet

public void testGettingServlet()

testGettingFilter

public void testGettingFilter()

testGettingServletWithException

public void testGettingServletWithException()
                                     throws Exception
Throws:
Exception

testGettingFilterWithException

public void testGettingFilterWithException()
                                    throws Exception
Throws:
Exception

testGettingServletWithComplexPath

public void testGettingServletWithComplexPath()
                                       throws Exception
Throws:
Exception

testMultipleFiltersWithTheSameComplexPath

public void testMultipleFiltersWithTheSameComplexPath()
                                               throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

testMultipleFiltersWithTheSameSimplePath

public void testMultipleFiltersWithTheSameSimplePath()
                                              throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

testPluginContextInitParamsGetMerged

public void testPluginContextInitParamsGetMerged()
                                          throws Exception
Throws:
Exception

testServletListenerContextInitializedIsCalled

public void testServletListenerContextInitializedIsCalled()
                                                   throws Exception
Throws:
Exception

testServletListenerContextFilterAndServletUseTheSameServletContext

public void testServletListenerContextFilterAndServletUseTheSameServletContext()
                                                                        throws Exception
Throws:
Exception

testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared

public void testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared()
                                                                                        throws Exception
Throws:
Exception

testGetFiltersWithDispatcher

public void testGetFiltersWithDispatcher()
                                  throws Exception
Throws:
Exception

testShuttingDownDoesDestroyServletsFiltersAndContexts

public void testShuttingDownDoesDestroyServletsFiltersAndContexts()
                                                           throws Exception
Throws:
Exception

testFilterOrModuleRemovalDuringShutdown

public void testFilterOrModuleRemovalDuringShutdown()
                                             throws Exception
Throws:
Exception

testFilterSorting

public void testFilterSorting()
                       throws Exception
Throws:
Exception
Since:
3.2.20


Copyright © 2015 Atlassian. All rights reserved.