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 195084 Details for
Bug 183164
[Implementation for] Display of Complex Expressions Containing Bidirectional Text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
minor changes to test programs following implementation of comment #108
patch_bidi_tests_20110509.txt (text/plain), 6.73 KB, created by
Matitiahu Allouche
on 2011-05-09 11:10:58 EDT
(
hide
)
Description:
minor changes to test programs following implementation of comment #108
Filename:
MIME Type:
Creator:
Matitiahu Allouche
Created:
2011-05-09 11:10:58 EDT
Size:
6.73 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.bidi.tests >Index: .classpath >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/components/bundles/org.eclipse.equinox.bidi.tests/.classpath,v >retrieving revision 1.1 >diff -u -r1.1 .classpath >--- .classpath 3 Feb 2010 20:08:12 -0000 1.1 >+++ .classpath 9 May 2011 14:45:02 -0000 >@@ -3,5 +3,6 @@ > <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/> > <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> > <classpathentry kind="src" path="src"/> >+ <classpathentry combineaccessrules="false" kind="src" path="/org.eclipse.equinox.bidi"/> > <classpathentry kind="output" path="bin"/> > </classpath> >Index: src/org/eclipse/equinox/bidi/internal/tests/BidiComplexExtensionsTest.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/components/bundles/org.eclipse.equinox.bidi.tests/src/org/eclipse/equinox/bidi/internal/tests/BidiComplexExtensionsTest.java,v >retrieving revision 1.2 >diff -u -r1.2 BidiComplexExtensionsTest.java >--- src/org/eclipse/equinox/bidi/internal/tests/BidiComplexExtensionsTest.java 27 Apr 2011 14:53:08 -0000 1.2 >+++ src/org/eclipse/equinox/bidi/internal/tests/BidiComplexExtensionsTest.java 9 May 2011 14:45:03 -0000 >@@ -169,7 +169,7 @@ > processor = BidiComplexStringProcessor.getProcessor(type); > state[0] = BidiComplexEngine.STATE_INITIAL; > f1 = processor.getFeatures(null); >- assertEquals("<>.:,;@", f1.getOperators()); >+ assertEquals("<>.:,;@", f1.getSeparators()); > f2 = new BidiComplexFeatures("+-*/", f1.getSpecialsCount(), f1.getDirArabic(), f1.getDirHebrew(), f1.getIgnoreArabic(), f1.getIgnoreHebrew()); > doTest3("DelimsEsc #1", "abc+DEF-GHI", "abc+DEF@-GHI"); > doTest3("DelimsEsc #2", "DEF-GHI (A*B)/JK ", "DEF@-GHI @(A*B)@/JK "); >Index: src/org/eclipse/equinox/bidi/internal/tests/BidiComplexMethodsTest.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/components/bundles/org.eclipse.equinox.bidi.tests/src/org/eclipse/equinox/bidi/internal/tests/BidiComplexMethodsTest.java,v >retrieving revision 1.2 >diff -u -r1.2 BidiComplexMethodsTest.java >--- src/org/eclipse/equinox/bidi/internal/tests/BidiComplexMethodsTest.java 27 Apr 2011 14:53:08 -0000 1.2 >+++ src/org/eclipse/equinox/bidi/internal/tests/BidiComplexMethodsTest.java 9 May 2011 14:45:03 -0000 >@@ -103,13 +103,13 @@ > flag = f1.getIgnoreHebrew(); > assertFalse("Ignores Hebrew 1", flag); > >- f2 = new BidiComplexFeatures(f1.getOperators(), 0, -1, -1, true, true); >+ f2 = new BidiComplexFeatures(f1.getSeparators(), 0, -1, -1, true, true); > flag = f2.getIgnoreArabic(); > assertTrue("Ignores Arabic 2", flag); > flag = f2.getIgnoreHebrew(); > assertTrue("Ignores Hebrew 2", flag); > doTestOrient(f2, "Scripts #1 ", "BCD,EF", "BCD,EF", ">@BCD,EF@^", "@BCD,EF"); >- f2 = new BidiComplexFeatures(f1.getOperators(), 0, -1, -1, false, true); >+ f2 = new BidiComplexFeatures(f1.getSeparators(), 0, -1, -1, false, true); > flag = f2.getIgnoreArabic(); > assertFalse("Ignores Arabic 3", flag); > flag = f2.getIgnoreHebrew(); >@@ -127,7 +127,7 @@ > doTestOrient(f2, "Scripts #12 ", "7,EF", "7,EF", ">@7,EF@^", "@7,EF"); > doTestOrient(f2, "Scripts #13 ", "BCD,EF", "BCD,EF", ">@BCD,EF@^", "@BCD,EF"); > >- f2 = new BidiComplexFeatures(f1.getOperators(), 0, -1, -1, true, false); >+ f2 = new BidiComplexFeatures(f1.getSeparators(), 0, -1, -1, true, false); > flag = f2.getIgnoreArabic(); > assertTrue("Ignores Arabic 4", flag); > flag = f2.getIgnoreHebrew(); >@@ -138,7 +138,7 @@ > doTestOrient(f2, "Scripts #17 ", "BCD,12", "BCD@,12", ">@BCD@,12@^", "@BCD@,12"); > doTestOrient(f2, "Scripts #18 ", "BCD,", "BCD,", ">@BCD,@^", "@BCD,"); > >- f2 = new BidiComplexFeatures(f1.getOperators(), 0, -1, -1, false, false); >+ f2 = new BidiComplexFeatures(f1.getSeparators(), 0, -1, -1, false, false); > doTestOrient(f2, "Scripts #19 ", "123,45|67", "123,45|67", ">@123,45|67@^", "@123,45|67"); > doTestOrient(f2, "Scripts #20 ", "5,e", "5,e", ">@5,e@^", "5,e"); > doTestOrient(f2, "Scripts #21 ", "5,#", "5@,#", ">@5@,#@^", "5@,#"); >@@ -205,7 +205,7 @@ > msg = "TestDirection #1"; > assertTrue(msg, f1.getDirArabic() == LTR && f1.getDirHebrew() == LTR); > >- BidiComplexFeatures f2 = new BidiComplexFeatures(f1.getOperators(), 0, RTL, RTL, false, false); >+ BidiComplexFeatures f2 = new BidiComplexFeatures(f1.getSeparators(), 0, RTL, RTL, false, false); > f1 = f2; > msg = "TestDirection #2"; > assertTrue(msg, f1.getDirArabic() == RTL && f1.getDirHebrew() == RTL); >Index: src/org/eclipse/equinox/bidi/internal/tests/BidiComplexSomeMoreTest.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/components/bundles/org.eclipse.equinox.bidi.tests/src/org/eclipse/equinox/bidi/internal/tests/BidiComplexSomeMoreTest.java,v >retrieving revision 1.2 >diff -u -r1.2 BidiComplexSomeMoreTest.java >--- src/org/eclipse/equinox/bidi/internal/tests/BidiComplexSomeMoreTest.java 27 Apr 2011 14:53:08 -0000 1.2 >+++ src/org/eclipse/equinox/bidi/internal/tests/BidiComplexSomeMoreTest.java 9 May 2011 14:45:03 -0000 >@@ -35,7 +35,7 @@ > return fromIndex; > } > >- public int processSpecial(BidiComplexFeatures features, String text, byte[] dirProps, int[] offsets, int[] state, int caseNumber, int operLocation) { >+ public int processSpecial(BidiComplexFeatures features, String text, byte[] dirProps, int[] offsets, int[] state, int caseNumber, int separLocation) { > int len = text.length(); > for (int i = len - 1; i >= 0; i--) { > BidiComplexProcessor.insertMark(text, dirProps, offsets, i); >Index: src/org/eclipse/equinox/bidi/internal/tests/BidiComplexTest.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/components/bundles/org.eclipse.equinox.bidi.tests/src/org/eclipse/equinox/bidi/internal/tests/BidiComplexTest.java,v >retrieving revision 1.2 >diff -u -r1.2 BidiComplexTest.java >--- src/org/eclipse/equinox/bidi/internal/tests/BidiComplexTest.java 27 Apr 2011 14:53:08 -0000 1.2 >+++ src/org/eclipse/equinox/bidi/internal/tests/BidiComplexTest.java 9 May 2011 14:45:03 -0000 >@@ -26,7 +26,7 @@ > throw new IllegalStateException(); > } > >- public int processSpecial(BidiComplexFeatures features, String text, byte[] dirProps, int[] offsets, int[] state, int caseNumber, int operLocation) { >+ public int processSpecial(BidiComplexFeatures features, String text, byte[] dirProps, int[] offsets, int[] state, int caseNumber, int separLocation) { > throw new IllegalStateException(); > } >
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
Flags:
ob1.eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 183164
:
148967
|
157821
|
158092
|
158531
|
160015
|
160017
|
160081
|
160698
|
160858
|
162228
|
162229
|
164476
|
186038
|
186054
|
186488
|
186490
|
188406
|
188407
|
188408
|
188627
|
194078
|
194079
|
195082
|
195084
|
196575
|
196576
|
199068
|
199070
|
199113
|
199855
|
200008
|
200389
|
200629
|
200630
|
200631
|
200742
|
200743
|
200803
|
200805
|
200905
|
200907
|
201464
|
201465
|
201467
|
201468
|
201469
|
201470
|
201676
|
201677
|
201785
|
201787
|
202172
|
202173
|
205767
|
205768
|
206588
|
210657