ICU-8046 update TestOrdering timebomb, update TestMeasurementSystem

X-SVN-Rev: 28893
This commit is contained in:
Peter Edberg 2010-10-21 22:25:43 +00:00
parent 2947362274
commit 926ba7847d
2 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ public class DateTimeGeneratorTest extends TestFmwk {
DateOrder order2 = getOrdering(style2, uLocale);
if (!order1.hasSameOrderAs(order2)) {
if (order1.monthLength == order2.monthLength) { // error if have same month length, different ordering
if (skipIfBeforeICU(4,5,2)) { // ticket#6806
if (skipIfBeforeICU(4,6,0)) { // ticket#6806
logln(showOrderComparison(uLocale, style1, style2, order1, order2));
} else {
errln(showOrderComparison(uLocale, style1, style2, order1, order2));

View File

@ -81,7 +81,7 @@ public class LocaleDataTest extends TestFmwk{
if(lang.equals("in")){
continue;
}
if(locale.toString().indexOf("_US") >= 0){
if(locale.toString().indexOf("_US") >= 0 || locale.toString().indexOf("_MM") >= 0 || locale.toString().indexOf("_LR") >= 0){
if(ms == LocaleData.MeasurementSystem.US){
logln("Got the expected measurement system for locale: " + locale);
}else{