org.jboss.test.util.test.threadpool
Class BasicThreadPoolTCCLTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.util.test.threadpool.BasicThreadPoolTCCLTestCase
All Implemented Interfaces:
junit.framework.Test

public class BasicThreadPoolTCCLTestCase
extends junit.framework.TestCase

Tests thread context classloader management by BasicThreadPool.

Author:
Brian Stansberry

Field Summary
protected  ClassLoader origCl
           
 
Constructor Summary
BasicThreadPoolTCCLTestCase(String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testConfiguredClassLoaderSource()
           
 void testNullClassLoaderSource()
           
 
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
 

Field Detail

origCl

protected ClassLoader origCl
Constructor Detail

BasicThreadPoolTCCLTestCase

public BasicThreadPoolTCCLTestCase(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testNullClassLoaderSource

public void testNullClassLoaderSource()
                               throws Exception
Throws:
Exception

testConfiguredClassLoaderSource

public void testConfiguredClassLoaderSource()
                                     throws Exception
Throws:
Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.