You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ap...@apache.org on 2007/12/04 08:52:20 UTC

svn commit: r600822 - /harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java

Author: apavlenko
Date: Mon Dec  3 23:52:19 2007
New Revision: 600822

URL: http://svn.apache.org/viewvc?rev=600822&view=rev
Log:
Applied patch for HARMONY-4406

Modified:
    harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java

Modified: harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java?rev=600822&r1=600821&r2=600822&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java (original)
+++ harmony/enhanced/buildtest/branches/2.0/tests/functional/src/test/functional/org/apache/harmony/test/func/api/java/text/BreakIterator/LineInstanceTest.java Mon Dec  3 23:52:19 2007
@@ -154,10 +154,8 @@
         String t = getEngText();
         it.setText(t);
 
-        int[] breaks = { 0, 6, 10, 14, 16, 23, 26, 29, 35, 40, 45, 51, 56, 60,
-                66, 70, 74, 79, 82, 87, 90, 95, 98, 103, 106, 109, 116, 118,
-                126, 130, 133, 138, 142, 152, 156, 161, 166, 176, 180, 184,
-                190, 197, 200, 205, 209, 216, 220, 230, };
+ 	 int[] breaks = { 0, 4, 15, 20, 26, 29, 31, 42, 45, 51, 61, 65, 73, 81, 92, 98, 101, 104, 119, };
+
         return verifyIterator(it, breaks);
     }
 
@@ -166,15 +164,7 @@
         String t = getJPText();
         it.setText(t);
 
-        int[] breaks = {
-            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 15, 19, 20, 21, 22, 
-            23, 24, 25, 26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 40, 
-            41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 
-            55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 
-            70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 83, 84, 85, 
-            86, 87, 88, 89, 90, 95, 96, 97, 98, 99, 100, 101, 102, 
-            103, 104, 105, 106, 107, 108, 110, 111, 
-        };
+	 int[] breaks = { 0, 4, 15, 20, 26, 29, 31, 42, 45, 51, 61, 65, 73, 81, 92, 98, 101, 104, 119, };
         return verifyIterator(it, breaks);
     }
 
@@ -183,15 +173,7 @@
         String t = getJPText();
         it.setText(t);
 
-        int[] breaks = {
-            0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 14, 15, 19, 20, 21, 22, 
-            23, 24, 25, 26, 27, 29, 32, 34, 35, 36, 37, 38, 39, 40, 
-            41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 
-            55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 66, 67, 68, 69, 
-            70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 83, 84, 85, 
-            86, 87, 88, 89, 90, 95, 96, 97, 98, 99, 100, 101, 102, 
-            103, 104, 105, 106, 107, 108, 110, 111, 
-        };
+	 int[] breaks = { 0, 4, 15, 20, 26, 29, 31, 42, 45, 51, 61, 65, 73, 81, 92, 98, 101, 104, 119, };
         return verifyIterator(it, breaks);
     }
 
@@ -200,10 +182,7 @@
         String t = getEngText();
         it.setText(t);
 
-        int[] breaks = { 0, 6, 10, 14, 16, 23, 26, 29, 35, 40, 45, 51, 56, 60,
-                66, 70, 74, 79, 82, 87, 90, 95, 98, 103, 106, 109, 116, 118,
-                126, 130, 133, 138, 142, 152, 156, 161, 166, 176, 180, 184,
-                190, 197, 200, 205, 209, 216, 220, 230, };
+	 int[] breaks = { 0, 4, 15, 20, 26, 29, 31, 42, 45, 51, 61, 65, 73, 81, 92, 98, 101, 104, 119, };
         return verifyIterator(it, breaks);
     }