| edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevLinePlusMultilinePreserveTest
ActionStartPrevLinePlusMultilinePreserveTest | public class ActionStartPrevLinePlusMultilinePreserveTest extends IndentRulesTestCase (Code) | | Tests ActionStartPrevLinePlusMultilinePreserve(String,int,int,int,int).
It specifically tests the behavior of the auto-closing comments feature.
This means it tests cases where the user has just hit ENTER somewhere
on the opening line of a block comment.
version: $Id: ActionStartPrevLinePlusMultilinePreserveTest.java 4255 2007-08-28 19:17:37Z mgricken $ |
Method Summary | |
public void | helperCommentTest(String start, int loc, int endLoc, String finish) This method abstracts the common processes of the tests so that the tests
themselves may only contain information about original conditions and
expected results. | public void | test1() | public void | test10() | public void | test2() | public void | test3() | public void | test4() | public void | test5() | public void | test6() | public void | test7() | public void | xtest11() | public void | xtest8() | public void | xtest9() |
helperCommentTest | public void helperCommentTest(String start, int loc, int endLoc, String finish) throws BadLocationException(Code) | | This method abstracts the common processes of the tests so that the tests
themselves may only contain information about original conditions and
expected results.
Parameters: start - The text that should be in the document at time rule is called Parameters: loc - the location of the cursor when rule is called Parameters: endLoc - the expected final size of the document Parameters: finish - the text string that remaining after the rule is called |
|
|