mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-3931 Added a temporary serialization test case for SelectFormat
X-SVN-Rev: 26944
This commit is contained in:
parent
c563c9cceb
commit
9ab5acc788
2 changed files with 11 additions and 0 deletions
|
@ -2153,6 +2153,16 @@ public class FormatTests
|
|||
}
|
||||
}
|
||||
|
||||
public static class SelectFormatHandler implements SerializableTest.Handler {
|
||||
// TODO - add real test case here!
|
||||
public Object[] getTestObjects() {
|
||||
return new Object[] { new TimeUnitFormat().setLocale(ULocale.ENGLISH) };
|
||||
}
|
||||
public boolean hasSameBehavior(Object a, Object b) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
// nothing needed...
|
||||
|
|
|
@ -671,6 +671,7 @@ public class SerializableTest extends TestFmwk.TestGroup
|
|||
map.put("com.ibm.icu.text.PluralFormat", new FormatTests.PluralFormatHandler());
|
||||
map.put("com.ibm.icu.text.PluralRules", new FormatTests.PluralRulesHandler());
|
||||
map.put("com.ibm.icu.text.TimeUnitFormat", new FormatTests.TimeUnitFormatHandler());
|
||||
map.put("com.ibm.icu.text.SelectFormat", new FormatTests.SelectFormatHandler());
|
||||
|
||||
map.put("com.ibm.icu.util.Calendar", new CalendarTests.CalendarHandler());
|
||||
map.put("com.ibm.icu.util.BuddhistCalendar", new CalendarTests.BuddhistCalendarHandler());
|
||||
|
|
Loading…
Add table
Reference in a new issue