|
||||||||||
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
edu.rice.cs.drjava.model.GlobalModelTestCase.CompileShouldSucceedListener
public static class GlobalModelTestCase.CompileShouldSucceedListener
A model listener for situations expecting a compilation to succeed.
Field Summary |
---|
Constructor Summary | |
---|---|
GlobalModelTestCase.CompileShouldSucceedListener()
|
Method Summary | |
---|---|
void |
activeCompilerChanged()
Called after the active compiler has been changed. |
void |
checkCompileOccurred()
|
void |
compile(OpenDefinitionsDocument doc)
|
void |
compileAborted(Exception e)
Called if a compilation is aborted. |
void |
compileEnded(File workDir,
List<? extends File> excludedFiles)
Called when a compile has finished running. |
void |
compileStarted()
Called after a compile is started by the GlobalModel. |
void |
logCompileStart()
|
void |
newFileCreated(OpenDefinitionsDocument doc)
Called after a new document is created. |
void |
waitCompileDone()
|
Methods inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase.InteractionListener |
---|
consoleReset, getLastExitStatus, interactionEnded, interactionStarted, interpreterExited, interpreterReady, interpreterResetting, logInteractionStart, resetConsoleResetCount, waitInteractionDone, waitResetDone |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalModelTestCase.CompileShouldSucceedListener()
Method Detail |
---|
public void logCompileStart()
public void compile(OpenDefinitionsDocument doc) throws IOException, InterruptedException
IOException
InterruptedException
public void waitCompileDone() throws InterruptedException
InterruptedException
public void newFileCreated(OpenDefinitionsDocument doc)
GlobalModelListener
newFileCreated
in interface GlobalModelListener
newFileCreated
in class GlobalModelTestCase.TestListener
public void compileStarted()
CompilerListener
compileStarted
in interface CompilerListener
compileStarted
in class GlobalModelTestCase.TestListener
public void compileEnded(File workDir, List<? extends File> excludedFiles)
CompilerListener
compileEnded
in interface CompilerListener
compileEnded
in class GlobalModelTestCase.TestListener
public void compileAborted(Exception e)
CompilerListener
compileAborted
in interface CompilerListener
compileAborted
in class GlobalModelTestCase.TestListener
public void activeCompilerChanged()
CompilerListener
activeCompilerChanged
in interface CompilerListener
activeCompilerChanged
in class GlobalModelTestCase.TestListener
public void checkCompileOccurred()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |