Java Doc for TestCLDRVsICU.java in  » Internationalization-Localization » icu4j » com » ibm » icu » dev » test » cldr » 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.cldr 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.ibm.icu.dev.test.TestFmwk
   com.ibm.icu.dev.test.cldr.TestCLDRVsICU

TestCLDRVsICU
public class TestCLDRVsICU extends TestFmwk (Code)
This is a file that runs the CLDR tests for ICU4J, to verify that ICU4J implements them correctly. WARNING: 1. for this to work right, you have to have downloaded the CLDR data, and then set the CLDR directory correctly, using -DCLDR_DIRECTORY= 2. You probably also need to increase memory, eg with -Xmx512m 3. For speed, you should also use -DCLDR_DTD_CACHE=C:\cldrcache\, where C:\cldrcache\ is a temp directory to keep the program from hitting the net for each file access. 4. You may use other environment variables to narrow what you test. Eg -DXML_MATCH=".*" -DTEST_MATCH="zone.*" -DZONE_MATCH="(?!America/Argentina).*" a. -DXML_MATCH="de.*" (or whatever regex you want) to just test certain locales. b. -DTEST_MATCH="zone.*" (or whatever regex you want) to just test collation, numbers, etc. c. -DZONE_MATCH=".*Moscow.*" (to only test certain zones)
author:
   medavis

Inner Class :abstract public class Handler
Inner Class :class NullHandler extends Handler

Field Summary
static  StringCLDR_DIRECTORY
    
final static  booleanDEBUG
    
 DefaultHandlerDEFAULT_HANDLER
    
static  String[]DateFormatNames
    
static  int[]DateFormatValues
    
static  MatcherLOCALE_MATCHTEST_MATCHZONE_MATCH
    
static  String[]NumberNames
    
 MapRegisteredHandlers
    
 SAXParserSAX
    
 SetallLocales
    
static  UnicodeSetcontrolsAndSpace
    
static  DateFormatiso
    
static  TransliteratortoUnicode
    
static  TimeZoneutc
    


Method Summary
public  voidTestFiles()
    
public  void_test(String localeName)
    
public  voidaddHandler(String name, Handler handler)
    
public  voidaddLocales(ULocale[] list, Collection s)
    
public  HandlergetHandler(String name, Attributes attributes)
    
public  StringgetLanguage(ULocale uLocale)
    
public static  voidmain(String[] args)
    
static  Stringremove(String in, UnicodeSet toRemove)
    
public static  StringshowString(String in)
    

Field Detail
CLDR_DIRECTORY
static String CLDR_DIRECTORY(Code)



DEBUG
final static boolean DEBUG(Code)



DEFAULT_HANDLER
DefaultHandler DEFAULT_HANDLER(Code)



DateFormatNames
static String[] DateFormatNames(Code)



DateFormatValues
static int[] DateFormatValues(Code)



LOCALE_MATCHTEST_MATCHZONE_MATCH
static Matcher LOCALE_MATCHTEST_MATCHZONE_MATCH(Code)



NumberNames
static String[] NumberNames(Code)



RegisteredHandlers
Map RegisteredHandlers(Code)



SAX
SAXParser SAX(Code)



allLocales
Set allLocales(Code)



controlsAndSpace
static UnicodeSet controlsAndSpace(Code)



iso
static DateFormat iso(Code)



toUnicode
static Transliterator toUnicode(Code)



utc
static TimeZone utc(Code)





Method Detail
TestFiles
public void TestFiles() throws SAXException, IOException(Code)



_test
public void _test(String localeName) throws SAXException, IOException(Code)



addHandler
public void addHandler(String name, Handler handler)(Code)



addLocales
public void addLocales(ULocale[] list, Collection s)(Code)



getHandler
public Handler getHandler(String name, Attributes attributes)(Code)



getLanguage
public String getLanguage(ULocale uLocale)(Code)



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



remove
static String remove(String in, UnicodeSet toRemove)(Code)



showString
public static String showString(String in)(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.