com.atlassian.plugin.util
Class TestClassLoaderStack

java.lang.Object
  extended by com.atlassian.plugin.util.TestClassLoaderStack

public class TestClassLoaderStack
extends java.lang.Object


Nested Class Summary
static class TestClassLoaderStack.MockClassLoader
           
 
Constructor Summary
TestClassLoaderStack()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testPopReturnsPreviousContextClassLoader()
           
 void testPushAndPopHandleNull()
           
 void testThreadClassLoaderIsReplacedAndRestored()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClassLoaderStack

public TestClassLoaderStack()
Method Detail

setUp

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

tearDown

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

testThreadClassLoaderIsReplacedAndRestored

public void testThreadClassLoaderIsReplacedAndRestored()
                                                throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

testPopReturnsPreviousContextClassLoader

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

testPushAndPopHandleNull

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


Copyright © 2013 Atlassian. All Rights Reserved.