Skip to content

Commit ea04dc7

Browse files
Update NavigatorTestSuite.java
Refresh option not available for some resources that are not closed projects eclipse-platform#2538 Change made since the fix to eclipse-platform#1438 unintentionally removed the "refresh" contextual menu for resources that are not projects. With this change the "refresh" contextual menu is shown if ANY navigator selection is either (A) an open project, or (B) a non-project resource. Put another way: the 'refresh' item is NOT shown if ALL selections are closed projects. Fixes eclipse-platform#2538
1 parent 7dd2f87 commit ea04dc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/NavigatorTestSuite.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import org.eclipse.ui.tests.navigator.resources.FoldersAsProjectsContributionTest;
2525
import org.eclipse.ui.tests.navigator.resources.NestedResourcesTests;
2626
import org.eclipse.ui.tests.navigator.resources.PathComparatorTest;
27+
import org.eclipse.ui.tests.navigator.resources.ResourceMgmtActionProviderTests;
2728
import org.junit.runner.RunWith;
2829
import org.junit.runners.Suite;
2930
import org.junit.runners.Suite.SuiteClasses;
@@ -34,7 +35,7 @@
3435
ProgrammaticOpenTest.class, PipelineTest.class, PipelineChainTest.class, JstPipelineTest.class,
3536
LabelProviderTest.class, SorterTest.class, ViewerTest.class, CdtTest.class, M12Tests.class,
3637
FirstClassM1Tests.class, LinkHelperTest.class, ShowInTest.class, ResourceTransferTest.class,
37-
EvaluationCacheTest.class,
38+
EvaluationCacheTest.class, ResourceMgmtActionProviderTests.class,
3839
NestedResourcesTests.class, PathComparatorTest.class, FoldersAsProjectsContributionTest.class,
3940
GoBackForwardsTest.class
4041
// DnDTest.class, // DnDTest.testSetDragOperation() fails

0 commit comments

Comments
 (0)