com.atlassian.plugin.util
Class TestChainingClassLoader

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.util.TestChainingClassLoader
All Implemented Interfaces:
junit.framework.Test

public class TestChainingClassLoader
extends junit.framework.TestCase


Constructor Summary
TestChainingClassLoader()
           
 
Method Summary
 void testLoadClassInFirst()
           
 void testLoadClassInFirstHidesSecond()
           
 void testLoadClassInSecond()
           
 void testLoadClassOnlyInChainedClassloaders()
           
 void testLoadResourceInFirst()
           
 void testLoadResourceInFirstHidesSecond()
           
 void testLoadResourceInSecond()
           
 void testLoadResources()
           
 void testLoadResourceWithNameOverride()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
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, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestChainingClassLoader

public TestChainingClassLoader()
Method Detail

testLoadClassInFirst

public void testLoadClassInFirst()
                          throws Exception
Throws:
Exception

testLoadClassInSecond

public void testLoadClassInSecond()
                           throws Exception
Throws:
Exception

testLoadClassInFirstHidesSecond

public void testLoadClassInFirstHidesSecond()
                                     throws Exception
Throws:
Exception

testLoadResourceInFirst

public void testLoadResourceInFirst()
                             throws Exception
Throws:
Exception

testLoadResourceInSecond

public void testLoadResourceInSecond()
                              throws Exception
Throws:
Exception

testLoadResourceInFirstHidesSecond

public void testLoadResourceInFirstHidesSecond()
                                        throws Exception
Throws:
Exception

testLoadResources

public void testLoadResources()
                       throws Exception
Throws:
Exception

testLoadResourceWithNameOverride

public void testLoadResourceWithNameOverride()
                                      throws Exception
Throws:
Exception

testLoadClassOnlyInChainedClassloaders

public void testLoadClassOnlyInChainedClassloaders()
                                            throws Exception
Throws:
Exception


Copyright © 2011 Atlassian. All Rights Reserved.