X-Git-Url: http://secure.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 c81e518..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,12 +104,16 @@ 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}); + } });