|
||||||||||
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.CommentTest
public final class CommentTest
Test the comment lines / uncomment lines functionality.
Field Summary | |
---|---|
protected DefinitionsDocument |
doc
|
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
TEST_DRJAVA_CONFIG_PROPERTY |
Constructor Summary | |
---|---|
CommentTest()
|
Method Summary | |
---|---|
void |
setUp()
Resents configuration settings and sets up the indent level so that we can predict the correct behavior for indenting. |
void |
testCommentOutMultipleLines()
Tests the Comment Out Line(s) command with multiple lines. |
void |
testCommentOutSingleLine()
Tests the Comment Out Line(s) command with a single line. |
void |
testUncommentIgnoreMultipleLines()
Tests the Uncomment Line(s) command with multiple lines. |
void |
testUncommentIgnoreSingleLine()
Tests the Uncomment Line(s) command with a single line. |
void |
testUncommentMultipleLines()
Tests the Uncomment Line(s) command with multiple lines. |
void |
testUncommentSingleLine()
Tests the Uncomment Line(s) command with a single line. |
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
setConfigSetting, setDocText, tearDown |
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 |
Field Detail |
---|
protected DefinitionsDocument doc
Constructor Detail |
---|
public CommentTest()
Method Detail |
---|
public void setUp() throws Exception
setUp
in class DrJavaTestCase
Exception
- This convention is mandated by JUnit.TestCase, the superclass of this class.public void testCommentOutSingleLine() throws BadLocationException
BadLocationException
public void testCommentOutMultipleLines() throws BadLocationException
BadLocationException
public void testUncommentIgnoreSingleLine() throws BadLocationException
BadLocationException
public void testUncommentIgnoreMultipleLines() throws BadLocationException
BadLocationException
public void testUncommentSingleLine() throws BadLocationException
BadLocationException
public void testUncommentMultipleLines() throws BadLocationException
BadLocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |