com.atlassian.plugin.classloader
Class TestDelegationClassLoader

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

public class TestDelegationClassLoader
extends junit.framework.TestCase

Unit Tests for the DelegationClassLoader.


Constructor Summary
TestDelegationClassLoader()
           
 
Method Summary
 void testCanSetDelegate()
           
 void testCantLoadUnknownClassWithDelegateSet()
           
 void testCantLoadUnknownClassWithOutDelegateSet()
           
 void testCantSetNullDelegate()
           
 void testLoadSystemClassWithDelegateSet()
           
 void testLoadSystemClassWithOutDelegateSet()
           
 
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

TestDelegationClassLoader

public TestDelegationClassLoader()
Method Detail

testLoadSystemClassWithOutDelegateSet

public void testLoadSystemClassWithOutDelegateSet()
                                           throws ClassNotFoundException
Throws:
ClassNotFoundException

testLoadSystemClassWithDelegateSet

public void testLoadSystemClassWithDelegateSet()
                                        throws ClassNotFoundException
Throws:
ClassNotFoundException

testCantLoadUnknownClassWithOutDelegateSet

public void testCantLoadUnknownClassWithOutDelegateSet()

testCantLoadUnknownClassWithDelegateSet

public void testCantLoadUnknownClassWithDelegateSet()

testCantSetNullDelegate

public void testCantSetNullDelegate()

testCanSetDelegate

public void testCanSetDelegate()


Copyright © 2011 Atlassian. All Rights Reserved.