ICU-2025 deprecate UnicodeFilterLogic
X-SVN-Rev: 9808
This commit is contained in:
parent
5a24e9df06
commit
a087750ac3
@ -6,8 +6,8 @@
|
|||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*
|
*
|
||||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/HexToUnicodeTransliteratorTest.java,v $
|
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/HexToUnicodeTransliteratorTest.java,v $
|
||||||
* $Date: 2002/02/25 22:43:57 $
|
* $Date: 2002/08/28 16:45:18 $
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
*
|
*
|
||||||
*****************************************************************************************
|
*****************************************************************************************
|
||||||
*/
|
*/
|
||||||
@ -40,6 +40,13 @@ public class HexToUnicodeTransliteratorTest extends TestFmwk {
|
|||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public String toPattern(boolean escapeUnprintable) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
public boolean matchesIndexValue(int v) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public void addMatchSetTo(UnicodeSet toUnionTo) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
public void TestConstruction(){
|
public void TestConstruction(){
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*
|
*
|
||||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/TransliteratorTest.java,v $
|
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/TransliteratorTest.java,v $
|
||||||
* $Date: 2002/08/02 21:18:44 $
|
* $Date: 2002/08/28 16:45:18 $
|
||||||
* $Revision: 1.115 $
|
* $Revision: 1.116 $
|
||||||
*
|
*
|
||||||
*****************************************************************************************
|
*****************************************************************************************
|
||||||
*/
|
*/
|
||||||
@ -401,6 +401,13 @@ public class TransliteratorTest extends TestFmwk {
|
|||||||
public boolean contains(int c) {
|
public boolean contains(int c) {
|
||||||
return c != 'c';
|
return c != 'c';
|
||||||
}
|
}
|
||||||
|
public String toPattern(boolean escapeUnprintable) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
public boolean matchesIndexValue(int v) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public void addMatchSetTo(UnicodeSet toUnionTo) {}
|
||||||
});
|
});
|
||||||
String s = "abcde";
|
String s = "abcde";
|
||||||
String out = hex.transliterate(s);
|
String out = hex.transliterate(s);
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*
|
*
|
||||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeFilterLogicTest.java,v $
|
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeFilterLogicTest.java,v $
|
||||||
* $Date: 2002/02/25 22:43:57 $
|
* $Date: 2002/08/28 16:45:19 $
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
*
|
*
|
||||||
*****************************************************************************************
|
*****************************************************************************************
|
||||||
*/
|
*/
|
||||||
@ -36,6 +36,13 @@ public class UnicodeFilterLogicTest extends TestFmwk {
|
|||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public String toPattern(boolean escapeUnprintable) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
public boolean matchesIndexValue(int v) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public void addMatchSetTo(UnicodeSet toUnionTo) {}
|
||||||
};
|
};
|
||||||
UnicodeFilter Filter2=new UnicodeFilter() {
|
UnicodeFilter Filter2=new UnicodeFilter() {
|
||||||
public boolean contains(int c) {
|
public boolean contains(int c) {
|
||||||
@ -44,6 +51,13 @@ public class UnicodeFilterLogicTest extends TestFmwk {
|
|||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public String toPattern(boolean escapeUnprintable) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
public boolean matchesIndexValue(int v) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public void addMatchSetTo(UnicodeSet toUnionTo) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
public void TestAllFilters() {
|
public void TestAllFilters() {
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*
|
*
|
||||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeToHexTransliteratorTest.java,v $
|
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeToHexTransliteratorTest.java,v $
|
||||||
* $Date: 2002/02/25 22:43:57 $
|
* $Date: 2002/08/28 16:45:19 $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
*
|
*
|
||||||
*****************************************************************************************
|
*****************************************************************************************
|
||||||
*/
|
*/
|
||||||
@ -39,6 +39,13 @@ public class UnicodeToHexTransliteratorTest extends TestFmwk {
|
|||||||
else
|
else
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public String toPattern(boolean escapeUnprintable) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
public boolean matchesIndexValue(int v) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
public void addMatchSetTo(UnicodeSet toUnionTo) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
public void TestConstruction(){
|
public void TestConstruction(){
|
||||||
|
Loading…
Reference in New Issue
Block a user