ICU-5761 Made Jamo transliterator test cases work with CLDR1.5 data.

X-SVN-Rev: 22225
This commit is contained in:
Yoshito Umaoka 2007-07-31 23:15:08 +00:00
parent cbb002c877
commit d28cb2edce

View File

@ -1,6 +1,6 @@
/** /**
******************************************************************************* *******************************************************************************
* Copyright (C) 2001-2004, International Business Machines Corporation and * * Copyright (C) 2001-2007, International Business Machines Corporation and *
* others. All Rights Reserved. * * others. All Rights Reserved. *
******************************************************************************* *******************************************************************************
*/ */
@ -35,21 +35,21 @@ public class JamoTest extends TransliteratorTest {
// Column 3 is expected value of L2. If the expected // Column 3 is expected value of L2. If the expected
// value of L2 is L1, then L2 is null. // value of L2 is L1, then L2 is null.
"bab", "(Bi)(A)(Bf)", null, "bab", "(Bi)(A)(Bf)", null,
"babb", "(Bi)(A)(Bf)(Bi)(EU)", "bab"+SEP+"beu", "babb", "(Bi)(A)(Bf)(Bi)(EU)", "babbeu",
"babbba", "(Bi)(A)(Bf)(BB)(A)", null, "babbba", "(Bi)(A)(Bf)(Bi)(EU)(Bi)(A)", "babbeuba",
"bagg", "(Bi)(A)(GGf)", null, "bagg", "(Bi)(A)(Gf)(Gi)(EU)", "baggeu",
"baggga", "(Bi)(A)(GGf)(Gi)(A)", null, "baggga", "(Bi)(A)(Gf)(Gi)(EU)(Gi)(A)", "baggeuga",
"bag"+SEP+"gga", "(Bi)(A)(Gf)(GGi)(A)", null, "bag"+SEP+"gga", "(Bi)(A)(Gf)"+SEP+"(Gi)(EU)(Gi)(A)", "bag"+SEP+"geuga",
"kabsa", "(Ki)(A)(Bf)(Si)(A)", null, "kabsa", "(Ki)(A)(Bf)(Si)(A)", null,
"kabska", "(Ki)(A)(BS)(Ki)(A)", null, "kabska", "(Ki)(A)(BS)(Ki)(A)", null,
"gabsbka", "(Gi)(A)(BS)(Bi)(EU)(Ki)(A)", "gabsbeuka", // not (Kf) "gabsbka", "(Gi)(A)(BS)(Bi)(EU)(Ki)(A)", "gabsbeuka", // not (Kf)
"gga", "(GGi)(A)", null, "gga", "(Gi)(EU)(Gi)(A)", "geuga",
"bsa", "(Bi)(EU)(Si)(A)", "beusa", "bsa", "(Bi)(EU)(Si)(A)", "beusa",
"agg", "(IEUNG)(A)(GGf)", null, "agg", "(IEUNG)(A)(Gf)(Gi)(EU)", "aggeu",
"agga", "(IEUNG)(A)(GGi)(A)", null, "agga", "(IEUNG)(A)(Gf)(Gi)(A)", null,
"la", "(R)(A)", "ra", "la", "(R)(A)", null,
"bs", "(Bi)(EU)(Sf)", "beus", "bs", "(Bi)(EU)(Sf)", "beus",
"kalgga", "(Ki)(A)(L)(GGi)(A)", null, "kalgga", "(Ki)(A)(L)(Gi)(EU)(Gi)(A)", "kalgeuga",
// 'r' in a final position is treated like 'l' // 'r' in a final position is treated like 'l'
"karka", "(Ki)(A)(L)(Ki)(A)", "kalka", "karka", "(Ki)(A)(L)(Ki)(A)", "kalka",
@ -299,8 +299,12 @@ public class JamoTest extends TransliteratorTest {
"\ubd80\ubd84\uc744 \ucc28\uc9c0\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. " + "\ubd80\ubd84\uc744 \ucc28\uc9c0\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. " +
"\uc720\ub2c8\ucf54\ub4dc\ub97c " + "\uc720\ub2c8\ucf54\ub4dc\ub97c " +
"\ud074\ub77c\uc774\uc5b8\ud2b8-\uc11c\ubc84 \ub610\ub294 " + // Replaced a hyphen with a space to make the test case work with CLDR1.5
"\ub2e4\uc911-\uc5f0\uacb0 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uacfc " + // "\ud074\ub77c\uc774\uc5b8\ud2b8-\uc11c\ubc84 \ub610\ub294 " +
"\ud074\ub77c\uc774\uc5b8\ud2b8 \uc11c\ubc84 \ub610\ub294 " +
// Replaced a hyphen with a space.
// "\ub2e4\uc911-\uc5f0\uacb0 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uacfc " +
"\ub2e4\uc911 \uc5f0\uacb0 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uacfc " +
"\uc6f9 \uc0ac\uc774\ud2b8\uc5d0 \ud1b5\ud569\ud558\uba74 " + "\uc6f9 \uc0ac\uc774\ud2b8\uc5d0 \ud1b5\ud569\ud558\uba74 " +
"\ub808\uac70\uc2dc \ubb38\uc790 \uc138\ud2b8 \uc0ac\uc6a9\uc5d0 " + "\ub808\uac70\uc2dc \ubb38\uc790 \uc138\ud2b8 \uc0ac\uc6a9\uc5d0 " +
"\uc788\uc5b4\uc11c \uc0c1\ub2f9\ud55c \ube44\uc6a9 \uc808\uac10 " + "\uc788\uc5b4\uc11c \uc0c1\ub2f9\ud55c \ube44\uc6a9 \uc808\uac10 " +