edu.rice.cs.drjava.model.repl.newjvm
Class NewJVMTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.repl.newjvm.NewJVMTest
- All Implemented Interfaces:
- Test
public final class NewJVMTest
- extends DrJavaTestCase
Tests the functionality of the new JVM manager.
- Version:
- $Id: NewJVMTest.java 4691 2008-12-02 23:33:27Z dlsmith $
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 |
NewJVMTest
public NewJVMTest(String name)
setUp
protected void setUp()
throws Exception
- Description copied from class:
DrJavaTestCase
- Set up for every test.
- Overrides:
setUp
in class DrJavaTestCase
- Throws:
Exception
- This convention is mandated by JUnit.TestCase, the superclass of this class.
suite
public static Test suite()
testPrintln
public void testPrintln()
throws Throwable
- Throws:
Throwable
testReturnConstant
public void testReturnConstant()
throws Throwable
- Throws:
Throwable
testWorksAfterRestartConstant
public void testWorksAfterRestartConstant()
throws Throwable
- Throws:
Throwable
testThrowRuntimeException
public void testThrowRuntimeException()
throws Throwable
- Throws:
Throwable
testToStringThrowsRuntimeException
public void testToStringThrowsRuntimeException()
throws Throwable
- Throws:
Throwable
testSwitchToNonExistantInterpreter
public void testSwitchToNonExistantInterpreter()
- Ensure that switching to a non-existant interpreter throws an Exception.
testSwitchActiveInterpreter
public void testSwitchActiveInterpreter()
throws InterruptedException
- Ensure that MainJVM can correctly switch the active interpreter used by
the interpreter JVM.
- Throws:
InterruptedException