Bugs item #565335, was opened at 2002-06-06 14:33
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=565335&group_id=44253
Category: JUnit integration
Group: Makes DrJ unstable
Status: Open
Resolution: None
Priority: 7
Submitted By: Charles Reis (csreis)
Assigned to: Christopher McGraw (cmcgraw)
Summary: JUnit instability
Initial Comment:
In drjava-20020601-1447, Eric disabled the JUnit
integration because of problems it had swith some types
of test failures. Looking more closely, this appears to
be partly a parsing problem (which might have been
recently introduced when another problem was being
addressed), but largely because only "failures" were
being included, and not "errors". The JUnit TestResult
object returns an enumeration of "failure" TestFailures,
which occur when an assertion fails, etc, but it also
returns an enumeration of "error" TestFailures, when any
other type of exception (eg. NullPointer) is thrown. Our
problem seems to be that we're allocating an array big
enough for both, but only putting in the "failures" and not
the "errors". This led to null pointer exceptions on the
array elements meant for "errors".
There also appear to be some parts of MainFrame which
need to be updated for the JUnitErrorCaretListener.
(Copy/paste job from CompileErrorCaretListener...)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=565335&group_id=44253
|