edu.rice.cs.drjava.model.definitions.indent
Class ActionStartPrevLinePlusTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
                    |
                    +--edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevLinePlusTest
All Implemented Interfaces:
Test

public class ActionStartPrevLinePlusTest
extends IndentRulesTestCase

Tests ActionStartPrevLinePlus(String)

Version:
$Id: ActionStartPrevLinePlusTest.java,v 1.3 2002/03/30 08:38:28 csreis Exp $

Field Summary
private  String _suffix
           
 
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_doc, _indent
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
ActionStartPrevLinePlusTest(String name)
           
 
Method Summary
 void testAddSpaces()
           
 void testAddSpacesMidLine()
           
 void testBothIndented()
           
 void testBothIndentedAddSpaces()
           
 void testBothIndentedAddStuff()
           
 void testLeaveBe()
           
 void testLeaveBeMidLine()
           
 void testLeavesOtherLinesAlone()
           
 void testOtherLinesIndented()
           
 void testSecondLineMisindented()
           
 
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
_assertContents, _setDocText, setUp
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

_suffix

private String _suffix
Constructor Detail

ActionStartPrevLinePlusTest

public ActionStartPrevLinePlusTest(String name)
Method Detail

testLeaveBe

public void testLeaveBe()
                 throws BadLocationException

testLeaveBeMidLine

public void testLeaveBeMidLine()
                        throws BadLocationException

testAddSpaces

public void testAddSpaces()
                   throws BadLocationException

testAddSpacesMidLine

public void testAddSpacesMidLine()
                          throws BadLocationException

testBothIndented

public void testBothIndented()
                      throws BadLocationException

testBothIndentedAddSpaces

public void testBothIndentedAddSpaces()
                               throws BadLocationException

testBothIndentedAddStuff

public void testBothIndentedAddStuff()
                              throws BadLocationException

testSecondLineMisindented

public void testSecondLineMisindented()
                               throws BadLocationException

testLeavesOtherLinesAlone

public void testLeavesOtherLinesAlone()
                               throws BadLocationException

testOtherLinesIndented

public void testOtherLinesIndented()
                            throws BadLocationException