edu.rice.cs.drjava.model.repl
Class InteractionsModelTest.BadSyntaxInteractionsModel
java.lang.Object
edu.rice.cs.drjava.model.repl.InteractionsModel
edu.rice.cs.drjava.model.repl.InteractionsModelTest.TestInteractionsModel
edu.rice.cs.drjava.model.repl.InteractionsModelTest.BadSyntaxInteractionsModel
- All Implemented Interfaces:
- InteractionsModelCallback
- Enclosing class:
- InteractionsModelTest
private static class InteractionsModelTest.BadSyntaxInteractionsModel
- extends InteractionsModelTest.TestInteractionsModel
This test model can simulate a syntax error in interpretation.
| Fields inherited from class edu.rice.cs.drjava.model.repl.InteractionsModel |
_autoImportSet, _cDoc, _document, _inputListener, _lastError, _notifier, _pane, _secondToLastError, _waitingForFirstInterpreter, _workingDirectory, _writerLock, BANNER_PREFIX, WRITE_DELAY |
| Methods inherited from class edu.rice.cs.drjava.model.repl.InteractionsModelTest.TestInteractionsModel |
_interpreterResetFailed, _interpreterWontStart, _logInteractionStart, _notifyInteractionEnded, _notifyInteractionIncomplete, _notifyInteractionStarted, _notifyInterpreterExited, _notifyInterpreterReady, _notifyInterpreterResetFailed, _notifyInterpreterResetting, _notifySyntaxErrorOccurred, _resetInterpreter, _waitInteractionDone, addBuildDirectoryClassPath, addExternalFilesClassPath, addExtraClassPath, addProjectClassPath, addProjectFilesClassPath, getCompilerBootClassPath, getConsoleDocument, getVariableToString, transformCommands |
| Methods inherited from class edu.rice.cs.drjava.model.repl.InteractionsModel |
_addNewline, _createNewDebugPort, _getHistoryText, _interactionIsOver, _removeSeparators, _writerDelay, addListener, append, autoImport, changeInputListener, getBanner, getBanner, getConsoleInput, getDebugPort, getDocument, getLastError, getSecondToLastError, getStartUpBanner, getWorkingDirectory, interactionContinues, interpret, interpretCurrentInteraction, interpreterReady, interpreterResetFailed, interpreterResetting, interpreterWontStart, loadHistory, loadHistoryAsScript, performDefaultImports, removeAllInteractionListeners, removeLastFromHistory, removeListener, replaceLLException, replCalledSystemExit, replReturnedResult, replReturnedSyntaxError, replReturnedVoid, replSystemErrPrint, replSystemOutPrint, replThrewException, replThrewException, resetInterpreter, resetLastErrors, scrollToCaret, setDebugPort, setInputListener, setUpPane, setWaitingForFirstInterpreter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
errorString1
private String errorString1
errorString2
private String errorString2
errorPresent
private boolean errorPresent
InteractionsModelTest.BadSyntaxInteractionsModel
InteractionsModelTest.BadSyntaxInteractionsModel(InteractionsDJDocument adapter)
setSyntaxErrorStrings
protected void setSyntaxErrorStrings(String s1,
String s2)
disableSyntaxError
protected void disableSyntaxError()
_interpret
protected void _interpret(String toEval)
- Simulates a syntax error in interpretation.
- Overrides:
_interpret in class InteractionsModelTest.TestInteractionsModel
- Parameters:
toEval - command to be evaluated