edu.rice.cs.drjava.model
Class GlobalModelTestCase.CompileShouldFailListener

java.lang.Object
  |
  +--edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
        |
        +--edu.rice.cs.drjava.model.GlobalModelTestCase.CompileShouldFailListener
All Implemented Interfaces:
GlobalModelListener
Enclosing class:
GlobalModelTestCase

public static class GlobalModelTestCase.CompileShouldFailListener
extends GlobalModelTestCase.TestListener

A model listener for situations expecting a compilation to fail.


Inner classes inherited from class edu.rice.cs.drjava.model.GlobalModelListener
GlobalModelListener.SaveReason
 
Fields inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
canAbandonCount, closeCount, compileEndCount, compileStartCount, consoleResetCount, fileRevertedCount, interactionEndCount, interactionsExitedCount, interactionsResetCount, interactionsResettingCount, interactionStartCount, junitEndCount, junitRunningCount, junitStartCount, lastExitStatus, newCount, nonTestCaseCount, openCount, saveAllBeforeProceedingCount, saveCount, shouldRevertFileCount
 
Fields inherited from interface edu.rice.cs.drjava.model.GlobalModelListener
COMPILE_REASON, DEBUG_REASON, JUNIT_REASON
 
Constructor Summary
GlobalModelTestCase.CompileShouldFailListener()
           
 
Method Summary
 void checkCompileOccurred()
           
 void compileEnded()
          Called when a compile has finished running.
 void compileStarted()
          Called after a compile is started by the GlobalModel.
 
Methods inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
assertAbandonCount, assertCloseCount, assertCompileEndCount, assertCompileStartCount, assertConsoleResetCount, assertFileRevertedCount, assertInteractionEndCount, assertInteractionsExitedCount, assertInteractionsResetCount, assertInteractionsResettingCount, assertInteractionStartCount, assertJUnitEndCount, assertJUnitRunningCount, assertJUnitStartCount, assertNewCount, assertNonTestCaseCount, assertOpenCount, assertSaveAllBeforeProceedingCount, assertSaveCount, assertShouldRevertFileCount, canAbandonFile, consoleReset, fileClosed, fileOpened, fileReverted, fileSaved, interactionEnded, interactionsExited, interactionsReset, interactionsResetting, interactionStarted, junitEnded, junitRunning, junitStarted, newFileCreated, nonTestCase, resetCounts, saveAllBeforeProceeding, shouldRevertFile
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

GlobalModelTestCase.CompileShouldFailListener

public GlobalModelTestCase.CompileShouldFailListener()
Method Detail

compileStarted

public void compileStarted()
Description copied from interface: GlobalModelListener
Called after a compile is started by the GlobalModel.
Overrides:
compileStarted in class GlobalModelTestCase.TestListener

compileEnded

public void compileEnded()
Description copied from interface: GlobalModelListener
Called when a compile has finished running.
Overrides:
compileEnded in class GlobalModelTestCase.TestListener

checkCompileOccurred

public void checkCompileOccurred()