ICU-66 Change "string" + int to "string %d", int because we don't need to convert to a UnicodeString here and we don't want to add an integer to a const char *.
X-SVN-Rev: 4814
This commit is contained in:
parent
23091929ee
commit
732922f538
@ -767,7 +767,7 @@ void DateFormatRegressionTest::Test4104136(void)
|
|||||||
ParsePosition pos(0);
|
ParsePosition pos(0);
|
||||||
UDate d = sdf->parse(text, pos);
|
UDate d = sdf->parse(text, pos);
|
||||||
logln(" text: \"" + text + "\"");
|
logln(" text: \"" + text + "\"");
|
||||||
logln(" index: " + pos.getIndex());
|
logln(" index: %d", pos.getIndex());
|
||||||
logln((UnicodeString) " result: " + d);
|
logln((UnicodeString) " result: " + d);
|
||||||
if(pos.getIndex() != finish.getIndex())
|
if(pos.getIndex() != finish.getIndex())
|
||||||
errln("Fail: Expected pos " + finish.getIndex());
|
errln("Fail: Expected pos " + finish.getIndex());
|
||||||
|
@ -68,7 +68,7 @@ void DateFormatRoundTripTest::TestDateFormatRoundTrip()
|
|||||||
|
|
||||||
int32_t locCount = 0;
|
int32_t locCount = 0;
|
||||||
const Locale *avail = DateFormat::getAvailableLocales(locCount);
|
const Locale *avail = DateFormat::getAvailableLocales(locCount);
|
||||||
logln("DateFormat available locales: " + locCount);
|
logln("DateFormat available locales: %d", locCount);
|
||||||
if(quick) {
|
if(quick) {
|
||||||
if(locCount > 5)
|
if(locCount > 5)
|
||||||
locCount = 5;
|
locCount = 5;
|
||||||
|
@ -67,7 +67,7 @@ void DateFormatTest::TestWallyWedel()
|
|||||||
/*
|
/*
|
||||||
* How many ids do we have?
|
* How many ids do we have?
|
||||||
*/
|
*/
|
||||||
logln("Time Zone IDs size: " + ids_length);
|
logln("Time Zone IDs size: %d", ids_length);
|
||||||
/*
|
/*
|
||||||
* Column headings (sort of)
|
* Column headings (sort of)
|
||||||
*/
|
*/
|
||||||
|
@ -478,7 +478,7 @@ void TimeZoneRegressionTest:: Test4151406() {
|
|||||||
errln(hname + ' ' + "Fail: " + e);
|
errln(hname + ' ' + "Fail: " + e);
|
||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
logln("Maximum zones per offset = " + max);
|
logln("Maximum zones per offset = %d", max);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user