mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4881 Hit the snooze alarm to go off at ICU 3.6 version change.
X-SVN-Rev: 18719
This commit is contained in:
parent
3f08e4e6bf
commit
a9a7739272
2 changed files with 10 additions and 8 deletions
|
@ -83,7 +83,7 @@ TransliteratorRoundTripTest::runIndexedTest(int32_t index, UBool exec,
|
|||
// Time bomb - allows temporary behavior that expires at a given
|
||||
// release
|
||||
//--------------------------------------------------------------------
|
||||
static const UVersionInfo ICU_35 = {3,5,0,0};
|
||||
static const UVersionInfo ICU_36 = {3,6,0,0};
|
||||
|
||||
static UBool isICUVersionAtLeast(const UVersionInfo x) {
|
||||
UVersionInfo v;
|
||||
|
@ -1143,7 +1143,7 @@ void TransliteratorRoundTripTest::TestHan() {
|
|||
|
||||
void TransliteratorRoundTripTest::TestGreek() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_35)) {
|
||||
if (isICUVersionAtLeast(ICU_36)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
|
@ -1175,7 +1175,7 @@ void TransliteratorRoundTripTest::TestGreek() {
|
|||
|
||||
void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_35)) {
|
||||
if (isICUVersionAtLeast(ICU_36)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
|
@ -1204,7 +1204,7 @@ void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
|||
|
||||
void TransliteratorRoundTripTest::Testel() {
|
||||
|
||||
if (isICUVersionAtLeast(ICU_35)) {
|
||||
if (isICUVersionAtLeast(ICU_36)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
|
@ -1272,7 +1272,7 @@ UBool LegalHebrew::is(const UnicodeString& sourceString)const{
|
|||
return TRUE;
|
||||
}
|
||||
void TransliteratorRoundTripTest::TestHebrew() {
|
||||
if (isICUVersionAtLeast(ICU_35)) {
|
||||
if (isICUVersionAtLeast(ICU_36)) {
|
||||
// We temporarily filter against Unicode 4.1, but we only do this
|
||||
// before version 3.4.
|
||||
errln("FAIL: TestHebrew needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||
|
|
|
@ -190,7 +190,7 @@ TransliteratorTest::runIndexedTest(int32_t index, UBool exec,
|
|||
}
|
||||
}
|
||||
|
||||
static const UVersionInfo ICU_31 = {3,1,0,0};
|
||||
static const UVersionInfo ICU_36 = {3,6,0,0};
|
||||
/**
|
||||
* Make sure every system transliterator can be instantiated.
|
||||
*
|
||||
|
@ -225,7 +225,8 @@ void TransliteratorTest::TestInstantiation() {
|
|||
i + ") != getAvailableIDs().snext()");
|
||||
continue;
|
||||
}
|
||||
if(id2.indexOf("Thai")>-1 && isICUVersionAtLeast(ICU_31)){
|
||||
if(id2.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_36)){
|
||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||
continue;
|
||||
}
|
||||
UParseError parseError;
|
||||
|
@ -3496,7 +3497,8 @@ void TransliteratorTest::TestIncrementalProgress(void) {
|
|||
Transliterator::getAvailableVariant(k, source, target, variant);
|
||||
UnicodeString id = source + "-" + target + "/" + variant;
|
||||
|
||||
if(id.indexOf("Thai")>-1 && isICUVersionAtLeast(ICU_31)){
|
||||
if(id.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_36)){
|
||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||
continue;
|
||||
}
|
||||
Transliterator *t = Transliterator::createInstance(id, UTRANS_FORWARD, err, status);
|
||||
|
|
Loading…
Add table
Reference in a new issue