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 5439 2011-08-11 17:13:04Z rcartwright $
|
Constructor Summary |
JUnitErrorModel(JUnitError[] errors,
GlobalModel model,
boolean testsHaveRun)
Constructs a new JUnitErrorModel to be maintained by a particular OpenDefinitionsDocument. |
|
Method Summary |
boolean |
haveTestsRun()
Returns whether tests have been run before. |
_testsHaveRun
private volatile boolean _testsHaveRun
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()
- Returns whether tests have been run before.