This is the mail archive of the mauve-patches@sources.redhat.com mailing list for the Mauve project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Attached are is an initial test case for java.util.NumberFormat. With Classpath, it immediately shows up a bug: broken handling of long arguments. Currency formatting is also now broken, due to Michael's recent changes to the locales; although he's done some excellent work in getting the locale stuff actually usable, we've (temporarily) lost the currency symbols, so everything is now in dollars. All this really needs, minimally, is something to convert international currency codes into symbols. For a true conformant implementation, the representation of each locale, respective of every other, needs to be known (see java.util.Currency). The current test looks at the UK locale (so I could check the answers mentally without having to rely on either the test or the library classes). Really, we should be able to generate tests of this style from the locale data. Changelog entry: 2004-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org> * gnu/testlet/java/text/NumberFormat/UK.java Added simple tests for normal, integer, currency and percentage instances for the UK locale. -- Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments. See http://www.fsf.org/philosophy/no-word-attachments.html No software patents in Europe -- http://nosoftwarepatents.com "Value your freedom, or you will lose it, teaches history. `Don't bother us with politics' respond those who don't want to learn." -- Richard Stallman "We've all been part of the biggest beta test the world has ever known -- Windows" -- Victor Wheatman, Gartner
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |