Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 252846 Details for
Bug 465630
[JUnit] "Next/Previous Failed Test" buttons enabled on "Show Skipped Tests Only"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to disable Next/Previous buttons with "Show Skipped Tests Only"
disableIgnore.patch (text/plain), 1.22 KB, created by
Noopur Gupta
on 2015-04-28 08:24:33 EDT
(
hide
)
Description:
Patch to disable Next/Previous buttons with "Show Skipped Tests Only"
Filename:
MIME Type:
Creator:
Noopur Gupta
Created:
2015-04-28 08:24:33 EDT
Size:
1.22 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java b/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java >index cec4c51..ba34d59 100644 >--- a/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java >+++ b/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/ui/TestRunnerViewPart.java >@@ -1268,11 +1268,15 @@ > else { > updateViewIcon(); > } >- boolean hasErrorsOrFailures= hasErrorsOrFailures(); >- fNextAction.setEnabled(hasErrorsOrFailures); >- fPreviousAction.setEnabled(hasErrorsOrFailures); >+ updateNextPreviousActions(); > > fTestViewer.processChangesInUI(); >+ } >+ >+ private void updateNextPreviousActions() { >+ boolean hasErrorsOrFailures= !fIgnoredOnlyFilterAction.isChecked() && hasErrorsOrFailures(); >+ fNextAction.setEnabled(hasErrorsOrFailures); >+ fPreviousAction.setEnabled(hasErrorsOrFailures); > } > > /** >@@ -2222,6 +2226,7 @@ > fFailuresOnlyFilterAction.setChecked(failuresOnly); > fIgnoredOnlyFilterAction.setChecked(ignoredOnly); > fTestViewer.setShowFailuresOrIgnoredOnly(failuresOnly, ignoredOnly, layoutMode); >+ updateNextPreviousActions(); > } > > private void setShowExecutionTime(boolean showTime) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 465630
: 252846