Disabled failing tests for Bug 430818: [1.8][quick fix] Quick fix for "for loop" is not shown for bare local variable/argument/field
diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java
index 536579c..326cf33 100644
--- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java
+++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2013 IBM Corporation and others.
+ * Copyright (c) 2000, 2014 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -8414,6 +8414,9 @@
 	}
 	
 	public void testGenerateForSimple() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -8472,6 +8475,9 @@
 	}
 
 	public void testGenerateForWithSemicolon() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -8587,6 +8593,9 @@
 	}
 
 	public void testGenerateForComplexParametrization() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -8667,6 +8676,9 @@
 	}
 	
 	public void testGenerateForGenerics() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -8795,6 +8807,9 @@
 	}
 	
 	public void testGenerateForUpperboundWildcard() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -8870,6 +8885,9 @@
 	}
 
 	public void testGenerateForLowerboundWildcard() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -9015,6 +9033,9 @@
 	}
 
 	public void testGenerateForMissingParametrization() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -9073,6 +9094,9 @@
 	}
 
 	public void testGenerateForLowVersion() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -9124,6 +9148,9 @@
 	}
 
 	public void testGenerateForArray() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -9177,6 +9204,9 @@
 	}
 	
 	public void testGenerateForNameClash() throws Exception {
+		if (LocalCorrectionsQuickFixTest.BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
index 9b23467..1814199 100644
--- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
+++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/LocalCorrectionsQuickFixTest.java
@@ -50,6 +50,13 @@
 
 	private static final Class THIS= LocalCorrectionsQuickFixTest.class;
 
+	/**
+	 * Bug 430818: [1.8][quick fix] Quick fix for "for loop" is not shown for bare local variable/argument/field
+	 * caused by:
+	 * Bug 430336: [1.8][compiler] Bad syntax error recovery: Lonely identifier should be variable name, not type
+	 */
+	public static final boolean BUG_430818= true;
+
 	private IJavaProject fJProject1;
 	private IPackageFragmentRoot fSourceFolder;
 
@@ -9747,6 +9754,9 @@
 	 * @throws Exception
 	 */
 	public void testLoopOverAddedToFixesForVariable() throws Exception {
+		if (BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");
@@ -9871,6 +9881,9 @@
 	 * @throws Exception
 	 */
 	public void testGenerateForeachNotAddedForLowVersion() throws Exception {
+		if (BUG_430818)
+			return;
+		
 		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
 		StringBuffer buf= new StringBuffer();
 		buf.append("package test1;\n");