|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.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.GlobalModelOtherTest
public final class GlobalModelOtherTest
A test on the GlobalModel that does deals with everything outside of simple file operations, e.g., compile, quit.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface edu.rice.cs.drjava.config.OptionConstants |
---|
OptionConstants.AccessLevelChoices, OptionConstants.DefaultFont, OptionConstants.HeapSizeChoices, OptionConstants.LookAndFeels, OptionConstants.PlasticThemes, OptionConstants.VersionNotificationChoices |
Field Summary |
---|
Fields inherited from class edu.rice.cs.drjava.model.GlobalModelTestCase |
---|
_doc, _interactionsController, _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 |
Fields inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase |
---|
_testFailed |
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
TEST_DRJAVA_CONFIG_PROPERTY |
Constructor Summary | |
---|---|
GlobalModelOtherTest()
|
Method Summary | |
---|---|
void |
testBookmark()
|
void |
testExitInteractions()
Checks that System.exit is handled appropriately from interactions pane. |
void |
testGetMultipleSourceRootsDefaultPackage()
|
void |
testGetSourceRootDefaultPackage()
|
void |
testGetSourceRootPackageOneDeepValid()
|
void |
testGetSourceRootPackageThreeDeepInvalid()
|
void |
testGetSourceRootPackageThreeDeepValid()
|
void |
testGetSourceRootPackageThreeDeepValidRelative()
Tests that getSourceRoot works with a relative path when a package name is present. |
void |
testInteractionsCanSeeChangedClass()
Checks that updating a class and recompiling it is visible from the REPL. |
void |
testInteractionsCanSeeCompiledClasses()
Creates a new class, compiles it and then checks that the REPL can see it. |
void |
testInteractionsDefineAnonymousInnerClass()
Checks that an anonymous inner class can be defined in the repl! |
void |
testInteractionsLiveUpdateClassPath()
Creates a new class, compiles it and then checks that the REPL can see it. |
void |
testInteractionsVariableWithLowercaseClassName()
Compiles a new class in the default package with a mixed case name, and ensures that it can be instantiated on a variable with an identical name (but a lowercase first letter). |
void |
testRunMainMethod()
|
void |
testSwitchInterpreters()
Tests that the appropriate event is fired when the model's interpreter changes. |
void |
testUndoEventsOccur()
Tests that the undoableEditHappened event is fired if the undo manager is in use. |
Methods inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase |
---|
join, listenerFail, wait |
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
setConfigSetting, setDocText |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlobalModelOtherTest()
Method Detail |
---|
public void testUndoEventsOccur()
public void testExitInteractions() throws EditDocumentException, InterruptedException
EditDocumentException
InterruptedException
public void testInteractionsCanSeeCompiledClasses() throws BadLocationException, EditDocumentException, IOException, InterruptedException
BadLocationException
EditDocumentException
IOException
InterruptedException
public void testInteractionsVariableWithLowercaseClassName() throws BadLocationException, EditDocumentException, IOException, InterruptedException
BadLocationException
EditDocumentException
IOException
InterruptedException
public void testInteractionsCanSeeChangedClass() throws BadLocationException, EditDocumentException, IOException, InterruptedException
BadLocationException
EditDocumentException
IOException
InterruptedException
public void testInteractionsDefineAnonymousInnerClass() throws BadLocationException, EditDocumentException, IOException, InterruptedException
BadLocationException
EditDocumentException
IOException
InterruptedException
public void testGetSourceRootDefaultPackage() throws BadLocationException, IOException
BadLocationException
IOException
public void testGetSourceRootPackageThreeDeepValid() throws BadLocationException, IOException
BadLocationException
IOException
public void testGetSourceRootPackageThreeDeepValidRelative() throws BadLocationException, IOException
BadLocationException
IOException
public void testGetSourceRootPackageThreeDeepInvalid() throws BadLocationException, IOException
BadLocationException
IOException
public void testGetSourceRootPackageOneDeepValid() throws BadLocationException, IOException
BadLocationException
IOException
public void testGetMultipleSourceRootsDefaultPackage() throws BadLocationException, IOException
BadLocationException
IOException
public void testInteractionsLiveUpdateClassPath() throws BadLocationException, EditDocumentException, IOException, InterruptedException
BadLocationException
EditDocumentException
IOException
InterruptedException
public void testSwitchInterpreters()
public void testRunMainMethod() throws Exception
Exception
public void testBookmark() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |