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
IMethod[] constructorMethods= StubUtility.getOverridableConstructors(testClass);
		
		checkMethods(new String[] {}, constructorMethods);	 
		
		AddUnimplementedConstructorsOperation op= new AddUnimplementedConstructorsOperation(testClass, fSettings, constructorMethods, true, null);
		
		op.setOmitSuper(true);
		op.setVisibility(Modifier.PUBLIC);
		op.run(new NullProgressMonitor());
		
		IMethod[] existingMethods= testClass.getMethods();
		checkMethods(new String[] {"Test1", "Test1", "Test1"}, existingMethods);	 
		StringBuffer buf= new StringBuffer();
		buf.append("public class Test1 extends A {\n");
		buf.append("public Test1() {\n");
		buf.append("super();}\n");
		buf.append("public Test1(int a) {super();}\n");
		buf.append("public Test1(int a, boolean boo, String fooString) {super();}\n");
		buf.append("}\n");
		compareSource(buf.toString(), testClass.getSource());
	}
	/*
	 * found 2 with 5 constructors, 3 already overriden
	 */
	public void testTwoConstructorsToOverrideWithThreeExistingConstructors() throws Exception {	
		fJavaProject= JavaProjectHelper.createJavaProject("DummyProject", "bin");
		assertNotNull(JavaProjectHelper.addRTJar(fJavaProject));
		
		IPackageFragmentRoot root= JavaProjectHelper.addSourceContainer(fJavaProject, "src");
		fPackage= root.createPackageFragment("ibm.util", true, null);