Method Summary |
|
protected void | _assertMainTransformation(String typed, String expected) Asserts that the given string typed by the user of the form "java classname" is transformed to the given
expected main method invocation. |
protected void | _assertProcessedContents(String typed, String expected) Asserts that the given string typed by the user is processed to become the given expected string for an
interpretation. |
protected void | assertReplThrewContinuationException(String code) |
protected void | assertReplThrewSyntaxException(String code) |
public void | tearDown() |
public void | testDebugPort() Tests that a debug port can be generated. |
public void | testInteractionsHistoryStoredCorrectly() Tests that the interactions history is stored correctly. |
public void | testInterpretCurrentInteraction() Tests that the correct text is returned when interpreting. |
public void | testInterpretCurrentInteractionWithIncompleteInput() |
public void | testInterpretJavaArguments() Tests that "java Classname [args]" runs the class's main method, with simple delimited arguments. |
public void | testInterpretJavaEscapedArgs() Tests that escaped characters just return the character itself. |
public void | testInterpretJavaQuotedEscapedArgs() Tests that within a quote, everything is correctly escaped. |
public void | testInterpretJavaSingleQuotedArgs() Tests that single quotes can be used as argument delimiters. |
public void | testScriptLoading() Tests that an interactions history can be loaded in as a script. |
public void | testSetChangeInputListener() Tests that setting and changing an input listener works correctly. |