| edu.rice.cs.drjava.model.GlobalModelTestCase edu.rice.cs.drjava.model.junit.JUnitErrorModelTest
JUnitErrorModelTest | final public class JUnitErrorModelTest extends GlobalModelTestCase (Code) | | A test on the GlobalModel for JUnit testing.
version: $Id: JUnitErrorModelTest.java 4255 2007-08-28 19:17:37Z mgricken $ |
testErrorInSuperClass | public void testErrorInSuperClass() throws Exception(Code) | | Test errors that occur in superclass.
|
testErrorsArrayInOrder | public void testErrorsArrayInOrder() throws Exception(Code) | | Tests that the errors array contains all encountered failures and error in the right order.
|
testLanguageLevelJUnitErrorLine | public void testLanguageLevelJUnitErrorLine() throws Exception(Code) | | Tests that an elementary level file has the previous line of the actual error reported as the line of its error.
Necessitated by the added code in the .java file associated with the .dj0 file (the import statement added by the
language level compiler)
|
testVerifyErrorHandledCorrectly | public void testVerifyErrorHandledCorrectly() throws Exception(Code) | | Tests that a VerifyError is reported as an error, rather than
simply causing JUnit to blow up. Note that this test will hang if
the error is not reported correctly, because the JUnitTestManager will
blow up in the other JVM and never notify us that it's finished.
|
Methods inherited from edu.rice.cs.drjava.model.GlobalModelTestCase | protected void assertCompileErrorsPresent(boolean b)(Code)(Java Doc) protected void assertCompileErrorsPresent(String name, boolean b)(Code)(Java Doc) protected void assertContents(String s, OpenDefinitionsDocument doc) throws BadLocationException(Code)(Java Doc) protected void assertInteractionsContains(String text) throws EditDocumentException(Code)(Java Doc) protected void assertInteractionsDoesNotContain(String text) throws EditDocumentException(Code)(Java Doc) protected void assertInteractionsDoesNotMatch(String regex) throws EditDocumentException(Code)(Java Doc) protected void assertInteractionsMatches(String regex) throws EditDocumentException(Code)(Java Doc) protected void assertLength(int len, OpenDefinitionsDocument doc)(Code)(Java Doc) protected void assertModified(boolean b, OpenDefinitionsDocument doc)(Code)(Java Doc) protected void assertNumOpenDocs(int num)(Code)(Java Doc) protected void changeDocumentText(String s, OpenDefinitionsDocument doc) throws BadLocationException(Code)(Java Doc) protected File classForJava(File sourceFile, String className)(Code)(Java Doc) protected File createFile(String name)(Code)(Java Doc) protected synchronized OpenDefinitionsDocument doCompile(String text, File file) throws IOException, BadLocationException, InterruptedException(Code)(Java Doc) protected void doCompile(OpenDefinitionsDocument doc, File file) throws IOException, InterruptedException(Code)(Java Doc) protected String getCompilerErrorString()(Code)(Java Doc) protected String getInteractionsText() throws EditDocumentException(Code)(Java Doc) protected String interpret(String input) throws EditDocumentException(Code)(Java Doc) protected void interpretIgnoreResult(String input) throws EditDocumentException(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) protected OpenDefinitionsDocument setupDocument(String text) throws BadLocationException(Code)(Java Doc) public void tearDown() throws Exception(Code)(Java Doc) protected File tempDirectory() throws IOException(Code)(Java Doc) protected File tempFile() throws IOException(Code)(Java Doc) protected File tempFile(int i) throws IOException(Code)(Java Doc) protected File writeToNewTempFile(String text) throws IOException(Code)(Java Doc)
|
|
|