com.atlassian.plugin.servlet
Class TestDefaultServletModuleManager

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.servlet.TestDefaultServletModuleManager
All Implemented Interfaces:
junit.framework.Test

public class TestDefaultServletModuleManager
extends junit.framework.TestCase


Constructor Summary
TestDefaultServletModuleManager()
           
 
Method Summary
 void setUp()
           
 void testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared()
           
 void testGetFiltersWithDispatcher()
           
 void testGettingFilter()
           
 void testGettingFilterWithException()
           
 void testGettingServlet()
           
 void testGettingServletWithComplexPath()
           
 void testGettingServletWithException()
           
 void testGettingServletWithSimplePath()
           
 void testMultipleFitlersWithTheSameComplexPath()
           
 void testMultipleFitlersWithTheSameSimplePath()
           
 void testPluginContextInitParamsGetMerged()
           
 void testServletListenerContextFilterAndServletUseTheSameServletContext()
           
 void testServletListenerContextInitializedIsCalled()
           
 void testSortedInsertInsertsDistinctElementProperly()
           
 void testSortedInsertInsertsNonDistinctElementProperly()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDefaultServletModuleManager

public TestDefaultServletModuleManager()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testSortedInsertInsertsDistinctElementProperly

public void testSortedInsertInsertsDistinctElementProperly()

testSortedInsertInsertsNonDistinctElementProperly

public void testSortedInsertInsertsNonDistinctElementProperly()

testGettingServletWithSimplePath

public void testGettingServletWithSimplePath()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testGettingServlet

public void testGettingServlet()

testGettingFilter

public void testGettingFilter()

testGettingServletWithException

public void testGettingServletWithException()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testGettingFilterWithException

public void testGettingFilterWithException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testGettingServletWithComplexPath

public void testGettingServletWithComplexPath()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleFitlersWithTheSameComplexPath

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

testMultipleFitlersWithTheSameSimplePath

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

testPluginContextInitParamsGetMerged

public void testPluginContextInitParamsGetMerged()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testServletListenerContextInitializedIsCalled

public void testServletListenerContextInitializedIsCalled()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

testServletListenerContextFilterAndServletUseTheSameServletContext

public void testServletListenerContextFilterAndServletUseTheSameServletContext()
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared

public void testFiltersWithSameLocationAndWeightInTheSamePluginAppearInTheOrderTheyAreDeclared()
                                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

testGetFiltersWithDispatcher

public void testGetFiltersWithDispatcher()
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2013 Atlassian. All Rights Reserved.