Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2021-07-08 21:53:37 +0000
committerJeff Johnston2021-07-14 16:42:56 +0000
commita0e9bdf08bf914efcb4b7185628ef7d35e143ae2 (patch)
tree6b9c31bfdc7d0542e48cdf0bc69a4bb5ebfc24bf
parenta7a6d6c6a9a3fccea21420e1a7b0b726f8b67ad6 (diff)
downloadeclipse.jdt.ui-a0e9bdf08bf914efcb4b7185628ef7d35e143ae2.tar.gz
eclipse.jdt.ui-a0e9bdf08bf914efcb4b7185628ef7d35e143ae2.tar.xz
eclipse.jdt.ui-a0e9bdf08bf914efcb4b7185628ef7d35e143ae2.zip
Bug 573327 - [quickfixes] Improper quickfixes proposed for loop variable
- fix testForEachMissingType() to not pin down number of fixes which may vary between 6 and 7 and in the future will be pared down as many of the suggested fixes are invalid Change-Id: I51e9b426b6ec41fd295c25b8588bdffc39a24e84 Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/182925 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java
index 2b784dd5bf..3eaa299caf 100644
--- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java
+++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2020 IBM Corporation and others.
+ * Copyright (c) 2000, 2021 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -1600,7 +1600,6 @@ public class UnresolvedTypesQuickFixTest extends QuickFixTest {
ArrayList<IJavaCompletionProposal> proposals= collectCorrections(cu, astRoot, 3, 1);
assertCorrectLabels(proposals);
- assertNumberOfProposals(proposals, 6);
String[] expected= new String[1];
buf= new StringBuilder();

Back to the top