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/core/CodeFormatterUtilTest.java
buf.append("        };\n");	
		buf.append("    }\n");
		buf.append("}\n");
		String expected= buf.toString();
		assertEqualString(formatted, expected);
		
		String curr1= formatted.substring(positions[0], positions[1] + 1);
		assertEqualString(curr1, word1);
	}	
	
	public void testPackage() throws Exception {
		StringBuffer buf= new StringBuffer();
		buf.append("  package   com . test1;");
		String contents= buf.toString();
		
		AST ast= new AST();
		PackageDeclaration decl= ast.newPackageDeclaration();
		
		String formatted= CodeFormatterUtil.format(decl, contents, 0, null, "\n", null);
		buf= new StringBuffer();
		buf.append("package com.test1;");
		String expected= buf.toString();
		assertEqualString(expected, formatted);
	}
	
	public void testPackageWithPos() throws Exception {
		StringBuffer buf= new StringBuffer();
		buf.append("package   com . test1;");
		String contents= buf.toString();