it.com.atlassian.plugin.servlet
Class TestDelegatingPluginServlet

java.lang.Object
  extended by it.com.atlassian.plugin.servlet.TestDelegatingPluginServlet

public class TestDelegatingPluginServlet
extends Object


Constructor Summary
TestDelegatingPluginServlet()
           
 
Method Summary
 void setUp()
           
 void testInitCalledWithPluginClassLoaderAsThreadClassLoader()
          Test to make sure the plugin class loader is set for the thread context class loader when init is called.
 void testServiceCalledWithPluginClassLoaderAsThreadClassLoader()
          Test to make sure the plugin class loader is set for the thread context class loader when service is called.
 void testServiceCalledWithWrappedRequest()
          Test to make sure the servlet is called with our request wrapper.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDelegatingPluginServlet

public TestDelegatingPluginServlet()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testInitCalledWithPluginClassLoaderAsThreadClassLoader

public void testInitCalledWithPluginClassLoaderAsThreadClassLoader()
                                                            throws Exception
Test to make sure the plugin class loader is set for the thread context class loader when init is called.

Throws:
Exception - on test error

testServiceCalledWithPluginClassLoaderAsThreadClassLoader

public void testServiceCalledWithPluginClassLoaderAsThreadClassLoader()
                                                               throws Exception
Test to make sure the plugin class loader is set for the thread context class loader when service is called.

Throws:
Exception - on test error

testServiceCalledWithWrappedRequest

public void testServiceCalledWithWrappedRequest()
                                         throws Exception
Test to make sure the servlet is called with our request wrapper.

Throws:
Exception - on test error


Copyright © 2015 Atlassian. All rights reserved.