edu.rice.cs.drjava.model.repl.newjvm
Class NewJVMTest.TestJVMExtension
java.lang.Object
edu.rice.cs.util.newjvm.AbstractMasterJVM
edu.rice.cs.drjava.model.repl.newjvm.MainJVM
edu.rice.cs.drjava.model.repl.newjvm.NewJVMTest.TestJVMExtension
- All Implemented Interfaces:
- MainJVMRemoteI, MasterRemote, Remote
- Enclosing class:
- NewJVMTest
private static class NewJVMTest.TestJVMExtension
- extends MainJVM
| Methods inherited from class edu.rice.cs.drjava.model.repl.newjvm.MainJVM |
addBuildDirectoryClassPath, addExternalFilesClassPath, addExtraClassPath, addInterpreter, addProjectClassPath, addProjectFilesClassPath, classFileError, dispose, findTestClasses, getClassPath, getConsoleInput, getFileForClassName, getVariableToString, handleSlaveConnected, handleSlaveQuit, handleSlaveWontStart, interpret, nonTestCase, removeInterpreter, restartInterpreterJVM, runTestSuite, setActiveInterpreter, setAllowAssertions, setDebugModel, setEnforceAllAccess, setEnforcePrivateAccess, setInteractionsModel, setJUnitModel, setPackageScope, setRequireSemicolon, setRequireVariableType, setStartupClassPath, setToDefaultInterpreter, setWorkingDirectory, startInterpreterJVM, stopInterpreterJVM, testEnded, testStarted, testSuiteEnded, testSuiteStarted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WAIT_TIMEOUT
private static final int WAIT_TIMEOUT
- See Also:
- Constant Field Values
_done
private final CompletionMonitor _done
_outBuf
private volatile String _outBuf
_errBuf
private volatile String _errBuf
_returnBuf
private volatile String _returnBuf
_exceptionMsgBuf
private volatile String _exceptionMsgBuf
_voidReturnFlag
private volatile boolean _voidReturnFlag
_testHandler
private volatile InterpretResult.Visitor<Void> _testHandler
NewJVMTest.TestJVMExtension
public NewJVMTest.TestJVMExtension()
throws RemoteException
- Throws:
RemoteException
resultHandler
protected InterpretResult.Visitor<Void> resultHandler()
- Description copied from class:
MainJVM
- Declared as a getter in order to allow subclasses to override the standard behavior.
- Overrides:
resultHandler in class MainJVM
resetFlags
public void resetFlags()
outBuf
public String outBuf()
errBuf
public String errBuf()
returnBuf
public String returnBuf()
exceptionMsgBuf
public String exceptionMsgBuf()
voidReturnFlag
public boolean voidReturnFlag()
systemErrPrint
public void systemErrPrint(String s)
- Description copied from class:
MainJVM
- Forwards a call to System.err from InterpreterJVM to the local InteractionsModel.
- Specified by:
systemErrPrint in interface MainJVMRemoteI- Overrides:
systemErrPrint in class MainJVM
- Parameters:
s - String that was printed in the other JVM
systemOutPrint
public void systemOutPrint(String s)
- Description copied from class:
MainJVM
- Forwards a call to System.out from InterpreterJVM to the local InteractionsModel.
- Specified by:
systemOutPrint in interface MainJVMRemoteI- Overrides:
systemOutPrint in class MainJVM
- Parameters:
s - String that was printed in the other JVM