|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.rice.cs.drjava.DrJavaTestCase
edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
edu.rice.cs.drjava.model.definitions.indent.ActionStartStmtOfBracePlusTest
public final class ActionStartStmtOfBracePlusTest
Test the action rules for code in the indentation decision tree. Assumes cursor is within a brace.
Field Summary |
---|
Fields inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase |
---|
_doc, TEST_INDENT_LEVEL |
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
TEST_DRJAVA_CONFIG_PROPERTY |
Constructor Summary | |
---|---|
ActionStartStmtOfBracePlusTest()
|
Method Summary | |
---|---|
void |
testCommentedBrace()
Tests indenting with commented delimiters. |
void |
testForStatement()
Tests indenting a for statement (odd semicolons) |
void |
testIndentedSingleLineContract()
Tests indenting with an indented single line contract. |
void |
testMultiLineContract()
Tests indenting with a multiple line contract. |
void |
testMultiLineForStatement()
Tests indenting a multiple line for statement (odd semicolons) |
void |
testNoBrace()
Tests indenting without an enclosing brace. |
void |
testSingleLineContract()
Tests indenting with a single line contract. |
Methods inherited from class edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase |
---|
_assertContents, _setDocText, setUp, tearDown |
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
setConfigSetting, setDocText |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActionStartStmtOfBracePlusTest()
Method Detail |
---|
public void testSingleLineContract() throws BadLocationException
BadLocationException
public void testIndentedSingleLineContract() throws BadLocationException
BadLocationException
public void testMultiLineContract() throws BadLocationException
BadLocationException
public void testForStatement() throws BadLocationException
BadLocationException
public void testMultiLineForStatement() throws BadLocationException
BadLocationException
public void testCommentedBrace() throws BadLocationException
BadLocationException
public void testNoBrace() throws BadLocationException
BadLocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |