Community
Participate
Working Groups
return suite;
}
junit.framework.TestSuite suite = new Suite(FormatterRegressionTests.class.getName());
suite.addTest(new FormatterRegressionTests("test576")); //$NON-NLS-1$
suite.addTest(new FormatterRegressionTests("test577")); //$NON-NLS-1$
JavaCore.setOptions(javaCoreOptions);
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=90213
public void test577() {
Map options = DefaultCodeFormatterConstants.getEclipseDefaultSettings();
DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(options);
DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences);
runTest(codeFormatter, "test577", "A.java", CodeFormatter.K_UNKNOWN, false);//$NON-NLS-1$ //$NON-NLS-2$
public Object obj=new Object();public Object obj2=new Object();void foo() {}
public Object obj = new Object();
public Object obj2 = new Object();
void foo() {