|
||||||||||
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.compiler.CompilerErrorModelTest
public final class CompilerErrorModelTest
Tests the CompilerErrorModel.
Field Summary |
---|
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
TEST_DRJAVA_CONFIG_PROPERTY |
Constructor Summary | |
---|---|
CompilerErrorModelTest()
|
Method Summary | |
---|---|
void |
testConstructDoclessErrors()
Tests CompilerErrorModel setup code with only errors without files. |
void |
testConstructManyDocsWithBoth()
Tests CompilerErrorModel setup code with several files and errors both with and without line numbers. |
void |
testConstructManyDocsWithLineNums()
Tests CompilerErrorModel setup code with several files and only errors with line numbers. |
void |
testConstructManyDocsWithoutLineNums()
Tests CompilerErrorModel setup code with several files and only errors without line numbers. |
void |
testConstructNoErrors()
Tests CompilerErrorModel setup code with no compiler errors. |
void |
testConstructOneDocWithBoth()
Tests CompilerErrorModel setup code with one file and errors both with and without line numbers. |
void |
testConstructOneDocWithLineNums()
Tests CompilerErrorModel setup code with one file and only errors with line numbers. |
void |
testConstructOneDocWithoutLineNums()
Tests CompilerErrorModel setup code with one file and only errors without line numbers. |
void |
testConstructOnlyWarnings()
Tests CompilerErrorModel setup code with only warnings without files. |
void |
testErrorsInMultipleDocuments()
|
void |
testGetErrorAtOffset()
Tests CompilerErrorModel.getErrorAtOffset(int). |
void |
testGetPosition()
Tests CompilerErrorModel.getPosition(DJError). |
void |
testHasErrorsWithPositions()
Tests CompilerErrorModel.hasErrorsWithPositions(OpenDefinitionsDocument). |
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase |
---|
setConfigSetting, setDocText, setUp, 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 |
Constructor Detail |
---|
public CompilerErrorModelTest()
Method Detail |
---|
public void testConstructNoErrors()
public void testConstructOnlyWarnings()
public void testConstructDoclessErrors()
public void testConstructOneDocWithoutLineNums()
public void testConstructOneDocWithLineNums()
public void testConstructOneDocWithBoth()
public void testConstructManyDocsWithoutLineNums()
public void testConstructManyDocsWithLineNums()
public void testConstructManyDocsWithBoth()
public void testGetPosition()
public void testGetErrorAtOffset() throws IOException, OperationCanceledException
IOException
OperationCanceledException
public void testHasErrorsWithPositions() throws IOException, OperationCanceledException
IOException
OperationCanceledException
public void testErrorsInMultipleDocuments() throws IOException, OperationCanceledException
IOException
OperationCanceledException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |