|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
edu.rice.cs.drjava.model.GlobalModelTestCase.InteractionListener
public static class GlobalModelTestCase.InteractionListener
| Field Summary | |
|---|---|
private CompletionMonitor |
_interactionDone
|
private int |
_lastExitStatus
|
private CompletionMonitor |
_resetDone
|
private static int |
WAIT_TIMEOUT
|
| Constructor Summary | |
|---|---|
GlobalModelTestCase.InteractionListener()
|
|
| Method Summary | |
|---|---|
void |
consoleReset()
Called when the console window is reset. |
int |
getLastExitStatus()
|
void |
interactionEnded()
Called when an interaction has ended. |
void |
interactionStarted()
Called when an interaction has started. |
void |
interpreterExited(int status)
Called when the interpreter exits unexpectedly. |
void |
interpreterReady(File wd)
Called when the interpreter is ready to use. |
void |
interpreterResetting()
Called when the interpreter has begun resetting. |
void |
logInteractionStart()
|
void |
resetConsoleResetCount()
|
void |
waitInteractionDone()
|
void |
waitResetDone()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final int WAIT_TIMEOUT
private volatile CompletionMonitor _interactionDone
private volatile CompletionMonitor _resetDone
private volatile int _lastExitStatus
| Constructor Detail |
|---|
public GlobalModelTestCase.InteractionListener()
| Method Detail |
|---|
public void interactionStarted()
InteractionsListener
interactionStarted in interface InteractionsListenerinteractionStarted in class GlobalModelTestCase.TestListenerpublic void interactionEnded()
InteractionsListener
interactionEnded in interface InteractionsListenerinteractionEnded in class GlobalModelTestCase.TestListenerpublic void interpreterExited(int status)
InteractionsListener
interpreterExited in interface InteractionsListenerinterpreterExited in class GlobalModelTestCase.TestListenerstatus - the exit codepublic void interpreterResetting()
InteractionsListener
interpreterResetting in interface InteractionsListenerinterpreterResetting in class GlobalModelTestCase.TestListenerpublic void interpreterReady(File wd)
InteractionsListener
interpreterReady in interface InteractionsListenerinterpreterReady in class GlobalModelTestCase.TestListenerpublic void consoleReset()
GlobalModelListener
consoleReset in interface GlobalModelListenerconsoleReset in class GlobalModelTestCase.TestListenerpublic void resetConsoleResetCount()
public void logInteractionStart()
public void waitInteractionDone()
public void waitResetDone()
throws InterruptedException
InterruptedExceptionpublic int getLastExitStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||