edu.rice.cs.drjava.model.definitions.indent
Class ActionStartPrevStmtPlusTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.ActionStartPrevStmtPlusTest
- All Implemented Interfaces:
- Test
- public class ActionStartPrevStmtPlusTest
- extends IndentRulesTestCase
Test the action rules for code in the indentation decision tree.
The implementation relies heavily on functions which are fully
tested in IndentHelpersTest.
- Version:
- $Id: ActionStartPrevStmtPlusTest.java,v 1.4 2002/06/11 21:05:31 camus546 Exp $
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 |
ActionStartPrevStmtPlusTest
public ActionStartPrevStmtPlusTest(String name)
- Tests the indentation decision tree.
- Parameters:
String
- name
testNoPrevStmt
public void testNoPrevStmt()
throws BadLocationException
testPrevStmtPrevLine
public void testPrevStmtPrevLine()
throws BadLocationException
testPrevStmtSeveralLinesBeforeCurrLocation
public void testPrevStmtSeveralLinesBeforeCurrLocation()
throws BadLocationException
testColonNotDelim
public void testColonNotDelim()
throws BadLocationException
testAfterArrayAssign
public void testAfterArrayAssign()
throws BadLocationException
testAfterArrayAssignMultiSemi
public void testAfterArrayAssignMultiSemi()
throws BadLocationException