com.atlassian.plugin.servlet.filter
Class TestDelegatingPluginFilter

java.lang.Object
  extended by com.atlassian.plugin.servlet.filter.TestDelegatingPluginFilter

public class TestDelegatingPluginFilter
extends Object


Field Summary
 org.junit.rules.ExpectedException expectedException
           
 
Constructor Summary
TestDelegatingPluginFilter()
           
 
Method Summary
 void pluginCanBeUninstalledFromFilterChain()
           
 void setUp()
           
 void testClassLoaderResetDuringFilterChainExecution()
           
 void testPluginClassLoaderIsRestoredProperlyWhenAnExceptionIsThrownFromFilter()
           
 void testPluginClassLoaderIsThreadContextClassLoaderWhenFiltering()
           
 void testPluginClassLoaderIsThreadContextLoaderWhenFiltersInChainAreFromDifferentPlugins()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException
Constructor Detail

TestDelegatingPluginFilter

public TestDelegatingPluginFilter()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testPluginClassLoaderIsThreadContextClassLoaderWhenFiltering

public void testPluginClassLoaderIsThreadContextClassLoaderWhenFiltering()
                                                                  throws Exception
Throws:
Exception

testClassLoaderResetDuringFilterChainExecution

public void testClassLoaderResetDuringFilterChainExecution()
                                                    throws Exception
Throws:
Exception

testPluginClassLoaderIsThreadContextLoaderWhenFiltersInChainAreFromDifferentPlugins

public void testPluginClassLoaderIsThreadContextLoaderWhenFiltersInChainAreFromDifferentPlugins()
                                                                                         throws Exception
Throws:
Exception

testPluginClassLoaderIsRestoredProperlyWhenAnExceptionIsThrownFromFilter

public void testPluginClassLoaderIsRestoredProperlyWhenAnExceptionIsThrownFromFilter()
                                                                              throws Exception
Throws:
Exception

pluginCanBeUninstalledFromFilterChain

public void pluginCanBeUninstalledFromFilterChain()
                                           throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.