com.atlassian.plugin.servlet.filter
Class TestDelegatingPluginFilter

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

public class TestDelegatingPluginFilter
extends junit.framework.TestCase


Constructor Summary
TestDelegatingPluginFilter()
           
 
Method Summary
 void testClassLoaderResetDuringFilterChainExecution()
           
 void testPluginClassLoaderIsRestoredProperlyWhenAnExceptionIsThrownFromFilter()
           
 void testPluginClassLoaderIsThreadContextClassLoaderWhenFiltering()
           
 void testPluginClassLoaderIsThreadContextLoaderWhenFiltersInChainAreFromDifferentPlugins()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

TestDelegatingPluginFilter

public TestDelegatingPluginFilter()
Method Detail

testPluginClassLoaderIsThreadContextClassLoaderWhenFiltering

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

testClassLoaderResetDuringFilterChainExecution

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

testPluginClassLoaderIsThreadContextLoaderWhenFiltersInChainAreFromDifferentPlugins

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

testPluginClassLoaderIsRestoredProperlyWhenAnExceptionIsThrownFromFilter

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


Copyright © 2010 Atlassian. All Rights Reserved.