Fix IDs in case map test
X-SVN-Rev: 5152
This commit is contained in:
parent
8322023f2d
commit
7ce872d018
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/TransliteratorTest.java,v $
|
||||
* $Date: 2001/06/12 23:02:13 $
|
||||
* $Revision: 1.37 $
|
||||
* $Date: 2001/07/02 19:44:10 $
|
||||
* $Revision: 1.38 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
@ -781,17 +781,18 @@ public class TransliteratorTest extends TestFmwk {
|
||||
*/
|
||||
public void TestCaseMap() {
|
||||
Transliterator toUpper =
|
||||
Transliterator.getInstance("Lower-Upper[^xyzXYZ]");
|
||||
Transliterator toLower = toUpper.getInverse();
|
||||
Transliterator.getInstance("Any-Upper[^xyzXYZ]");
|
||||
Transliterator toLower =
|
||||
Transliterator.getInstance("Any-Lower[^xyzXYZ]");
|
||||
Transliterator toTitle =
|
||||
Transliterator.getInstance("TitleCase[^xyzXYZ]");
|
||||
Transliterator.getInstance("Any-Title[^xyzXYZ]");
|
||||
|
||||
expect(toUpper, "The quick brown fox jumped over the lazy dogs.",
|
||||
"THE QUICK BROWN FOx JUMPED OVER THE LAzy DOGS.");
|
||||
expect(toLower, "The quIck brown fOX jUMPED OVER THE LAzY dogs.",
|
||||
"the quick brown foX jumped over the lazY dogs.");
|
||||
expect(toTitle, "the quick brown foX jumped over the laZy dogs.",
|
||||
"The Quick Brown FoX Jumped Over The LaZy Dogs.");
|
||||
expect(toTitle, "the quick brown foX caN'T jump over the laZy dogs.",
|
||||
"The Quick Brown FoX Can't Jump Over The LaZy Dogs.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -5,8 +5,8 @@
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/test/translit/Attic/TransliteratorTest.java,v $
|
||||
* $Date: 2001/06/12 23:02:13 $
|
||||
* $Revision: 1.37 $
|
||||
* $Date: 2001/07/02 19:44:10 $
|
||||
* $Revision: 1.38 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
@ -781,17 +781,18 @@ public class TransliteratorTest extends TestFmwk {
|
||||
*/
|
||||
public void TestCaseMap() {
|
||||
Transliterator toUpper =
|
||||
Transliterator.getInstance("Lower-Upper[^xyzXYZ]");
|
||||
Transliterator toLower = toUpper.getInverse();
|
||||
Transliterator.getInstance("Any-Upper[^xyzXYZ]");
|
||||
Transliterator toLower =
|
||||
Transliterator.getInstance("Any-Lower[^xyzXYZ]");
|
||||
Transliterator toTitle =
|
||||
Transliterator.getInstance("TitleCase[^xyzXYZ]");
|
||||
Transliterator.getInstance("Any-Title[^xyzXYZ]");
|
||||
|
||||
expect(toUpper, "The quick brown fox jumped over the lazy dogs.",
|
||||
"THE QUICK BROWN FOx JUMPED OVER THE LAzy DOGS.");
|
||||
expect(toLower, "The quIck brown fOX jUMPED OVER THE LAzY dogs.",
|
||||
"the quick brown foX jumped over the lazY dogs.");
|
||||
expect(toTitle, "the quick brown foX jumped over the laZy dogs.",
|
||||
"The Quick Brown FoX Jumped Over The LaZy Dogs.");
|
||||
expect(toTitle, "the quick brown foX caN'T jump over the laZy dogs.",
|
||||
"The Quick Brown FoX Can't Jump Over The LaZy Dogs.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user