X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/XMLReportHandler.java b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/XMLReportHandler.java index 2f8b5aa..69ab8e0 100644 --- a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/XMLReportHandler.java +++ b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/XMLReportHandler.java @@ -22,6 +22,8 @@ public class XMLReportHandler extends DefaultHandler { private String currentCommand; private String currentTestCount; private String currentTestID; + private String currentTestName; + private String currentTestParentTestSuiteName; private void doAsyncRunnable(Runnable runnable) { @@ -102,14 +104,17 @@ public class XMLReportHandler extends DefaultHandler { currentCommand = attributes.getValue("command"); currentTestCount = attributes.getValue("testCount"); currentTestID = attributes.getValue("testID"); + currentTestName = attributes.getValue("testName"); + currentTestParentTestSuiteName = attributes.getValue("parentTestSuiteName"); doAsyncRunnable(new Runnable() { public void run() { - view.handleCommand(currentCommand, currentTestCount, currentTestID); - } - + //view.handleCommand(currentCommand, currentTestCount, currentTestID, ); + view.handleCommand(currentCommand, new String[] {currentTestID, currentTestCount, currentTestName, currentTestParentTestSuiteName}); + + } }); } else if (elementName.equals("verdict")) {