edu.rice.cs.drjava.model.debug.jpda
Class DebugContextTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.MultiThreadedTestCase
edu.rice.cs.drjava.model.GlobalModelTestCase
edu.rice.cs.drjava.model.debug.DebugTestCase
edu.rice.cs.drjava.model.debug.jpda.JPDADebugTestCase
edu.rice.cs.drjava.model.debug.jpda.DebugContextTest
- All Implemented Interfaces:
- Test
public final class DebugContextTest
- extends JPDADebugTestCase
More tests over the JPDA debugger.
- Version:
- $Id: DebugContextTest.java 4691 2008-12-02 23:33:27Z dlsmith $
Nested classes/interfaces inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase |
GlobalModelTestCase.CancelingSelector, GlobalModelTestCase.CompileShouldFailListener, GlobalModelTestCase.CompileShouldSucceedListener, GlobalModelTestCase.FileMovedWarningException, GlobalModelTestCase.FileSelector, GlobalModelTestCase.InteractionListener, GlobalModelTestCase.JUnitNonTestListener, GlobalModelTestCase.JUnitTestListener, GlobalModelTestCase.OpenWarningException, GlobalModelTestCase.OverwriteException, GlobalModelTestCase.TestGlobalModel, GlobalModelTestCase.TestListener, GlobalModelTestCase.WarningFileSelector |
Fields inherited from class edu.rice.cs.drjava.model.debug.DebugTestCase |
_notifierLock, _pendingNotifies, CLASS_WITH_STATIC_FIELD, DEBUG_CLASS, DEBUG_CLASS_WITH_PACKAGE, INNER_CLASS_WITH_LOCAL_VARS, MONKEY_CLASS, MONKEY_STATIC_STUFF, MONKEY_WITH_INNER_CLASS, SUSPEND_CLASS, THREAD_DEATH_CLASS |
Fields inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase |
_doc, _interactionsController, _log, _model, _tempDir, BAR_TEXT, BAZ_TEXT, FOO_MISSING_CLOSE_TEXT, FOO_PACKAGE_AFTER_IMPORT, FOO_PACKAGE_AS_FIELD, FOO_PACKAGE_AS_FIELD_2, FOO_PACKAGE_AS_PART_OF_FIELD, FOO_PACKAGE_INSIDE_CLASS, FOO_TEXT |
Methods inherited from class edu.rice.cs.drjava.model.debug.DebugTestCase |
_asyncDoSetCurrentThread, _asyncResume, _asyncStep, _doSetCurrentThread, _notifyLock, _setPendingNotifies, _shutdownAndWaitForInteractionEnded, _shutdownWithoutSuspendedInteraction, _startupDebugger, _startupDebugger, tearDown |
Methods inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase |
assertCompileErrorsPresent, assertCompileErrorsPresent, assertContents, assertInteractionsContains, assertInteractionsDoesNotContain, assertInteractionsDoesNotMatch, assertInteractionsMatches, assertLength, assertModified, assertNumOpenDocs, changeDocumentText, classForJava, createFile, doCompile, doCompile, getCompilerErrorString, getInteractionsText, interpret, interpretIgnoreResult, safeLoadHistory, safeSaveHistory, saveAllFiles, saveFile, saveFileAs, setupDocument, tempDirectory, tempFile, tempFile, testStartCompile, writeToNewTempFile |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
DebugContextTest
public DebugContextTest()
testStub
public void testStub()
XXXtestDebugSourcepath
public void XXXtestDebugSourcepath()
throws Exception
- Tests that the sourcepath config option properly adds files to the search directories.
- Throws:
Exception
XXXtestBreakpointsAndStepsInNonPublicClasses
public void XXXtestBreakpointsAndStepsInNonPublicClasses()
throws Exception
- Tests that breakpoints behave correctly in non-public classes.
- Throws:
Exception
XXXtestStepIntoOverBreakpoint
public void XXXtestStepIntoOverBreakpoint()
throws Exception
- Tests that stepping into a breakpoint works.
- Throws:
Exception
XXXtestStaticFieldsConsistent
public void XXXtestStaticFieldsConsistent()
throws Exception
- Tests that static fields are consistent across different interpreter contexts.
- Throws:
Exception
XXXtestNonStaticWatches
public void XXXtestNonStaticWatches()
throws Exception
- Tests that watches can correctly see the values of local variables, fields and fields of outer classes. Also tests
that we can watch objects initialized to null (bug #771040) and that we can watch final local variables of outer
classes (bug #769174).
- Throws:
Exception
XXXtestStaticWatches
public void XXXtestStaticWatches()
throws Exception
- Tests that watches can correctly see the values of local
variables, fields and fields of outer classes.
- Throws:
Exception
XXXtestWatchLocalVarsFromInnerClass
public void XXXtestWatchLocalVarsFromInnerClass()
throws Exception
- Tests that watches can correctly see the values of final local variables and method parameters from enclosing
classes. Note: Some final local variables are inlined by the compiler (even in debug mode), so they are
unavailable to the debugger.
- Throws:
Exception
XXXtestThreadShouldDie
public void XXXtestThreadShouldDie()
throws Exception
- Tests that watches can correctly see the values of final local variables and method parameters from enclosing
classes. Note: Some final local variables are inlined by the compiler (even in debug mode), so they are
unavailable to the debugger.
- Throws:
Exception