Java Doc for NumberFormatTest.java in  » Internationalization-Localization » icu4j » com » ibm » icu » dev » test » format » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Internationalization Localization » icu4j » com.ibm.icu.dev.test.format 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ibm.icu.dev.test.TestFmwk
   com.ibm.icu.dev.test.format.NumberFormatTest

NumberFormatTest
public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk (Code)

Inner Class :final static class PI extends Number

Field Summary
static  String[]roundingModeNames
    


Method Summary
public  voidTestCases()
    
public  voidTestComplexCurrency()
     Test currencies whose display name is a ChoiceFormat.
public  voidTestCoverage()
    
public  voidTestCurrency()
     Test localized currency patterns.
public  voidTestCurrencyKeyword()
    
public  voidTestCurrencyObject()
     Test the Currency object handling, new as of ICU 2.2.
public  voidTestCurrencyPatterns()
    
public  voidTestCurrencySign()
     Test the handling of the currency symbol in patterns.
public  voidTestExponent()
    
public  voidTestExponential()
    
public  voidTestIllegalPatterns()
    
public  voidTestJB3832()
    
public  voidTestJB5251()
    
public  voidTestJB5358()
    
public  voidTestPad()
    
public  voidTestParse()
     Do rudimentary testing of parsing.
public  voidTestParseCurrencyTrailingSymbol()
    
public  voidTestParseReturnType()
    
public  voidTestPatterns()
    
public  voidTestPatterns2()
    
public  voidTestPerMill()
    
public  voidTestQuotes()
    
public  voidTestRegistration()
    
public  voidTestRounding()
    
public  voidTestRounding487()
     Test proper rounding by the format method.
public  voidTestScientific()
    
public  voidTestScientific2()
    
public  voidTestScientificGrouping()
    
public  voidTestSecondaryGrouping()
     Test the functioning of the secondary grouping value.
public  voidTestStrictParse()
    
public  voidTestThreadedFormat()
    
public  voidTestWhiteSpaceParsing()
    
 voidcheckRounding(DecimalFormat nf, BigDecimal base, int iterations, BigDecimal increment)
    
public  voidexpect(NumberFormat fmt, Number n, String exp, boolean rt)
    
public  voidexpect(NumberFormat fmt, Number n, String exp)
    
public  voidexpect(NumberFormat fmt, double n, String exp)
    
public  voidexpect(NumberFormat fmt, long n, String exp)
    
public  voidexpect(NumberFormat fmt, String str, Number n)
    
public  voidexpect(NumberFormat fmt, String str, double n)
    
public  voidexpect(NumberFormat fmt, String str, long n)
    
public  voidexpect2(NumberFormat fmt, Number n, String exp)
    
public  voidexpect2(NumberFormat fmt, double n, String exp)
    
public  voidexpect2(NumberFormat fmt, long n, String exp)
    
public  voidexpectPad(DecimalFormat fmt, String pat, int pos)
    
public  voidexpectPad(DecimalFormat fmt, String pat, int pos, int width, char pad)
    
public  voidexpectPat(DecimalFormat fmt, String exp)
    
public static  voidmain(String[] args)
    
public  voidroundingTest(NumberFormat nf, double x, int maxFractionDigits, String expected)
    
 voidrunStrictParseBatch(DecimalFormat nf, String[] pass, String[] fail)
    
 voidrunStrictParseTests(String msg, DecimalFormat nf, String[] tests, boolean pass)
    
static  BigDecimaltoBigDecimal(Number number)
    

Field Detail
roundingModeNames
static String[] roundingModeNames(Code)





Method Detail
TestCases
public void TestCases()(Code)



TestComplexCurrency
public void TestComplexCurrency()(Code)
Test currencies whose display name is a ChoiceFormat.



TestCoverage
public void TestCoverage()(Code)



TestCurrency
public void TestCurrency()(Code)
Test localized currency patterns.



TestCurrencyKeyword
public void TestCurrencyKeyword()(Code)



TestCurrencyObject
public void TestCurrencyObject()(Code)
Test the Currency object handling, new as of ICU 2.2.



TestCurrencyPatterns
public void TestCurrencyPatterns()(Code)



TestCurrencySign
public void TestCurrencySign()(Code)
Test the handling of the currency symbol in patterns.



TestExponent
public void TestExponent()(Code)
Upgrade to alphaWorks



TestExponential
public void TestExponential()(Code)



TestIllegalPatterns
public void TestIllegalPatterns()(Code)



TestJB3832
public void TestJB3832()(Code)



TestJB5251
public void TestJB5251()(Code)



TestJB5358
public void TestJB5358()(Code)



TestPad
public void TestPad()(Code)
Upgrade to alphaWorks



TestParse
public void TestParse()(Code)
Do rudimentary testing of parsing.



TestParseCurrencyTrailingSymbol
public void TestParseCurrencyTrailingSymbol()(Code)



TestParseReturnType
public void TestParseReturnType()(Code)



TestPatterns
public void TestPatterns()(Code)



TestPatterns2
public void TestPatterns2()(Code)
Upgrade to alphaWorks



TestPerMill
public void TestPerMill()(Code)



TestQuotes
public void TestQuotes()(Code)



TestRegistration
public void TestRegistration()(Code)



TestRounding
public void TestRounding()(Code)



TestRounding487
public void TestRounding487()(Code)
Test proper rounding by the format method.



TestScientific
public void TestScientific()(Code)
Upgrade to alphaWorks



TestScientific2
public void TestScientific2()(Code)



TestScientificGrouping
public void TestScientificGrouping()(Code)



TestSecondaryGrouping
public void TestSecondaryGrouping()(Code)
Test the functioning of the secondary grouping value.



