Bug 66048 Adpat JDT test cases to new code formatter defaults
I20040606 The default code formatter settings have changed to Java convention. The JDT/UI test cases must be adapted.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/UnresolvedTypesQuickFixTest.java
buf.append("package test1;\n");
		buf.append("\n");
		buf.append("public class floot {\n");
		buf.append("\n");
		buf.append("}\n");
		assertEqualStringIgnoreDelim(newCU.getSource(), buf.toString());
		JavaProjectHelper.performDummySearch();
		newCU.delete(true, null);
		newCUWizard= (NewCUCompletionUsingWizardProposal) proposals.get(4);
		newCUWizard.setShowDialog(false);
		newCUWizard.apply(null);
		
		newCU= pack1.getCompilationUnit("floot.java");
		assertTrue("Nothing created", newCU.exists());
		
		buf= new StringBuffer();
		buf.append("package test1;\n");
		buf.append("\n");		
		buf.append("public interface floot {\n");
		buf.append("\n");
		buf.append("}\n");
		assertEqualStringIgnoreDelim(newCU.getSource(), buf.toString());	
	}
	private void createSomeAmbiguity(boolean ifc, boolean isException) throws Exception {
		IPackageFragment pack3= fSourceFolder.createPackageFragment("test3", false, null);
		StringBuffer buf= new StringBuffer();
		buf.append("package test3;\n");
		buf.append("public "); buf.append(ifc ? "interface" : "class");
		buf.append(" A "); buf.append(isException ? "extends Exception " : ""); buf.append("{\n");
		buf.append("}\n");