org.jboss.test.classloader.test
Class UnifiedLoaderUnitTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.test.JBossTestCase (src) 
          extended byorg.jboss.test.classloader.test.UnifiedLoaderUnitTestCase

public class UnifiedLoaderUnitTestCase
extends JBossTestCase (src)

Unit tests for the org.jboss.mx.loading.UnifiedLoaderRepository

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.JBossTestCase (src)
delegate, deploymentException, log
 
Constructor Summary
UnifiedLoaderUnitTestCase(java.lang.String name)
           
 
Method Summary
protected  void debug(java.lang.String message)
           
 void testClassLoadingMBean()
          Test the UnifiedLoaderRepository for multi-threaded class loading
 void testInterruptedThreads()
          Test the UnifiedLoaderRepository being accessed by thread with an interrupted status
 void testLoadingArrayClass()
           
 void testResource()
          Test the UnifiedLoaderRepository finding local and global resources
 void testUnpackedResources()
           
 
Methods inherited from class org.jboss.test.JBossTestCase (src)
deploy, flushAuthCache, flushAuthCache, getBeanCount, getDeployerName, getDeploySetup, getDeployURL, getInitialContext, getIterationCount, getJndiInitFactory, getJndiURL, getLog, getResourceURL, getServer, getServerHost, getThreadCount, initDelegate, invoke, restartDBPool, sleep, testServerFound, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnifiedLoaderUnitTestCase

public UnifiedLoaderUnitTestCase(java.lang.String name)
Method Detail

testClassLoadingMBean

public void testClassLoadingMBean()
                           throws java.lang.Exception
Test the UnifiedLoaderRepository for multi-threaded class loading

Throws:
java.lang.Exception

testInterruptedThreads

public void testInterruptedThreads()
                            throws java.lang.Exception
Test the UnifiedLoaderRepository being accessed by thread with an interrupted status

Throws:
java.lang.Exception

testResource

public void testResource()
                  throws java.lang.Exception
Test the UnifiedLoaderRepository finding local and global resources

Throws:
java.lang.Exception

testUnpackedResources

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

testLoadingArrayClass

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

debug

protected void debug(java.lang.String message)