private void showFailureDetail(Test test) { if (test != null) { ListModel failures= getFailures(); for (int i= 0; i < failures.getSize(); i++) { TestFailure failure= (TestFailure)failures.getElementAt(i); if (failure.failedTest() == test) { fFailureView.showFailure(failure); return; } } } fFailureView.clear(); }
protected void reset() { fCounterPanel.reset(); fProgressIndicator.reset(); fRerunButton.setEnabled(false); fFailureView.clear(); fFailures.clear(); }
JScrollPane tracePane= new JScrollPane(fFailureView.getComponent(), ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);