edu.rice.cs.drjava.model.definitions.reducedmodel
Class ReducedModelDeleteTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.definitions.reducedmodel.BraceReductionTestCase
edu.rice.cs.drjava.model.definitions.reducedmodel.ReducedModelDeleteTest
- All Implemented Interfaces:
- ReducedModelStates, Test
public final class ReducedModelDeleteTest
- extends BraceReductionTestCase
- implements ReducedModelStates
Test the delete functionality of the reduced model.
- Version:
- $Id: ReducedModelDeleteTest.java 4653 2008-08-26 14:46:35Z rcartwright $
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
ReducedModelDeleteTest
public ReducedModelDeleteTest()
testHalfLineComment
public void testHalfLineComment()
- Tests that line comments after code are indeted correctly.
testInnerGapDelete
public void testInnerGapDelete()
- Tests that inner gaps are deleted correctcly.
testDeleteAndMergeTwoGaps
public void testDeleteAndMergeTwoGaps()
- Tests reduced model behavioir for deleting text then merging two gaps.
testDeleteBlockCommentMakesLineComment
public void testDeleteBlockCommentMakesLineComment()
testLineCommentStealsBlockCommentSlash
public void testLineCommentStealsBlockCommentSlash()
testLineCommentStealsLineCommentSlash
public void testLineCommentStealsLineCommentSlash()
testDeleteNewlineAndShadowBlockCommentStart
public void testDeleteNewlineAndShadowBlockCommentStart()
testBlockCommentStartEatsEnd
public void testBlockCommentStartEatsEnd()
deleteLineCommentSlashOpensBlockComment
public void deleteLineCommentSlashOpensBlockComment()
testStartDeleteGap
public void testStartDeleteGap()
testDeleteFreesBlockCommentEnd
public void testDeleteFreesBlockCommentEnd()
testUnmaskBlockCommentedLineComment
public void testUnmaskBlockCommentedLineComment()
testCrazyDelete
public void testCrazyDelete()