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
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

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

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


Copyright © 2010 Atlassian. All Rights Reserved.