edu.rice.cs.drjava.model.definitions.reducedmodel
Class ReducedModelDeleteTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelDeleteTest
All Implemented Interfaces:
ReducedModelStates, Test

public class ReducedModelDeleteTest
extends TestCase
implements ReducedModelStates

Test the delete functionality of the reduced model.

Version:
$Id: ReducedModelDeleteTest.java,v 1.12 2002/02/08 14:22:21 brianstoler Exp $

Field Summary
protected  BraceReduction model0
           
protected  BraceReduction model1
           
protected  BraceReduction model2
           
 
Fields inherited from class junit.framework.TestCase
fName
 
Fields inherited from interface edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelStates
FREE, INSIDE_BLOCK_COMMENT, INSIDE_DOUBLE_QUOTE, INSIDE_LINE_COMMENT, INSIDE_SINGLE_QUOTE, STUTTER
 
Constructor Summary
ReducedModelDeleteTest(String name)
          put your documentation comment here
 
Method Summary
 void deleteLineCommentSlashOpensBlockComment()
          put your documentation comment here
protected  void insertGap(BraceReduction model, int size)
           
protected  void setUp()
          put your documentation comment here
static Test suite()
          put your documentation comment here
 void testBlockCommentStartEatsEnd()
          put your documentation comment here
 void testCrazyDelete()
          put your documentation comment here
 void testDeleteAndMergeTwoGaps()
          put your documentation comment here
 void testDeleteBlockCommentMakesLineComment()
          put your documentation comment here
 void testDeleteFreesBlockCommentEnd()
          put your documentation comment here
 void testDeleteNewlineAndShadowBlockCommentStart()
          put your documentation comment here
 void testHalfLineComment()
          put your documentation comment here
 void testInnerGapDelete()
          put your documentation comment here
 void testLineCommentStealsBlockCommentSlash()
          put your documentation comment here
 void testLineCommentStealsLineCommentSlash()
          put your documentation comment here
 void testStartDeleteGap()
          put your documentation comment here
 void testUnmaskBlockCommentedLineComment()
          put your documentation comment here
 
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

model0

protected BraceReduction model0

model1

protected BraceReduction model1

model2

protected BraceReduction model2
Constructor Detail

ReducedModelDeleteTest

public ReducedModelDeleteTest(String name)
put your documentation comment here
Parameters:
String - name
Method Detail

setUp

protected void setUp()
put your documentation comment here
Overrides:
setUp in class TestCase

suite

public static Test suite()
put your documentation comment here
Returns:
 

insertGap

protected void insertGap(BraceReduction model,
                         int size)

testHalfLineComment

public void testHalfLineComment()
put your documentation comment here

testInnerGapDelete

public void testInnerGapDelete()
put your documentation comment here

testDeleteAndMergeTwoGaps

public void testDeleteAndMergeTwoGaps()
put your documentation comment here

testDeleteBlockCommentMakesLineComment

public void testDeleteBlockCommentMakesLineComment()
put your documentation comment here

testLineCommentStealsBlockCommentSlash

public void testLineCommentStealsBlockCommentSlash()
put your documentation comment here

testLineCommentStealsLineCommentSlash

public void testLineCommentStealsLineCommentSlash()
put your documentation comment here

testDeleteNewlineAndShadowBlockCommentStart

public void testDeleteNewlineAndShadowBlockCommentStart()
put your documentation comment here

testBlockCommentStartEatsEnd

public void testBlockCommentStartEatsEnd()
put your documentation comment here

deleteLineCommentSlashOpensBlockComment

public void deleteLineCommentSlashOpensBlockComment()
put your documentation comment here

testStartDeleteGap

public void testStartDeleteGap()
put your documentation comment here

testDeleteFreesBlockCommentEnd

public void testDeleteFreesBlockCommentEnd()
put your documentation comment here

testUnmaskBlockCommentedLineComment

public void testUnmaskBlockCommentedLineComment()
put your documentation comment here

testCrazyDelete

public void testCrazyDelete()
put your documentation comment here