TestStrictParse
public void TestStrictParse()(Code)



TestThreadedFormat
public void TestThreadedFormat()(Code)



TestWhiteSpaceParsing
public void TestWhiteSpaceParsing()(Code)



checkRounding
void checkRounding(DecimalFormat nf, BigDecimal base, int iterations, BigDecimal increment)(Code)



expect
public void expect(NumberFormat fmt, Number n, String exp, boolean rt)(Code)



expect
public void expect(NumberFormat fmt, Number n, String exp)(Code)



expect
public void expect(NumberFormat fmt, double n, String exp)(Code)



expect
public void expect(NumberFormat fmt, long n, String exp)(Code)



expect
public void expect(NumberFormat fmt, String str, Number n)(Code)



expect
public void expect(NumberFormat fmt, String str, double n)(Code)



expect
public void expect(NumberFormat fmt, String str, long n)(Code)



expect2
public void expect2(NumberFormat fmt, Number n, String exp)(Code)



expect2
public void expect2(NumberFormat fmt, double n, String exp)(Code)



expect2
public void expect2(NumberFormat fmt, long n, String exp)(Code)



expectPad
public void expectPad(DecimalFormat fmt, String pat, int pos)(Code)



expectPad
public void expectPad(DecimalFormat fmt, String pat, int pos, int width, char pad)(Code)



expectPat
public void expectPat(DecimalFormat fmt, String exp)(Code)



main
public static void main(String[] args) throws Exception(Code)



roundingTest
public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, String expected)(Code)



runStrictParseBatch
void runStrictParseBatch(DecimalFormat nf, String[] pass, String[] fail)(Code)



runStrictParseTests
void runStrictParseTests(String msg, DecimalFormat nf, String[] tests, boolean pass)(Code)



toBigDecimal
static BigDecimal toBigDecimal(Number number)(Code)



Fields inherited from com.ibm.icu.dev.test.TestFmwk
protected TestParams params(Code)(Java Doc)

Methods inherited from com.ibm.icu.dev.test.TestFmwk
protected boolean assertEquals(String message, boolean expected, boolean actual)(Code)(Java Doc)
protected boolean assertEquals(String message, long expected, long actual)(Code)(Java Doc)
protected boolean assertEquals(String message, float expected, float actual, double error)(Code)(Java Doc)
protected boolean assertEquals(String message, double expected, double actual, double error)(Code)(Java Doc)
protected boolean assertEquals(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertFalse(String message, boolean condition)(Code)(Java Doc)
protected boolean assertNotEquals(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertNotNull(String message, Object actual)(Code)(Java Doc)
protected boolean assertNotSame(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertNull(String message, Object actual)(Code)(Java Doc)
protected boolean assertSame(String message, Object expected, Object actual)(Code)(Java Doc)
protected boolean assertTrue(String message, boolean condition)(Code)(Java Doc)
protected int checkArray(String msg, String array, String expected)(Code)(Java Doc)
protected int checkArray(String msg, Locale array, String expected)(Code)(Java Doc)
protected int checkArray(String msg, ULocale array, String expected)(Code)(Java Doc)
protected Random createRandom()(Code)(Java Doc)
protected void fail(String message)(Code)(Java Doc)
protected static synchronized java.util.Date getDate(int year, int month, int dom)(Code)(Java Doc)
protected String getDescription()(Code)(Java Doc)
protected int getErrorCount()(Code)(Java Doc)
public PrintWriter getErrorLogPrintWriter()(Code)(Java Doc)
public int getInclusion()(Code)(Java Doc)
public PrintWriter getLogPrintWriter()(Code)(Java Doc)
protected String getMethodDescription(String name)(Code)(Java Doc)
protected TestFmwk getSubtest(String prefix) throws TestFmwkException(Code)(Java Doc)
protected Target getTargets(String targetName)(Code)(Java Doc)
public String getTranslitTestFilter()(Code)(Java Doc)
protected void handleException(Throwable e)(Code)(Java Doc)
public static String hex(char[] s)(Code)(Java Doc)
public static String hex(byte[] s)(Code)(Java Doc)
public static String hex(char ch)(Code)(Java Doc)
public static String hex(int ch)(Code)(Java Doc)
public static String hex(String s)(Code)(Java Doc)
public static String hex(StringBuffer s)(Code)(Java Doc)
protected void init() throws Exception(Code)(Java Doc)
public boolean isDateAtLeast(int year, int month, int day)(Code)(Java Doc)
public boolean isMemTracking()(Code)(Java Doc)
public boolean isModularBuild()(Code)(Java Doc)
public boolean isQuick()(Code)(Java Doc)
public boolean isTiming()(Code)(Java Doc)
public boolean isVerbose()(Code)(Java Doc)
public void msg(String message, int level, boolean incCount, boolean newln)(Code)(Java Doc)
public boolean noData()(Code)(Java Doc)
public static String prettify(String s)(Code)(Java Doc)
public static String prettify(StringBuffer s)(Code)(Java Doc)
public Target resolveTarget(TestParams params)(Code)(Java Doc)
public Target resolveTarget(TestParams params, String targetPath)(Code)(Java Doc)
public void run(String[] args)(Code)(Java Doc)
public int run(String[] args, PrintWriter log)(Code)(Java Doc)
public int runTests(TestParams params, String[] tests)(Code)(Java Doc)
protected TimeZone safeGetTimeZone(String id)(Code)(Java Doc)
public void usage()(Code)(Java Doc)
public static void usage(PrintWriter pw, String className)(Code)(Java Doc)
protected boolean validate()(Code)(Java Doc)
protected boolean validateMethod(String name)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.