8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test 1.1 02/09/11
26 * @bug 4176141 4655819
27 * @summary Regression tests for Japanese Collation
28 */
29
30 import java.text.*;
31 import java.util.*;
32
33 public class JapaneseTest {
34
35 // NOTE:
36 // Golden data in this test case is locale data dependent and
37 // may need to be changed if the Japanese locale collation rules
38 // are changed.
39
40 /*
41 * | NO_DECOMP(default) | CANONICAL_DECOMP | FULL_DECOMP
42 * -------------------+--------------------+------------------+-------------
43 * PRIMARY | s1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
44 * SECONDARY | s1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
45 * TERTIARY(default) | S1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
46 */
47 static final int[][] results1 = {
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test 1.1 02/09/11
26 * @bug 4176141 4655819
27 * @summary Regression tests for Japanese Collation
28 * @modules jdk.localedata
29 */
30
31 import java.text.*;
32 import java.util.*;
33
34 public class JapaneseTest {
35
36 // NOTE:
37 // Golden data in this test case is locale data dependent and
38 // may need to be changed if the Japanese locale collation rules
39 // are changed.
40
41 /*
42 * | NO_DECOMP(default) | CANONICAL_DECOMP | FULL_DECOMP
43 * -------------------+--------------------+------------------+-------------
44 * PRIMARY | s1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
45 * SECONDARY | s1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
46 * TERTIARY(default) | S1 < s2 (-1) | s1 < s2 (-1) | s1 < s2 (-1)
47 */
48 static final int[][] results1 = {
|