edu.rice.cs.drjava.model.definitions.indent
Class ActionStartStmtOfBracePlusTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.ActionStartStmtOfBracePlusTest
- All Implemented Interfaces:
- Test
- public class ActionStartStmtOfBracePlusTest
- extends IndentRulesTestCase
Test the action rules for code in the indentation decision tree.
Assumes cursor is within a brace.
- Version:
- $Id: ActionStartStmtOfBracePlusTest.java,v 1.5 2002/03/26 21:14:13 csreis 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 |
ActionStartStmtOfBracePlusTest
public ActionStartStmtOfBracePlusTest(String name)
- Tests the indentation decision tree.
- Parameters:
String
- name
testSingleLineContract
public void testSingleLineContract()
throws BadLocationException
- Tests indenting with a single line contract
testIndentedSingleLineContract
public void testIndentedSingleLineContract()
throws BadLocationException
- Tests indenting with an indented single line contract
testMultiLineContract
public void testMultiLineContract()
throws BadLocationException
- Tests indenting with a multiple line contract
testForStatement
public void testForStatement()
throws BadLocationException
- Tests indenting a for statement (odd semicolons)
testMultiLineForStatement
public void testMultiLineForStatement()
throws BadLocationException
- Tests indenting a multiple line for statement (odd semicolons)
testCommentedBrace
public void testCommentedBrace()
throws BadLocationException
- Tests indenting with commented delimiters
testNoBrace
public void testNoBrace()
throws BadLocationException
- Tests indenting without an enclosing brace