public class TestDelegatingPluginServlet
extends junit.framework.TestCase
| Constructor and Description |
|---|
TestDelegatingPluginServlet() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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, tearDown, toStringpublic void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testInitCalledWithPluginClassLoaderAsThreadClassLoader()
throws Exception
Exception - on test errorpublic void testServiceCalledWithPluginClassLoaderAsThreadClassLoader()
throws Exception
Exception - on test errorCopyright © 2014 Atlassian. All rights reserved.