edu.rice.cs.drjava.ui
Class SingleDisplayModelTest.SDTestListener
java.lang.Object
|
+--edu.rice.cs.drjava.model.GlobalModelTestCase.TestListener
|
+--edu.rice.cs.drjava.ui.SingleDisplayModelTest.SDTestListener
- All Implemented Interfaces:
- GlobalModelListener, SingleDisplayModelListener
- Enclosing class:
- SingleDisplayModelTest
- public static class SingleDisplayModelTest.SDTestListener
- extends GlobalModelTestCase.TestListener
- implements SingleDisplayModelListener
A SingleDisplayModelListener for testing.
By default it expects no events to be fired. To customize,
subclass and override one or more methods.
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 |
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, compileEnded, compileStarted, consoleReset, fileClosed, fileOpened, fileReverted, fileSaved, interactionEnded, interactionsExited, interactionsReset, interactionsResetting, interactionStarted, junitEnded, junitRunning, junitStarted, newFileCreated, nonTestCase, saveAllBeforeProceeding, shouldRevertFile |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Methods inherited from interface edu.rice.cs.drjava.model.GlobalModelListener |
canAbandonFile, compileEnded, compileStarted, consoleReset, fileClosed, fileOpened, fileReverted, fileSaved, interactionEnded, interactionsExited, interactionsReset, interactionsResetting, interactionStarted, junitEnded, junitRunning, junitStarted, newFileCreated, nonTestCase, saveAllBeforeProceeding, shouldRevertFile |
switchCount
protected int switchCount
SingleDisplayModelTest.SDTestListener
public SingleDisplayModelTest.SDTestListener()
resetCounts
public void resetCounts()
- Overrides:
resetCounts
in class GlobalModelTestCase.TestListener
assertSwitchCount
public void assertSwitchCount(int i)
activeDocumentChanged
public void activeDocumentChanged(OpenDefinitionsDocument doc)
- Specified by:
activeDocumentChanged
in interface SingleDisplayModelListener