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 testGettingServletWithComplexPath()
           
 void testGettingServletWithSimplePath()
           
 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 java.lang.Exception
Throws:
java.lang.Exception

testGettingServletWithComplexPath

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

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


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.