Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Niewrzal2017-06-16 04:17:43 -0400
committerKaloyan Raev2017-06-19 04:27:56 -0400
commit3e71194039375c733a625ca1737318681c2b894f (patch)
treeb7f74e8ecd931ed5a00614e44bcfcb9623eeac7e
parentc6bbfdc01e7f602a2a8611fe3a402144719541b2 (diff)
downloadorg.eclipse.pdt-3e71194039375c733a625ca1737318681c2b894f.tar.gz
org.eclipse.pdt-3e71194039375c733a625ca1737318681c2b894f.tar.xz
org.eclipse.pdt-3e71194039375c733a625ca1737318681c2b894f.zip
Bug 516350 - [PHPUnit] No stacktrace in Trace Failure view
Change-Id: Idce63b23cf8e583f556911a321328e7fd91bb545 Signed-off-by: Michal Niewrzal <michal.n@zend.com>
-rw-r--r--plugins/org.eclipse.php.phpunit/src/org/eclipse/php/phpunit/ui/view/PHPUnitView.java30
1 files changed, 16 insertions, 14 deletions
diff --git a/plugins/org.eclipse.php.phpunit/src/org/eclipse/php/phpunit/ui/view/PHPUnitView.java b/plugins/org.eclipse.php.phpunit/src/org/eclipse/php/phpunit/ui/view/PHPUnitView.java
index 098e22f17..cd200ccda 100644
--- a/plugins/org.eclipse.php.phpunit/src/org/eclipse/php/phpunit/ui/view/PHPUnitView.java
+++ b/plugins/org.eclipse.php.phpunit/src/org/eclipse/php/phpunit/ui/view/PHPUnitView.java
@@ -144,7 +144,7 @@ public class PHPUnitView extends ViewPart {
/**
* The tab that shows the stack trace of a failure
*/
- private DiffTrace fDiffTrace;
+ // private DiffTrace fDiffTrace;
private FailureTrace fFailureTrace;
/**
@@ -423,18 +423,19 @@ public class PHPUnitView extends ViewPart {
return traceTab;
}
- CTabItem createDiffTab(final CTabFolder parent) {
- final CTabItem diffTab = new CTabItem(parent, SWT.NONE);
- diffTab.setText(PHPUnitMessages.PHPUnitView_Tab_Diff);
- diffTab.setImage(fDiffViewIcon);
- final ViewForm diffForm = new ViewForm(parent, SWT.NONE);
- final ToolBar failureToolBar = new ToolBar(diffForm, SWT.FLAT | SWT.WRAP);
- diffForm.setTopCenter(failureToolBar);
- fDiffTrace = new DiffTrace(diffForm, this);
- diffForm.setContent(fDiffTrace.getComposite());
- diffTab.setControl(diffForm);
- return diffTab;
- }
+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=517513
+ // CTabItem createDiffTab(final CTabFolder parent) {
+ // final CTabItem diffTab = new CTabItem(parent, SWT.NONE);
+ // diffTab.setText(PHPUnitMessages.PHPUnitView_Tab_Diff);
+ // diffTab.setImage(fDiffViewIcon);
+ // final ViewForm diffForm = new ViewForm(parent, SWT.NONE);
+ // final ToolBar failureToolBar = new ToolBar(diffForm, SWT.FLAT | SWT.WRAP);
+ // diffForm.setTopCenter(failureToolBar);
+ // fDiffTrace = new DiffTrace(diffForm, this);
+ // diffForm.setContent(fDiffTrace.getComposite());
+ // diffTab.setControl(diffForm);
+ // return diffTab;
+ // }
void setShowFailuresOnly(final boolean failuresOnly) {
setFilterAndLayout(failuresOnly);
@@ -649,7 +650,8 @@ public class PHPUnitView extends ViewPart {
private void showFailure(final PHPUnitElement failure) {
postSyncRunnable(() -> {
if (!isDisposed()) {
- fDiffTrace.showFailure(failure);
+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=517513
+ // fDiffTrace.showFailure(failure);
fFailureTrace.showFailure(failure);
}
});

Back to the top