edu.rice.cs.util.newjvm
Class IntegratedMasterSlaveTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.util.newjvm.IntegratedMasterSlaveTest
All Implemented Interfaces:
Test

public class IntegratedMasterSlaveTest
extends DrJavaTestCase

Test cases for the master/slave jvm control framework.

Version:
$Id: IntegratedMasterSlaveTest.java 4691 2008-12-02 23:33:27Z dlsmith $

Nested Class Summary
static class IntegratedMasterSlaveTest.CounterSlave
          The slave will exit with error codes in the case of problems, since there is no other thing it can do! 1MasterRemote class cast exception. 2Incorect value from getLetter 3RemoteException caught 4Timeout waiting for master JVM to call 5Interrupted while waiting for master JVM to call
static interface IntegratedMasterSlaveTest.TestMasterRemote
           
static interface IntegratedMasterSlaveTest.TestSlaveRemote
           
 
Field Summary
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
IntegratedMasterSlaveTest()
           
 
Method Summary
 void tearDown()
          Clean up for every test case.
 void testImmediateQuit()
           
 void testItAll()
           
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText, setUp
 
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

IntegratedMasterSlaveTest

public IntegratedMasterSlaveTest()
Method Detail

tearDown

public void tearDown()
              throws Exception
Description copied from class: DrJavaTestCase
Clean up for every test case. Only used in unit tests. Added because Windows would intermittently throw a java.util.concurrent.RejectedExecutionException during cleanup.

Overrides:
tearDown in class DrJavaTestCase
Throws:
Exception

testItAll

public void testItAll()
               throws Exception
Throws:
Exception

testImmediateQuit

public void testImmediateQuit()
                       throws Exception
Throws:
Exception