ICU-4881 Move timebomb failures
X-SVN-Rev: 19818
This commit is contained in:
parent
9c874f2cc1
commit
f57dcd6274
@ -1717,7 +1717,7 @@ void DateFormatTest::expectFormat(const char** data, int32_t data_length,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DateFormatTest::TestGenericTime() {
|
void DateFormatTest::TestGenericTime() {
|
||||||
#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MINOR_NUM > 5
|
#if U_ICU_VERSION_MAJOR_NUM > 3 || U_ICU_VERSION_MINOR_NUM > 6
|
||||||
# define FIX_FAILING_WALLTIME_TESTS
|
# define FIX_FAILING_WALLTIME_TESTS
|
||||||
#else
|
#else
|
||||||
logln("Warning, skipping some tests here!");
|
logln("Warning, skipping some tests here!");
|
||||||
|
@ -83,7 +83,7 @@ TransliteratorRoundTripTest::runIndexedTest(int32_t index, UBool exec,
|
|||||||
// Time bomb - allows temporary behavior that expires at a given
|
// Time bomb - allows temporary behavior that expires at a given
|
||||||
// release
|
// release
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
static const UVersionInfo ICU_36 = {3,6,0,0};
|
static const UVersionInfo ICU_37 = {3,7,0,0};
|
||||||
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------
|
//--------------------------------------------------------------------
|
||||||
@ -1141,7 +1141,7 @@ void TransliteratorRoundTripTest::TestHan() {
|
|||||||
|
|
||||||
void TransliteratorRoundTripTest::TestGreek() {
|
void TransliteratorRoundTripTest::TestGreek() {
|
||||||
|
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||||
@ -1173,7 +1173,7 @@ void TransliteratorRoundTripTest::TestGreek() {
|
|||||||
|
|
||||||
void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
||||||
|
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||||
@ -1202,7 +1202,7 @@ void TransliteratorRoundTripTest::TestGreekUNGEGN() {
|
|||||||
|
|
||||||
void TransliteratorRoundTripTest::Testel() {
|
void TransliteratorRoundTripTest::Testel() {
|
||||||
|
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
errln("FAIL: TestGreek needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||||
@ -1270,7 +1270,7 @@ UBool LegalHebrew::is(const UnicodeString& sourceString)const{
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
void TransliteratorRoundTripTest::TestHebrew() {
|
void TransliteratorRoundTripTest::TestHebrew() {
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestHebrew needs to be updated to remove delete the [:Age=4.0:] filter ");
|
errln("FAIL: TestHebrew needs to be updated to remove delete the [:Age=4.0:] filter ");
|
||||||
@ -1393,7 +1393,7 @@ void TransliteratorRoundTripTest::TestDevanagariLatin() {
|
|||||||
}
|
}
|
||||||
RTTest test("Latin-Devanagari");
|
RTTest test("Latin-Devanagari");
|
||||||
Legal *legal = new LegalIndic();
|
Legal *legal = new LegalIndic();
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestDevanagariLatin needs to be updated to remove delete the [:Age=4.1:] filter ");
|
errln("FAIL: TestDevanagariLatin needs to be updated to remove delete the [:Age=4.1:] filter ");
|
||||||
@ -1669,7 +1669,7 @@ void TransliteratorRoundTripTest::TestInterIndic() {
|
|||||||
logln("Testing only 5 of %i. Skipping rest (use -e for exhaustive)",num);
|
logln("Testing only 5 of %i. Skipping rest (use -e for exhaustive)",num);
|
||||||
num = 5;
|
num = 5;
|
||||||
}
|
}
|
||||||
if (isICUVersionAtLeast(ICU_36)) {
|
if (isICUVersionAtLeast(ICU_37)) {
|
||||||
// We temporarily filter against Unicode 4.1, but we only do this
|
// We temporarily filter against Unicode 4.1, but we only do this
|
||||||
// before version 3.4.
|
// before version 3.4.
|
||||||
errln("FAIL: TestInterIndic needs to be updated to remove delete the [:Age=4.1:] filter ");
|
errln("FAIL: TestInterIndic needs to be updated to remove delete the [:Age=4.1:] filter ");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
* Copyright (C) 1999-2005, International Business Machines
|
* Copyright (C) 1999-2006, International Business Machines
|
||||||
* Corporation and others. All Rights Reserved.
|
* Corporation and others. All Rights Reserved.
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
* Date Name Description
|
* Date Name Description
|
||||||
@ -190,7 +190,7 @@ TransliteratorTest::runIndexedTest(int32_t index, UBool exec,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const UVersionInfo ICU_36 = {3,6,0,0};
|
static const UVersionInfo ICU_37 = {3,7,0,0};
|
||||||
/**
|
/**
|
||||||
* Make sure every system transliterator can be instantiated.
|
* Make sure every system transliterator can be instantiated.
|
||||||
*
|
*
|
||||||
@ -225,7 +225,7 @@ void TransliteratorTest::TestInstantiation() {
|
|||||||
i + ") != getAvailableIDs().snext()");
|
i + ") != getAvailableIDs().snext()");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(id2.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_36)){
|
if(id2.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_37)){
|
||||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -3497,7 +3497,7 @@ void TransliteratorTest::TestIncrementalProgress(void) {
|
|||||||
Transliterator::getAvailableVariant(k, source, target, variant);
|
Transliterator::getAvailableVariant(k, source, target, variant);
|
||||||
UnicodeString id = source + "-" + target + "/" + variant;
|
UnicodeString id = source + "-" + target + "/" + variant;
|
||||||
|
|
||||||
if(id.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_36)){
|
if(id.indexOf("Thai")>-1 && !isICUVersionAtLeast(ICU_37)){
|
||||||
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
/* The Thai-Latin transliterator doesn't exist in ICU4C yet */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user