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
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, setUp, tearDown, toString
 
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 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


Copyright © 2014 Atlassian. All rights reserved.