edu.rice.cs.drjava.model.definitions.indent
Class QuestionPrevLineStartsCommentTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.IndentRulesTestCase
|
+--edu.rice.cs.drjava.model.definitions.indent.QuestionPrevLineStartsCommentTest
- All Implemented Interfaces:
- Test
- public class QuestionPrevLineStartsCommentTest
- extends IndentRulesTestCase
Tests whether the previous line start the comment?
- Version:
- $Id: QuestionPrevLineStartsCommentTest.java,v 1.5 2002/03/30 08:38:28 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 |
rule2
static IndentRuleQuestion rule2
example1
private static String example1
example2
private static String example2
example3
private static String example3
QuestionPrevLineStartsCommentTest
public QuestionPrevLineStartsCommentTest(String name)
testSimpleFirstLine
public void testSimpleFirstLine()
throws BadLocationException
testSimpleSecondLine
public void testSimpleSecondLine()
throws BadLocationException
testSlashStarMidLineFirstLine
public void testSlashStarMidLineFirstLine()
throws BadLocationException
testSlashStarMidLineSecondLine
public void testSlashStarMidLineSecondLine()
throws BadLocationException
testCommentedOutSlashStarBefore
public void testCommentedOutSlashStarBefore()
throws BadLocationException
testCommentedOutSlashStarAt
public void testCommentedOutSlashStarAt()
throws BadLocationException
testCommentedOutSlashStarAfter
public void testCommentedOutSlashStarAfter()
throws BadLocationException