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 74831 Details for
Bug 198153
[formatter] adds extra space before expanded numerical entity
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Add regression test
198153-test.diff (text/plain), 1.28 KB, created by
Matt McCutchen
on 2007-07-27 15:38:23 EDT
(
hide
)
Description:
Add regression test
Filename:
MIME Type:
Creator:
Matt McCutchen
Created:
2007-07-27 15:38:23 EDT
Size:
1.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/formatter/comment/JavaDocTestCase.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/comment/JavaDocTestCase.java,v >retrieving revision 1.12 >diff -u -r1.12 JavaDocTestCase.java >--- src/org/eclipse/jdt/core/tests/formatter/comment/JavaDocTestCase.java 17 Feb 2007 12:32:29 -0000 1.12 >+++ src/org/eclipse/jdt/core/tests/formatter/comment/JavaDocTestCase.java 27 Jul 2007 19:38:25 -0000 >@@ -803,4 +803,23 @@ > assertNotNull(edit); > assertEquals("No edit", 0, edit.getChildrenSize()); > } >+ >+ public void test198153() { >+ Map options = DefaultCodeFormatterConstants.getEclipseDefaultSettings(); >+ >+ String input = "/**" + DELIMITER + >+ " * <pre>" + DELIMITER + >+ " * System.out.println("hello world");" + DELIMITER + >+ " * </pre>" + DELIMITER + >+ " */"; >+ >+ String expected = "/**" + DELIMITER + >+ " * <pre>" + DELIMITER + >+ // No space after "world". >+ " * System.out.println("hello world");" + DELIMITER + >+ " * </pre>" + DELIMITER + >+ " */"; >+ String result=testFormat(input, options); >+ assertEquals(expected, result); >+ } > }
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 198153
:
74825
|
74830
|
74831