testAllowPrivateAccess() Test that the Interactions Pane will or won't allow access to private members
given the value of the ALLOW_PRIVATE_ACCESS configuration option.
testTypeCheckerExtension() Test the operation of the TypeCheckerExtension by performing the operations ((false) ? 2/0 : 1) and
((false) ? 2%0 : 1), which should not throw Exceptions in the Java interpreter.
public void
testUserDefinedVoidMethod() Tests that a call to user-defined void method returns NO_RESULT, instead of null.
testVariableDefinition() Tests simple variable definitions which broke the initial implementation
of variable redefinition (tested by testVariableRedefinition).
public void
testVariableRedefinition() Tests that variable declarations with errors will not allow the interpreter
to not define the variable.
Tests that declaring a void method in the Interactions Pane won't cause a bad type
exception. Tests bug #915906 "Methods in Interactions no longer work".
Test the operation of the TypeCheckerExtension by performing the operations ((false) ? 2/0 : 1) and
((false) ? 2%0 : 1), which should not throw Exceptions in the Java interpreter.
Tests that variable declarations with errors will not allow the interpreter
to not define the variable. This will get rid of annoying "Error:
Redefinition of 'variable'" messages after fixing the error. Note that if
the error occurs during the evaluation of the right hand side then the
variable is defined. This is for two reasons: The compiler would have
accepted this variable declaration so that no more variables could have
been defined with the same name afterwards, and we don't know how to make
sure the evaluation doesn't return errors without actually evaluating which
may have side-effects.
Fields inherited from edu.rice.cs.drjava.DrJavaTestCase