ICU-9508 Uncomment old CurrencyInfo constructor. Add test confirming its presence.

X-SVN-Rev: 33057
This commit is contained in:
Travis Keep 2013-01-16 21:22:11 +00:00
parent 1df7ed7891
commit 3eafd4cf29
2 changed files with 5 additions and 3 deletions

View File

@ -459,11 +459,9 @@ public class CurrencyMetaInfo {
* @param priority priority value, 0 is highest priority, increasing values are lower * @param priority priority value, 0 is highest priority, increasing values are lower
* @stable ICU 4.4 * @stable ICU 4.4
*/ */
/*
public CurrencyInfo(String region, String code, long from, long to, int priority) { public CurrencyInfo(String region, String code, long from, long to, int priority) {
this(region, code, from, to, priority, true); this(region, code, from, to, priority, true);
} }
*/
/** /**
* Constructs a currency info. * Constructs a currency info.

View File

@ -725,4 +725,8 @@ public class CurrencyTest extends TestFmwk {
assertEquals("getDisplayName() for " + data[0] + " in locale " + root, data[0], cur.getDisplayName(root)); assertEquals("getDisplayName() for " + data[0] + " in locale " + root, data[0], cur.getDisplayName(root));
} }
} }
public void TestCurrencyInfoCtor() {
new CurrencyMetaInfo.CurrencyInfo("region", "code", 0, 0, 1);
}
} }