edu.rice.cs.drjava.model.junit
Class JUnitErrorModel
java.lang.Object
edu.rice.cs.drjava.model.compiler.CompilerErrorModel
edu.rice.cs.drjava.model.junit.JUnitErrorModel
public class JUnitErrorModel
- extends CompilerErrorModel
Contains the JUnitErrors for a particular file after a test has ended.
- Version:
- $Id: JUnitErrorModel.java 4422 2008-03-27 15:08:58Z rcartwright $
Constructor Summary |
JUnitErrorModel(JUnitError[] errors,
GlobalModel model,
boolean testsHaveRun)
Constructs a new JUnitErrorModel to be maintained by a particular OpenDefinitionsDocument. |
JUnitErrorModel
public JUnitErrorModel(JUnitError[] errors,
GlobalModel model,
boolean testsHaveRun)
- Constructs a new JUnitErrorModel to be maintained by a particular OpenDefinitionsDocument.
- Parameters:
errors
- the errors this JUnitErrorModel representsmodel
- the model to load documents form for finding error positionstestsHaveRun
- whether or not the JUnit tests have completed
haveTestsRun
public boolean haveTestsRun()
- Accessor
- Returns:
- whether tests have been run before.