org.jboss.test.util.test.concurrent
Class TimeoutFactoryTestCase

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

public class TimeoutFactoryTestCase
extends junit.framework.TestCase

Unit tests for TimeoutFactory class.

Version:
$Revision: 2393 $
Author:
Elias Ross, Dimitris Andreadis

Constructor Summary
TimeoutFactoryTestCase(String name)
           
 
Method Summary
 void testAbortingSmallThreadPool()
           
 void testBlocking()
           
 void testBlockingSmallThreadPool()
           
 void testCancel()
           
 void testCancelFactory()
           
 void testConsecutiveTimeouts()
           
 void testDefaultCtr()
           
 void testFailedTarget()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeoutFactoryTestCase

public TimeoutFactoryTestCase(String name)
Method Detail

testBlocking

public void testBlocking()
                  throws Exception
Throws:
Exception

testDefaultCtr

public void testDefaultCtr()
                    throws Exception
Throws:
Exception

testConsecutiveTimeouts

public void testConsecutiveTimeouts()
                             throws Exception
Throws:
Exception

testCancel

public void testCancel()
                throws Exception
Throws:
Exception

testCancelFactory

public void testCancelFactory()
                       throws Exception
Throws:
Exception

testBlockingSmallThreadPool

public void testBlockingSmallThreadPool()
                                 throws Exception
Throws:
Exception

testAbortingSmallThreadPool

public void testAbortingSmallThreadPool()
                                 throws Exception
Throws:
Exception

testFailedTarget

public void testFailedTarget()
                      throws Exception
Throws:
Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.