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 143011 Details for
Bug 285120
[parser] Parsing with backslashes failure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Updated escaped sequences test containing the described examples
patch_example_for_285120.txt (text/plain), 994 bytes, created by
Alexander Igdalov
on 2009-07-30 09:57:00 EDT
(
hide
)
Description:
Updated escaped sequences test containing the described examples
Filename:
MIME Type:
Creator:
Alexander Igdalov
Created:
2009-07-30 09:57:00 EDT
Size:
994 bytes
patch
obsolete
>Index: src/org/eclipse/ocl/ecore/tests/BasicOCLTest.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.mdt/org.eclipse.ocl/tests/org.eclipse.ocl.ecore.tests/src/org/eclipse/ocl/ecore/tests/BasicOCLTest.java,v >retrieving revision 1.8 >diff -u -r1.8 BasicOCLTest.java >--- src/org/eclipse/ocl/ecore/tests/BasicOCLTest.java 12 Feb 2009 00:01:52 -0000 1.8 >+++ src/org/eclipse/ocl/ecore/tests/BasicOCLTest.java 30 Jul 2009 13:53:41 -0000 >@@ -370,9 +370,13 @@ > String self = ""; //$NON-NLS-1$ > > try { >+ assertInvalidString("'\\\\\\ '"); //$NON-NLS-1$ > assertInvalidString("'str\\(ing'"); //$NON-NLS-1$ > assertInvalidString("'string\\'"); //$NON-NLS-1$ > assertInvalidString("'string\\9'"); //$NON-NLS-1$ >+ >+ assertEquals("\\", //$NON-NLS-1$ >+ evaluate(helper, self, "'\\\\'")); //$NON-NLS-1$ > > assertEquals("str\ning", //$NON-NLS-1$ > evaluate(helper, self, "'str\\ning'")); //$NON-NLS-1$
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 285120
: 143011