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/AddUnimplementedConstructorsTest.java
op.setVisibility(Modifier.PUBLIC);
		op.run(new NullProgressMonitor());
		
		IMethod[] createdMethods= testClass.getMethods();
		checkMethods(new String[] { "Test1" }, createdMethods);	 
		
		checkDefaultConstructorWithCommentWithSuper(createdMethods[0].getSource());
		
		StringBuffer buf= new StringBuffer();
		buf.append("public class Test1 extends A {\n");
		buf.append("    /** Constructor Comment\n");
		buf.append("     * \n");
		buf.append("     */\n");
		buf.append("    public Test1() {\n");
		buf.append("        super();\n");
		buf.append("        // TODO\n");
		buf.append("    }\n");
		if (fOldFormatter) buf.append("\n");
		buf.append("}\n");
		compareSource(buf.toString(), testClass.getSource());
	}	
	
	/*
	 * basic test: test with nothing to override
	 */
	public void testNoConstructorsToOverrideAvailable() throws Exception {
		fJavaProject= JavaProjectHelper.createJavaProject("DummyProject", "bin");
		assertNotNull(JavaProjectHelper.addRTJar(fJavaProject));
		
		IPackageFragmentRoot root= JavaProjectHelper.addSourceContainer(fJavaProject, "src");