edu.rice.cs.drjava.model.repl.newjvm
Class NewJVMTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.rice.cs.drjava.model.repl.newjvm.NewJVMTest
All Implemented Interfaces:
Test

public class NewJVMTest
extends TestCase

Tests the functionality of the new JVM manager.

Version:
$Id: NewJVMTest.java,v 1.8 2002/09/04 21:02:17 csreis Exp $

Inner Class Summary
private static class NewJVMTest.TestJVMExtension
           
 
Field Summary
private static NewJVMTest.TestJVMExtension _jvm
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
NewJVMTest(String name)
           
 
Method Summary
protected  void setUp()
           
static Test suite()
           
 void testPrintln()
           
 void testReturnConstant()
           
 void testStackTraceEmptyTrace()
           
 void testThrowNPE()
           
 void testThrowRuntimeException()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

_jvm

private static NewJVMTest.TestJVMExtension _jvm
Constructor Detail

NewJVMTest

public NewJVMTest(String name)
Method Detail

setUp

protected void setUp()
              throws RemoteException
Overrides:
setUp in class TestCase

suite

public static Test suite()

testPrintln

public void testPrintln()
                 throws Throwable

testReturnConstant

public void testReturnConstant()
                        throws Throwable

testThrowRuntimeException

public void testThrowRuntimeException()
                               throws Throwable

testThrowNPE

public void testThrowNPE()
                  throws Throwable

testStackTraceEmptyTrace

public void testStackTraceEmptyTrace()
                              throws Throwable