Skip to content

Commit

Permalink
JUnit view doesn't support "aborted" JUnit result
Browse files Browse the repository at this point in the history
Fixes #1000
  • Loading branch information
iloveeclipse committed Dec 12, 2023
1 parent 20f3880 commit a88cfbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public interface IXMLTags {
String NODE_SYSTEM_OUT= "system-out"; //$NON-NLS-1$
String NODE_SYSTEM_ERR= "system-err"; //$NON-NLS-1$
String NODE_SKIPPED = "skipped"; //$NON-NLS-1$
String NODE_ABORTED = "aborted"; //$NON-NLS-1$

/**
* value: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ public void startElement(String uri, String localName, String qName, Attributes
case IXMLTags.NODE_SYSTEM_OUT:
case IXMLTags.NODE_SYSTEM_ERR:
break;
case IXMLTags.NODE_ABORTED: // fall through to the skipped
case IXMLTags.NODE_SKIPPED:
// before Ant 1.9.0: not an Ant JUnit tag, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=276068
// later: child of <suite> or <test>, see https://issues.apache.org/bugzilla/show_bug.cgi?id=43969
Expand Down Expand Up @@ -291,6 +292,7 @@ public void endElement(String uri, String localName, String qName) throws SAXExc
case IXMLTags.NODE_SYSTEM_OUT:
case IXMLTags.NODE_SYSTEM_ERR:
break;
case IXMLTags.NODE_ABORTED: // fall through to the skipped
case IXMLTags.NODE_SKIPPED:
{
TestElement testElement= fTestCase;
Expand Down

0 comments on commit a88cfbb

Please sign in to comment.