edu.rice.cs.plt.concurrent
Class ConcurrentUtilTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.plt.concurrent.ConcurrentUtilTest
All Implemented Interfaces:
Test

public class ConcurrentUtilTest
extends TestCase


Constructor Summary
ConcurrentUtilTest()
           
 
Method Summary
 void testComputeIncrementalInProcess()
           
 void testComputeIncrementalInThread()
           
 void testComputeInProcess()
           
 void testComputeInThread()
           
 void testComputeInThreadWithException()
           
 void testExportInProcess()
           
 void testRunInThread()
           
 void testSleep()
           
 void testWork()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentUtilTest

public ConcurrentUtilTest()
Method Detail

testSleep

public void testSleep()

testWork

public void testWork()

testRunInThread

public void testRunInThread()

testComputeInThread

public void testComputeInThread()

testComputeInThreadWithException

public void testComputeInThreadWithException()

testComputeIncrementalInThread

public void testComputeIncrementalInThread()

testComputeInProcess

public void testComputeInProcess()

testComputeIncrementalInProcess

public void testComputeIncrementalInProcess()

testExportInProcess

public void testExportInProcess()
                         throws java.lang.InterruptedException,
                                java.io.IOException,
                                java.util.concurrent.ExecutionException
Throws:
java.lang.InterruptedException
java.io.IOException
java.util.concurrent.ExecutionException