org.jboss.test.util.test.loading
Class ConstructorTCCLClassLoaderSourceUnitTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.util.test.loading.ClassLoaderSourceTestBase
              extended by org.jboss.test.util.test.loading.ConstructorTCCLClassLoaderSourceUnitTestCase
All Implemented Interfaces:
junit.framework.Test

public class ConstructorTCCLClassLoaderSourceUnitTestCase
extends ClassLoaderSourceTestBase

Unit tests of ConstructorTCCLClassLoaderSource.

Author:
Brian Stansberry

Field Summary
 
Fields inherited from class org.jboss.test.util.test.loading.ClassLoaderSourceTestBase
origCl
 
Constructor Summary
ConstructorTCCLClassLoaderSourceUnitTestCase(String name)
           
 
Method Summary
protected  org.jboss.util.loading.ClassLoaderSource createClassLoaderSource()
           
protected  ClassLoader getExpectedClassLoader(ClassLoader tccl)
           
 void testGarbageCollectedClassLoader()
          Tests that the ClassLoaderSource does not prevent garbage collection of the classloader.
 
Methods inherited from class org.jboss.test.util.test.loading.ClassLoaderSourceTestBase
checkCorrectClassLoaderSource, getExtendedClassLoader, setUp, tearDown, testDifferentTCCL, testImplClassLoader, testNullTCCL, testOriginalTCCL
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorTCCLClassLoaderSourceUnitTestCase

public ConstructorTCCLClassLoaderSourceUnitTestCase(String name)
Method Detail

createClassLoaderSource

protected org.jboss.util.loading.ClassLoaderSource createClassLoaderSource()
Specified by:
createClassLoaderSource in class ClassLoaderSourceTestBase

getExpectedClassLoader

protected ClassLoader getExpectedClassLoader(ClassLoader tccl)
Specified by:
getExpectedClassLoader in class ClassLoaderSourceTestBase

testGarbageCollectedClassLoader

public void testGarbageCollectedClassLoader()
Tests that the ClassLoaderSource does not prevent garbage collection of the classloader.



Copyright © 2009 JBoss Inc.. All Rights Reserved.