Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 11567 Details for
Bug 65531
out of the box formatter settings need to be improved
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for the formatter tests
patch_for_65531_tests.txt (text/plain), 2.08 KB, created by
Olivier Thomann
on 2004-06-03 16:15:01 EDT
(
hide
)
Description:
Patch for the formatter tests
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2004-06-03 16:15:01 EDT
Size:
2.08 KB
patch
obsolete
>Index: src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java,v >retrieving revision 1.119 >diff -u -r1.119 FormatterRegressionTests.java >--- src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java 25 May 2004 13:48:36 -0000 1.119 >+++ src/org/eclipse/jdt/core/tests/formatter/FormatterRegressionTests.java 3 Jun 2004 20:13:15 -0000 >@@ -1534,7 +1534,7 @@ > } > > public void test159() { >- DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(JavaCore.getOptions()); >+ DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getDefaultSettings()); > preferences.number_of_empty_lines_to_preserve = 1; > DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); > runTest(codeFormatter, "test159", "A.java", CodeFormatter.K_COMPILATION_UNIT);//$NON-NLS-1$ //$NON-NLS-2$ >@@ -1921,7 +1921,7 @@ > /** > */ > public void test191() { >- DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(JavaCore.getOptions()); >+ DefaultCodeFormatterOptions preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getDefaultSettings()); > preferences.number_of_empty_lines_to_preserve = 0; > DefaultCodeFormatter codeFormatter = new DefaultCodeFormatter(preferences); > runTest(codeFormatter, "test191", "A.java", CodeFormatter.K_COMPILATION_UNIT);//$NON-NLS-1$ //$NON-NLS-2$ >Index: workspace/Formatter/test458/A_out.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core.tests.model/workspace/Formatter/test458/A_out.java,v >retrieving revision 1.1 >diff -u -r1.1 A_out.java >--- workspace/Formatter/test458/A_out.java 2 Feb 2004 16:56:17 -0000 1.1 >+++ workspace/Formatter/test458/A_out.java 3 Jun 2004 20:13:18 -0000 >@@ -1,4 +1,5 @@ > public class A { >+ > public void foo() { > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 65531
:
11546
|
11550
|
11551
|
11555
|
11567
|
11594
|
11659
|
11664