ICU4J reorganization

X-SVN-Rev: 7687
This commit is contained in:
Mohan 2002-02-16 03:06:50 +00:00
parent b004960d4a
commit 6ed0e847b6
402 changed files with 6196 additions and 6104 deletions

View File

@ -5,30 +5,32 @@ REM Check the class dependencies.
REM make new class directory
mkdir classes
REM math packages
javac -d classes -classpath classes; src/com/ibm/math/*.java
REM text and util packages, they are tightly dependent on each other
javac -d classes -classpath classes src/com/ibm/text/*.java src/com/ibm/text/resources/*.java src/com/ibm/util/*.java src/com/ibm/util/resources/*.java
javac -d classes -classpath classes src/com/ibm/icu/math/*.java src/com/ibm/icu/util/*.java src/com/ibm/icu/text/*.java src/com/ibm/icu/impl/*.java src/com/ibm/icu/lang/*.java src/com/ibm/icu/impl/data/*.java src/com/ibm/icu/dev/tool/translit/*.java
REM textlayout packages
javac -d classes -classpath classes src/com/ibm/textlayout/*.java src/com/ibm/textlayout/attributes/*.java
REM UInfo class to be shifted in next release
javac -d classes -classpath classes src/com/ibm/icu/internal/*.java
javac -d classes -classpath classes src/com/ibm/richtext/textlayout/*.java src/com/ibm/richtext/textlayout/attributes/*.java
REM tool packages
javac -d classes -classpath classes src/com/ibm/tools/compression/*.java src/com/ibm/tools/normalizer/*.java src/com/ibm/tools/rbbi/*.java src/com/ibm/tools/translit/*.java
javac -d classes -classpath classes src/com/ibm/icu/dev/tool/compression/*.java src/com/ibm/icu/dev/tool/normalizer/CPPWriter.java src/com/ibm/icu/dev/tool/normalizer/JavaWriter.java src/com/ibm/icu/dev/tool/normalizer/SourceWriter.java src/com/ibm/icu/dev/tool/normalizer/MutableChar.java src/com/ibm/icu/dev/tool/normalizer/NormalizerBuilder.java src/com/ibm/icu/dev/tool/rbbi/*.java src/com/ibm/icu/dev/tool/translit/*.java
REM test packages
javac -d classes -classpath classes src/com/ibm/icu/dev/test/TestFmwk.java src/com/ibm/icu/dev/test/TestLog.java src/com/ibm/icu/dev/test/bigdec/*.java src/com/ibm/icu/dev/test/bnf/*.java src/com/ibm/icu/dev/test/calendar/*.java src/com/ibm/icu/dev/test/compression/*.java
javac -d classes -classpath classes src/com/ibm/icu/dev/test/normalizer/*.java src/com/ibm/icu/dev/test/rbbi/*.java src/com/ibm/icu/dev/test/rbnf/*.java src/com/ibm/icu/dev/test/search/*.java src/com/ibm/icu/dev/test/timezone/*.java src/com/ibm/icu/dev/test/translit/*.java
javac -d classes -classpath classes src/com/ibm/icu/dev/test/format/*.java src/com/ibm/icu/dev/test/text/*.java src/com/ibm/icu/dev/test/util/*.java src/com/ibm/icu/dev/test/ucharacter/*.java
javac -d classes -classpath classes src/com/ibm/icu/dev/test/TestAll.java
REM Copying dat files to classes directory
copy src\com\ibm\icu\impl\data\*.dat classes\com\ibm\icu\impl\data
REM richtext packages
javac -d classes -classpath classes src/com/ibm/richtext/awtui/*.java src/com/ibm/richtext/print/*.java src/com/ibm/richtext/styledtext/*.java src/com/ibm/richtext/swingui/*.java src/com/ibm/richtext/textformat/*.java src/com/ibm/richtext/textpanel/*.java src/com/ibm/richtext/uiimpl/*.java src/com/ibm/richtext/uiimpl/resources/*.java
javac -d classes -classpath classes src/com/ibm/richtext/textapps/*.java src/com/ibm/richtext/textapps/resources/*.java src/com/ibm/richtext/demo/*.java src/com/ibm/richtext/swingdemo/*.java src/com/ibm/richtext/tests/*.java
javac -d classes -classpath classes src/com/ibm/demo/*.java src/com/ibm/demo/calendar/*.java src/com/ibm/demo/holiday/*.java src/com/ibm/demo/rbbi/*.java src/com/ibm/demo/rbnf/*.java src/com/ibm/demo/translit/*.java src/com/ibm/icu/demo/components/*.java
REM test packages
javac -d classes -classpath classes src/com/ibm/test/TestFmwk.java src/com/ibm/test/TestLog.java src/com/ibm/test/bigdec/*.java src/com/ibm/test/bnf/*.java src/com/ibm/test/calendar/*.java src/com/ibm/test/compression/*.java
javac -d classes -classpath classes src/com/ibm/test/normalizer/*.java src/com/ibm/test/rbbi/*.java src/com/ibm/test/rbnf/*.java src/com/ibm/test/richtext/*.java src/com/ibm/test/search/*.java src/com/ibm/test/timezone/*.java src/com/ibm/test/translit/*.java
javac -d classes -classpath classes src/com/ibm/icu/test/format/*.java src/com/ibm/icu/test/text/*.java
javac -d classes -classpath classes src/com/ibm/test/TestAll.java
javac -d classes -classpath classes src/com/ibm/richtext/textapps/*.java src/com/ibm/richtext/textapps/resources/*.java src/com/ibm/richtext/demo/*.java src/com/ibm/richtext/swingdemo/*.java
javac -d classes -classpath classes src/com/ibm/richtext/demo/*.java src/com/ibm/icu/dev/demo/calendar/*.java src/com/ibm/icu/dev/demo/holiday/*.java src/com/ibm/icu/dev/demo/rbbi/*.java src/com/ibm/icu/dev/demo/rbnf/*.java src/com/ibm/icu/dev/demo/translit/*.java src/com/ibm/icu/dev/demo/impl/*.java
javac -d classes -classpath classes src/com/ibm/richtext/test/*.java src/com/ibm/richtext/test/unit/*.java
mkdir doc
javadoc -d doc -sourcepath src com.ibm.util com.ibm.util.resources com.ibm.text com.ibm.text.resources com.ibm.tools.translit com.ibm.tools.compression com.ibm.tools.normalizer com.ibm.tools.rbbi com.ibm.math com.ibm.textlayout com.ibm.textlayout.attributes com.ibm.richtext.awtui com.ibm.richtext.print com.ibm.richtext.styledtext com.ibm.richtext.swingui com.ibm.richtext.textapps com.ibm.richtext.textformat com.ibm.richtext.textpanel com.ibm.richtext.uiimpl com.ibm.richtext.uiimpl.resources com.ibm.richtext.textapps.resources
javadoc -d doc -sourcepath src com.ibm.icu.util com.ibm.icu.impl.data com.ibm.icu.tool.translit com.ibm.icu.tool.compression com.ibm.icu.tool.normalizer com.ibm.icu.tool.rbbi com.ibm.icu.math com.ibm.richtext.textlayout com.ibm.richtext.textlayout.attributes com.ibm.richtext.awtui com.ibm.richtext.print com.ibm.richtext.styledtext com.ibm.richtext.swingui com.ibm.richtext.textapps com.ibm.richtext.textformat com.ibm.richtext.textpanel com.ibm.richtext.uiimpl com.ibm.richtext.uiimpl.resources com.ibm.richtext.textapps.resources

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/calendar/CalendarApp.java,v $
* $Date: 2000/05/12 23:21:23 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:04:54 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
package com.ibm.demo.calendar;
package com.ibm.icu.dev.demo.calendar;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
@ -21,8 +21,9 @@ import java.awt.event.*;
import java.net.*;
import java.io.*;
import com.ibm.util.*;
import com.ibm.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* CalendarApp demonstrates how Calendar works.

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/calendar/CalendarCalc.java,v $
* $Date: 2001/10/30 02:42:50 $
* $Revision: 1.9 $
* $Date: 2002/02/16 03:04:54 $
* $Revision: 1.10 $
*
*****************************************************************************************
*/
package com.ibm.demo.calendar;
package com.ibm.icu.dev.demo.calendar;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.util.Date;
@ -21,19 +21,20 @@ import java.awt.*;
import java.awt.event.*;
//import java.text.DateFormat;
import com.ibm.text.DateFormat;
import com.ibm.icu.text.DateFormat;
import java.text.ParsePosition;
//import java.util.Calendar;
import com.ibm.util.Calendar;
import com.ibm.icu.util.Calendar;
//import java.util.GregorianCalendar;
import com.ibm.util.GregorianCalendar;
import com.ibm.icu.util.GregorianCalendar;
//import java.util.TimeZone;
import com.ibm.util.TimeZone;
import com.ibm.icu.util.TimeZone;
import java.util.Locale;
import com.ibm.util.*;
import com.ibm.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import javax.swing.*;

View File

@ -5,41 +5,41 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/calendar/CalendarFrame.java,v $
* $Date: 2000/10/19 00:27:16 $
* $Revision: 1.8 $
* $Date: 2002/02/16 03:04:54 $
* $Revision: 1.9 $
*
*****************************************************************************************
*/
package com.ibm.demo.calendar;
package com.ibm.icu.dev.demo.calendar;
import com.ibm.demo.*;
import com.ibm.util.Calendar;
import com.ibm.util.HebrewCalendar;
import com.ibm.util.BuddhistCalendar;
import com.ibm.util.JapaneseCalendar;
import com.ibm.util.IslamicCalendar;
import com.ibm.text.SimpleDateFormat;
import com.ibm.icu.dev.demo.*;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.HebrewCalendar;
import com.ibm.icu.util.BuddhistCalendar;
import com.ibm.icu.util.JapaneseCalendar;
import com.ibm.icu.util.IslamicCalendar;
import com.ibm.icu.text.SimpleDateFormat;
//import java.util.SimpleTimeZone;
import com.ibm.util.SimpleTimeZone;
import com.ibm.icu.util.SimpleTimeZone;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
//import java.text.DateFormat;
import com.ibm.text.DateFormat;
import com.ibm.icu.text.DateFormat;
import java.text.MessageFormat;
//import java.util.Calendar;
import com.ibm.util.Calendar;
import com.ibm.icu.util.Calendar;
import java.util.Date;
//import java.util.GregorianCalendar;
import com.ibm.util.GregorianCalendar;
import com.ibm.icu.util.GregorianCalendar;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
//import java.util.TimeZone;
import com.ibm.util.TimeZone;
import com.ibm.icu.util.TimeZone;
/**
* A Frame is a top-level window with a title. The default layout for a frame
@ -248,8 +248,8 @@ class CalendarFrame extends Frame
DateFormat f = DateFormat.getDateTimeInstance(
calendars[i], DateFormat.MEDIUM, -1,
locales[displayMenu.getSelectedIndex()]);
if (f instanceof com.ibm.text.SimpleDateFormat) {
com.ibm.text.SimpleDateFormat f1 = (com.ibm.text.SimpleDateFormat) f;
if (f instanceof com.ibm.icu.text.SimpleDateFormat) {
com.ibm.icu.text.SimpleDateFormat f1 = (com.ibm.icu.text.SimpleDateFormat) f;
f1.applyPattern("MMMM, yyyy G");
f1.setTimeZone(new SimpleTimeZone(0, "UTC"));
//hey {al} -

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/calendar/CalendarPanel.java,v $
* $Date: 2001/09/08 01:38:55 $
* $Revision: 1.7 $
* $Date: 2002/02/16 03:04:54 $
* $Revision: 1.8 $
*
*****************************************************************************************
*/
package com.ibm.demo.calendar;
package com.ibm.icu.dev.demo.calendar;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
@ -23,15 +23,16 @@ import java.net.*;
import java.io.*;
//import java.text.DateFormat;
import com.ibm.text.DateFormat;
import com.ibm.icu.text.DateFormat;
//import java.util.SimpleTimeZone;
import com.ibm.util.SimpleTimeZone;
import com.ibm.icu.util.SimpleTimeZone;
//import java.util.*;
import java.util.Date;
import java.util.Locale;
import com.ibm.util.*;
import com.ibm.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
class CalendarPanel extends Canvas {

View File

@ -5,14 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/holiday/HolidayBorderPanel.java,v $
* $Date: 2001/10/30 02:42:50 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:04:55 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.demo.holiday;
package com.ibm.icu.dev.demo.holiday;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.awt.*;
/**

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/holiday/HolidayCalendarDemo.java,v $
* $Date: 2001/10/30 02:42:49 $
* $Revision: 1.7 $
* $Date: 2002/02/16 03:04:55 $
* $Revision: 1.8 $
*
*****************************************************************************************
*/
package com.ibm.demo.holiday;
package com.ibm.icu.dev.demo.holiday;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
@ -22,15 +22,15 @@ import java.net.*;
import java.io.*;
//import java.text.SimpleDateFormat;
import com.ibm.text.SimpleDateFormat;
import com.ibm.icu.text.SimpleDateFormat;
import java.text.DateFormatSymbols;
//import java.util.SimpleTimeZone;
import com.ibm.util.SimpleTimeZone;
import com.ibm.icu.util.SimpleTimeZone;
import java.util.Locale;
import java.util.Vector;
import java.util.Date;
import com.ibm.util.*;
import com.ibm.icu.util.*;
/**
* CalendarDemo demonstrates how Calendar works.
@ -440,7 +440,7 @@ public class HolidayCalendarDemo extends DemoApplet
repaint();
}
public com.ibm.util.Calendar getCalendar() {
public com.ibm.icu.util.Calendar getCalendar() {
return fCalendar;
}

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/AppletFrame.java,v $
* $Date: 2001/12/03 17:49:03 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:04:56 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
package com.ibm.icu.demo.components;
package com.ibm.icu.dev.demo.impl;
import java.applet.*;
import java.net.URL;
import java.util.Enumeration;
@ -37,7 +37,7 @@ import java.io.IOException;
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: AppletFrame.java,v $ $Revision: 1.3 $ $Date: 2001/12/03 17:49:03 $
* @version $RCSfile: AppletFrame.java,v $ $Revision: 1.4 $ $Date: 2002/02/16 03:04:56 $
*/
public class AppletFrame extends Frame implements AppletStub, AppletContext {

View File

@ -5,13 +5,13 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/DemoApplet.java,v $
* $Date: 2001/10/30 02:42:50 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:04:56 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.demo;
package com.ibm.icu.dev.demo;
import java.applet.Applet;
import java.util.Locale;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/DemoTextBox.java,v $
* $Date: 2000/03/10 03:47:42 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:04:56 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.demo;
package com.ibm.icu.dev.demo;
import java.text.BreakIterator;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/DemoUtility.java,v $
* $Date: 2001/10/30 02:42:50 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:04:56 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
package com.ibm.demo;
package com.ibm.icu.dev.demo;
import java.awt.*;
import java.lang.*;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/DumbTextComponent.java,v $
* $Date: 2001/11/29 17:28:37 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:04:57 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.icu.demo.components;
package com.ibm.icu.dev.demo.impl;
import java.awt.*;
import java.awt.event.*;
import java.text.*;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/impl/Selection.java,v $
* $Date: 2001/11/28 19:27:09 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:04:57 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.icu.demo.components;
package com.ibm.icu.dev.demo.impl;
import java.text.*;
public final class Selection {

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbbi/BreakIteratorRules_en_US_DEMO.java,v $
* $Date: 2001/02/20 22:50:12 $
* $Revision: 1.6 $
* $Date: 2002/02/16 03:04:57 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
package com.ibm.text.resources;
package com.ibm.icu.impl.data;
import java.util.ListResourceBundle;
import java.net.URL;
@ -208,7 +208,7 @@ public class BreakIteratorRules_en_US_DEMO extends ListResourceBundle {
// these two resources specify the pathnames of the dictionary files to
// use for word breaking and line breaking. Both currently refer to
// a file called english.dict placed in com\ibm\text\resources
// a file called english.dict placed in com.ibm.icu.impl.data
// somewhere in the class path. It's important to note that
// english.dict was created for testing purposes only, and doesn't
// come anywhere close to being an exhaustive dictionary of English

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbbi/DBBIDemo.java,v $
* $Date: 2001/11/12 23:44:44 $
* $Revision: 1.9 $
* $Date: 2002/02/16 03:04:58 $
* $Revision: 1.10 $
*
*****************************************************************************************
*/
package com.ibm.demo.rbbi;
package com.ibm.icu.dev.demo.rbbi;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.WindowEvent;
@ -25,7 +25,7 @@ import javax.swing.JScrollPane;
import javax.swing.BorderFactory;
import java.util.*;
import com.ibm.text.BreakIterator;
import com.ibm.icu.text.BreakIterator;
public class DBBIDemo extends DemoApplet
{

View File

@ -5,14 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbbi/RBBIDemo.java,v $
* $Date: 2001/11/12 23:44:44 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:04:58 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.demo.rbbi;
package com.ibm.icu.dev.demo.rbbi;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.WindowEvent;
@ -24,7 +24,7 @@ import javax.swing.JScrollPane;
import javax.swing.BorderFactory;
import java.util.*;
import com.ibm.text.BreakIterator;
import com.ibm.icu.text.BreakIterator;
public class RBBIDemo extends DemoApplet
{

View File

@ -5,14 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbbi/TextBoundDemo.java,v $
* $Date: 2001/11/12 23:44:44 $
* $Revision: 1.6 $
* $Date: 2002/02/16 03:04:58 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
package com.ibm.demo.rbbi;
package com.ibm.icu.dev.demo.rbbi;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.ItemListener;
@ -24,7 +24,7 @@ import javax.swing.JScrollPane;
import javax.swing.BorderFactory;
import java.util.*;
import com.ibm.text.BreakIterator;
import com.ibm.icu.text.BreakIterator;
public class TextBoundDemo extends DemoApplet
{

View File

@ -5,14 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbnf/RbnfDemo.java,v $
* $Date: 2000/03/10 03:47:43 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:04:59 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.demo.rbnf;
package com.ibm.icu.dev.demo.rbnf;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
@ -21,7 +21,7 @@ import java.text.BreakIterator;
import java.text.ParsePosition;
import java.util.Locale;
import com.ibm.text.RuleBasedNumberFormat;
import com.ibm.icu.text.RuleBasedNumberFormat;
public class RbnfDemo extends DemoApplet {
/**

View File

@ -5,14 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/rbnf/RbnfSampleRuleSets.java,v $
* $Date: 2000/03/10 03:47:44 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:04:59 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.demo.rbnf;
package com.ibm.icu.dev.demo.rbnf;
import com.ibm.demo.*;
import com.ibm.icu.dev.demo.*;
import java.util.Locale;
/**
@ -28,7 +28,7 @@ import java.util.Locale;
* please tell us!
*
* @author Richard Gillam
* @version $Version$ $Date: 2000/03/10 03:47:44 $
* @version $Version$ $Date: 2002/02/16 03:04:59 $
*/
public class RbnfSampleRuleSets {
/**

View File

@ -5,18 +5,19 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/translit/Demo.java,v $
* $Date: 2001/11/29 17:28:38 $
* $Revision: 1.11 $
* $Date: 2002/02/16 03:05:00 $
* $Revision: 1.12 $
*
*****************************************************************************************
*/
package com.ibm.demo.translit;
package com.ibm.icu.dev.demo.translit;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import com.ibm.icu.demo.components.*;
import com.ibm.text.*;
import com.ibm.icu.dev.demo.impl.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* A frame that allows the user to experiment with keyboard
@ -27,7 +28,7 @@ import com.ibm.text.*;
* <p>Copyright (c) IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: Demo.java,v $ $Revision: 1.11 $ $Date: 2001/11/29 17:28:38 $
* @version $RCSfile: Demo.java,v $ $Revision: 1.12 $ $Date: 2002/02/16 03:05:00 $
*/
public class Demo extends Frame {

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/translit/DemoApplet.java,v $
* $Date: 2001/11/28 19:27:09 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:05:00 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
package com.ibm.demo.translit;
package com.ibm.icu.dev.demo.translit;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import com.ibm.icu.demo.components.AppletFrame;
import com.ibm.icu.dev.demo.impl.AppletFrame;
/**
* A simple Applet that shows a button. When pressed, the button
@ -24,7 +24,7 @@ import com.ibm.icu.demo.components.AppletFrame;
* <p>Copyright (c) IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: DemoApplet.java,v $ $Revision: 1.5 $ $Date: 2001/11/28 19:27:09 $
* @version $RCSfile: DemoApplet.java,v $ $Revision: 1.6 $ $Date: 2002/02/16 03:05:00 $
*/
public class DemoApplet extends Applet {

View File

@ -5,27 +5,28 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/demo/translit/TransliteratingTextComponent.java,v $
* $Date: 2001/11/28 22:24:29 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:00 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.icu.demo.components;
package com.ibm.icu.dev.demo.impl;
import java.awt.*;
import java.awt.event.*;
import java.text.*;
import java.awt.datatransfer.*;
import com.ibm.text.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* A subclass of {@link DumbTextComponent} that passes key events through
* a {@link com.ibm.text.Transliterator}.
* a {@link com.ibm.icu.text.Transliterator}.
*
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: TransliteratingTextComponent.java,v $ $Revision: 1.2 $ $Date: 2001/11/28 22:24:29 $
* @version $RCSfile: TransliteratingTextComponent.java,v $ $Revision: 1.3 $ $Date: 2002/02/16 03:05:00 $
*/
public class TransliteratingTextComponent extends DumbTextComponent {
@ -199,9 +200,9 @@ public class TransliteratingTextComponent extends DumbTextComponent {
}
/**
* Set the {@link com.ibm.text.Transliterator} and direction to
* Set the {@link com.ibm.icu.text.Transliterator} and direction to
* use to process incoming <code>KeyEvent</code>s.
* @param t the {@link com.ibm.text.Transliterator} to use
* @param t the {@link com.ibm.icu.text.Transliterator} to use
*/
public void setTransliterator(Transliterator t) {
/*
@ -219,7 +220,7 @@ public class TransliteratingTextComponent extends DumbTextComponent {
/**
* Reset the start point at which transliteration begins. This
* needs to be done when the user moves the cursor or when the
* current {@link com.ibm.text.Transliterator} is changed.
* current {@link com.ibm.icu.text.Transliterator} is changed.
*/
/*
private void resetTransliterationStart() {

View File

@ -5,13 +5,13 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/TestAll.java,v $
* $Date: 2002/02/08 01:12:45 $
* $Revision: 1.19 $
* $Date: 2002/02/16 03:05:01 $
* $Revision: 1.20 $
*
*****************************************************************************************
*/
package com.ibm.test;
import com.ibm.test.TestFmwk;
package com.ibm.icu.dev.test;
import com.ibm.icu.dev.test.TestFmwk;
import java.text.*;
import java.util.*;
@ -26,133 +26,129 @@ public class TestAll extends TestFmwk {
}
public void TestBigNumberFormat() throws Exception{
run(new com.ibm.test.bnf.BigNumberFormatTest());
run(new com.ibm.icu.dev.test.bnf.BigNumberFormatTest());
}
public void TestCompression() throws Exception{
run(new TestFmwk[] {
new com.ibm.test.compression.DecompressionTest(),
new com.ibm.test.compression.ExhaustiveTest()
new com.ibm.icu.dev.test.compression.DecompressionTest(),
new com.ibm.icu.dev.test.compression.ExhaustiveTest()
});
}
public void TestNormalizer() throws Exception{
run(new TestFmwk[] {
new com.ibm.test.normalizer.BasicTest(),
new com.ibm.test.normalizer.ExhaustiveTest(),
new com.ibm.test.normalizer.ConformanceTest(),
new com.ibm.icu.dev.test.normalizer.BasicTest(),
new com.ibm.icu.dev.test.normalizer.ExhaustiveTest(),
new com.ibm.icu.dev.test.normalizer.ConformanceTest(),
});
}
public void TestRuleBasedNumberFormat() throws Exception {
run(new TestFmwk[] {
new com.ibm.test.rbnf.RbnfTest(),
new com.ibm.test.rbnf.RbnfRoundTripTest()
new com.ibm.icu.dev.test.rbnf.RbnfTest(),
new com.ibm.icu.dev.test.rbnf.RbnfRoundTripTest()
});
}
public void TestRuleBasedBreakIterator() throws Exception {
run(new TestFmwk[] {
new com.ibm.test.rbbi.SimpleBITest(),
new com.ibm.test.rbbi.BreakIteratorTest(),
new com.ibm.test.rbbi.RBBITest(),
new com.ibm.test.rbbi.RBBIAPITest()
new com.ibm.icu.dev.test.rbbi.SimpleBITest(),
new com.ibm.icu.dev.test.rbbi.BreakIteratorTest(),
new com.ibm.icu.dev.test.rbbi.RBBITest(),
new com.ibm.icu.dev.test.rbbi.RBBIAPITest()
});
}
public void TestTranslit() throws Exception {
run(new TestFmwk[] {
new com.ibm.test.translit.TransliteratorTest(),
new com.ibm.test.translit.UnicodeSetTest(),
new com.ibm.test.translit.UnicodeFilterLogicTest(),
new com.ibm.test.translit.CompoundTransliteratorTest(),
new com.ibm.test.translit.UnicodeToHexTransliteratorTest(),
new com.ibm.test.translit.HexToUnicodeTransliteratorTest(),
new com.ibm.test.translit.JamoTest(),
new com.ibm.test.translit.ErrorTest(),
new com.ibm.test.translit.RoundTripTest(),
new com.ibm.test.translit.ReplaceableTest()
new com.ibm.icu.dev.test.translit.TransliteratorTest(),
new com.ibm.icu.dev.test.translit.UnicodeSetTest(),
new com.ibm.icu.dev.test.translit.UnicodeFilterLogicTest(),
new com.ibm.icu.dev.test.translit.CompoundTransliteratorTest(),
new com.ibm.icu.dev.test.translit.UnicodeToHexTransliteratorTest(),
new com.ibm.icu.dev.test.translit.HexToUnicodeTransliteratorTest(),
new com.ibm.icu.dev.test.translit.JamoTest(),
new com.ibm.icu.dev.test.translit.ErrorTest(),
new com.ibm.icu.dev.test.translit.RoundTripTest(),
new com.ibm.icu.dev.test.translit.ReplaceableTest()
});
}
public void TestSearch() throws Exception {
run(new com.ibm.test.search.SearchTest());
run(new com.ibm.icu.dev.test.search.SearchTest());
}
public void TestRichEdit() throws Exception {
run(new com.ibm.test.richtext.TestAll());
}
public void TestArabicShaping() throws Exception {
run(new com.ibm.icu.test.text.ArabicShapingRegTest());
run(new com.ibm.icu.dev.test.text.ArabicShapingRegTest());
}
public void TestCalendar() throws Exception {
run(new TestFmwk[] {
new com.ibm.test.calendar.AstroTest(),
new com.ibm.test.calendar.CalendarRegression(),
new com.ibm.test.calendar.CompatibilityTest(),
new com.ibm.test.calendar.HebrewTest(),
new com.ibm.test.calendar.IBMCalendarTest(),
new com.ibm.test.calendar.IslamicTest(),
new com.ibm.test.calendar.ChineseTest()
new com.ibm.icu.dev.test.calendar.AstroTest(),
new com.ibm.icu.dev.test.calendar.CalendarRegression(),
new com.ibm.icu.dev.test.calendar.CompatibilityTest(),
new com.ibm.icu.dev.test.calendar.HebrewTest(),
new com.ibm.icu.dev.test.calendar.IBMCalendarTest(),
new com.ibm.icu.dev.test.calendar.IslamicTest(),
new com.ibm.icu.dev.test.calendar.ChineseTest()
});
}
public void TestTimeZone() throws Exception {
run(new TestFmwk[] {
new com.ibm.test.timezone.TimeZoneTest(),
new com.ibm.test.timezone.TimeZoneRegression(),
new com.ibm.test.timezone.TimeZoneBoundaryTest()
new com.ibm.icu.dev.test.timezone.TimeZoneTest(),
new com.ibm.icu.dev.test.timezone.TimeZoneRegression(),
new com.ibm.icu.dev.test.timezone.TimeZoneBoundaryTest()
});
}
public void TestCharacter() throws Exception {
run(new TestFmwk[] {
new com.ibm.icu.test.text.UCharacterTest(),
new com.ibm.icu.test.text.UTF16Test()
new com.ibm.icu.dev.test.text.UCharacterTest(),
new com.ibm.icu.dev.test.text.UTF16Test()
});
}
public void TestTrie() throws Exception {
run(new TestFmwk[] {
new com.ibm.icu.test.util.TrieTest()
new com.ibm.icu.dev.test.util.TrieTest()
});
}
public void TestUScript() throws Exception {
run( new TestFmwk[] {
new com.ibm.icu.test.text.TestUScript(),
new com.ibm.icu.dev.test.text.TestUScript(),
});
}
public void TestNumberFormat() throws Exception {
run(new TestFmwk[] {
new com.ibm.icu.test.format.IntlTestNumberFormat(),
new com.ibm.icu.test.format.IntlTestNumberFormatAPI(),
new com.ibm.icu.test.format.NumberFormatTest(),
new com.ibm.icu.test.format.NumberFormatRoundTripTest(),
new com.ibm.icu.test.format.NumberRegression(),
new com.ibm.icu.test.format.NumberFormatRegressionTest(),
new com.ibm.icu.test.format.IntlTestDecimalFormatAPI(),
new com.ibm.icu.test.format.IntlTestDecimalFormatAPIC(),
new com.ibm.icu.test.format.IntlTestDecimalFormatSymbols(),
new com.ibm.icu.test.format.IntlTestDecimalFormatSymbolsC()
new com.ibm.icu.dev.test.format.IntlTestNumberFormat(),
new com.ibm.icu.dev.test.format.IntlTestNumberFormatAPI(),
new com.ibm.icu.dev.test.format.NumberFormatTest(),
new com.ibm.icu.dev.test.format.NumberFormatRoundTripTest(),
new com.ibm.icu.dev.test.format.NumberRegression(),
new com.ibm.icu.dev.test.format.NumberFormatRegressionTest(),
new com.ibm.icu.dev.test.format.IntlTestDecimalFormatAPI(),
new com.ibm.icu.dev.test.format.IntlTestDecimalFormatAPIC(),
new com.ibm.icu.dev.test.format.IntlTestDecimalFormatSymbols(),
new com.ibm.icu.dev.test.format.IntlTestDecimalFormatSymbolsC()
});
}
public void TestDateFormat() throws Exception {
run(new TestFmwk[] {
new com.ibm.icu.test.format.DateFormatMiscTests(),
new com.ibm.icu.test.format.DateFormatRegressionTest(),
new com.ibm.icu.test.format.DateFormatRoundTripTest(),
new com.ibm.icu.test.format.DateFormatTest(),
new com.ibm.icu.test.format.IntlTestDateFormat(),
new com.ibm.icu.test.format.IntlTestDateFormatAPI(),
new com.ibm.icu.test.format.IntlTestDateFormatAPIC(),
new com.ibm.icu.test.format.IntlTestDateFormatSymbols(),
new com.ibm.icu.test.format.IntlTestSimpleDateFormatAPI(),
new com.ibm.icu.test.format.DateFormatRegressionTestJ()
new com.ibm.icu.dev.test.format.DateFormatMiscTests(),
new com.ibm.icu.dev.test.format.DateFormatRegressionTest(),
new com.ibm.icu.dev.test.format.DateFormatRoundTripTest(),
new com.ibm.icu.dev.test.format.DateFormatTest(),
new com.ibm.icu.dev.test.format.IntlTestDateFormat(),
new com.ibm.icu.dev.test.format.IntlTestDateFormatAPI(),
new com.ibm.icu.dev.test.format.IntlTestDateFormatAPIC(),
new com.ibm.icu.dev.test.format.IntlTestDateFormatSymbols(),
new com.ibm.icu.dev.test.format.IntlTestSimpleDateFormatAPI(),
new com.ibm.icu.dev.test.format.DateFormatRegressionTestJ()
});
}
}

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/TestFmwk.java,v $
* $Date: 2001/12/03 21:48:07 $
* $Revision: 1.26 $
* $Date: 2002/02/16 03:05:01 $
* $Revision: 1.27 $
*
*****************************************************************************************
*/
package com.ibm.test;
package com.ibm.icu.dev.test;
import java.lang.reflect.*;
import java.util.Hashtable;
@ -19,9 +19,9 @@ import java.util.Vector;
import java.util.Comparator;
import java.io.*;
import java.text.*;
import com.ibm.text.UTF16;
import com.ibm.util.Utility;
import com.ibm.text.UnicodeSet;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.util.Utility;
import com.ibm.icu.text.UnicodeSet;
/**

View File

@ -1,4 +1,4 @@
package com.ibm.test;
package com.ibm.icu.dev.test;
public interface TestLog {

File diff suppressed because it is too large Load Diff

View File

@ -5,19 +5,19 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/AstroTest.java,v $
* $Date: 2001/09/08 01:15:15 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:05:04 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
package com.ibm.test.calendar;
package com.ibm.icu.dev.test.calendar;
// AstroTest
import com.ibm.test.*;
import com.ibm.util.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.*;
import com.ibm.util.CalendarAstronomer.*;
import com.ibm.icu.util.CalendarAstronomer.*;
// TODO: try finding next new moon after 07/28/1984 16:00 GMT

View File

@ -1,8 +1,9 @@
package com.ibm.test.calendar;
import com.ibm.util.*;
package com.ibm.icu.dev.test.calendar;
import com.ibm.icu.util.*;
import java.util.Date;
import java.util.Locale;
import com.ibm.text.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* @test 1.32 99/11/14
@ -12,7 +13,7 @@ import com.ibm.text.*;
* 4145158 4145983 4147269 4149677 4162587 4165343 4166109 4167060 4173516
* 4174361 4177484 4197699 4209071 4288792
*/
public class CalendarRegression extends com.ibm.test.TestFmwk {
public class CalendarRegression extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new CalendarRegression().run(args);
@ -852,7 +853,7 @@ public class CalendarRegression extends com.ibm.test.TestFmwk {
// in Sun's latest change to STZ.getOffset(). I have filed a Sun bug
// against this problem.
// Re-enabled after 'porting' TZ and STZ from java.util to com.ibm.util.
// Re-enabled after 'porting' TZ and STZ from java.util to com.ibm.icu.util.
/**
* Prove that GregorianCalendar is proleptic (it used to cut off
* at 45 BC, and not have leap years before then).

View File

@ -5,22 +5,22 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/CalendarTest.java,v $
* $Date: 2000/11/30 21:54:34 $
* $Revision: 1.11 $
* $Date: 2002/02/16 03:05:05 $
* $Revision: 1.12 $
*
*****************************************************************************************
*/
package com.ibm.test.calendar;
package com.ibm.icu.dev.test.calendar;
import com.ibm.test.*;
import com.ibm.text.DateFormat;
import com.ibm.text.SimpleDateFormat;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.text.DateFormat;
import com.ibm.icu.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.Hashtable;
import java.util.Enumeration;
import com.ibm.util.*;
import com.ibm.icu.util.*;
/**
* A base class for classes that test individual Calendar subclasses.

View File

@ -3,12 +3,13 @@
* others. All Rights Reserved.
*********************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/ChineseTest.java,v $
* $Date: 2001/10/31 19:06:15 $
* $Revision: 1.8 $
* $Date: 2002/02/16 03:05:05 $
* $Revision: 1.9 $
*/
package com.ibm.test.calendar;
import com.ibm.util.*;
import com.ibm.text.*;
package com.ibm.icu.dev.test.calendar;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import java.util.Date;
import java.util.Locale;

View File

@ -1,6 +1,6 @@
package com.ibm.test.calendar;
import com.ibm.util.*;
package com.ibm.icu.dev.test.calendar;
import com.ibm.icu.util.*;
import java.util.Date;
public class ChineseTestCase extends TestCase {

View File

@ -4,14 +4,14 @@
* @summary test for Calendar
*/
package com.ibm.test.calendar;
import com.ibm.util.*;
package com.ibm.icu.dev.test.calendar;
import com.ibm.icu.util.*;
import java.util.Date;
import java.util.Locale;
import java.text.*;
import java.io.*;
public class CompatibilityTest extends com.ibm.test.TestFmwk {
public class CompatibilityTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String argv[]) throws Exception {
new CompatibilityTest().run(argv);
@ -83,8 +83,8 @@ public class CompatibilityTest extends com.ibm.test.TestFmwk {
new GregorianCalendar(TimeZone.getTimeZone("UTC"));
final int EPOCH_JULIAN = 2440588;
final long ONE_DAY = 24*60*60*1000L;
com.ibm.text.SimpleDateFormat fmt =
new com.ibm.text.SimpleDateFormat("EEE MMM dd yyyy G");
com.ibm.icu.text.SimpleDateFormat fmt =
new com.ibm.icu.text.SimpleDateFormat("EEE MMM dd yyyy G");
/*HH:mm:ss.SSS z*/
for (int type=0; type<2; ++type) {

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/HebrewTest.java,v $
* $Date: 2000/11/18 00:17:58 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:06 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
package com.ibm.test.calendar;
package com.ibm.icu.dev.test.calendar;
import com.ibm.test.*;
import com.ibm.util.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.*;
import java.util.Locale;
/**

View File

@ -4,13 +4,13 @@
* others. All Rights Reserved.
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/IBMCalendarTest.java,v $
* $Date: 2001/10/30 02:42:49 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:05:06 $
* $Revision: 1.6 $
*******************************************************************************
*/
package com.ibm.test.calendar;
import com.ibm.test.TestFmwk;
import com.ibm.util.*;
package com.ibm.icu.dev.test.calendar;
import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.util.*;
import java.text.*;
import java.util.Date;
import java.util.Locale;

View File

@ -5,17 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/IslamicTest.java,v $
* $Date: 2000/11/18 00:17:58 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:06 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
package com.ibm.test.calendar;
package com.ibm.icu.dev.test.calendar;
import com.ibm.test.*;
import com.ibm.icu.dev.test.*;
import java.util.*;
import java.text.*;
import com.ibm.util.*;
import com.ibm.icu.util.*;
/**
* Tests for the <code>IslamicCalendar</code> class.

View File

@ -5,18 +5,18 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/calendar/TestCase.java,v $
* $Date: 2000/11/18 00:17:58 $
* $Revision: 1.6 $
* $Date: 2002/02/16 03:05:07 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
package com.ibm.test.calendar;
package com.ibm.icu.dev.test.calendar;
import com.ibm.test.*;
import com.ibm.util.Calendar;
import com.ibm.util.GregorianCalendar;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.GregorianCalendar;
import java.util.Date;
import com.ibm.util.SimpleTimeZone;
import com.ibm.icu.util.SimpleTimeZone;
import java.util.Locale;
/**

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/compression/DecompressionTest.java,v $
* $Date: 2000/03/10 03:47:45 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:07 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.test.compression;
package com.ibm.icu.dev.test.compression;
import com.ibm.text.UnicodeCompressor;
import com.ibm.text.UnicodeDecompressor;
import com.ibm.test.TestFmwk;
import com.ibm.icu.text.UnicodeCompressor;
import com.ibm.icu.text.UnicodeDecompressor;
import com.ibm.icu.dev.test.TestFmwk;
public class DecompressionTest extends TestFmwk {
public static void main(String[] args) throws Exception {

View File

@ -5,17 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/compression/ExhaustiveTest.java,v $
* $Date: 2001/09/08 01:16:25 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:05:07 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.test.compression;
package com.ibm.icu.dev.test.compression;
import com.ibm.text.UnicodeCompressor;
import com.ibm.text.UnicodeDecompressor;
import com.ibm.icu.text.UnicodeCompressor;
import com.ibm.icu.text.UnicodeDecompressor;
import java.util.Random;
import com.ibm.test.TestFmwk;
import com.ibm.icu.dev.test.TestFmwk;
public class ExhaustiveTest extends TestFmwk {
public static void main(String args[]) throws Exception {

View File

@ -5,19 +5,20 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/BigNumberFormatTest.java,v $
* $Date: 2001/10/19 12:47:42 $
* $Revision: 1.11 $
* $Date: 2002/02/16 03:05:04 $
* $Revision: 1.12 $
*
*****************************************************************************************
*/
package com.ibm.test.bnf;
package com.ibm.icu.dev.test.bnf;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import java.text.ParseException;
import java.util.*;
import java.math.BigInteger;
import com.ibm.util.Utility;
import com.ibm.icu.util.Utility;
/**
* @test
@ -164,17 +165,17 @@ public class BigNumberFormatTest extends TestFmwk {
DecimalFormatSymbols US = new DecimalFormatSymbols(Locale.US);
/*For ICU compatibility [Richard/GCL]*/
expect(NumberFormat.getScientificInstance(Locale.US),
new Number[] { new com.ibm.math.BigDecimal("12345.678901"),
new Number[] { new com.ibm.icu.math.BigDecimal("12345.678901"),
},
"1.2345678901E4");
expect(new DecimalFormat("##0.####E0", US),
new Number[] { new com.ibm.math.BigDecimal("12345.4999"),
new com.ibm.math.BigDecimal("12344.5001"),
new Number[] { new com.ibm.icu.math.BigDecimal("12345.4999"),
new com.ibm.icu.math.BigDecimal("12344.5001"),
},
"12.345E3");
expect(new DecimalFormat("##0.####E0", US),
new Number[] { new com.ibm.math.BigDecimal("12345.5000"),
new com.ibm.math.BigDecimal("12346.5000"),
new Number[] { new com.ibm.icu.math.BigDecimal("12345.5000"),
new com.ibm.icu.math.BigDecimal("12346.5000"),
},
"12.346E3");
}
@ -328,7 +329,7 @@ public class BigNumberFormatTest extends TestFmwk {
private static String showNumber(Number n) {
String cls = n.getClass().getName();
if (!(n instanceof com.ibm.math.BigDecimal
if (!(n instanceof com.ibm.icu.math.BigDecimal
|| n instanceof java.math.BigDecimal)) {
int i = cls.lastIndexOf('.');
cls = cls.substring(i+1);
@ -413,7 +414,7 @@ public class BigNumberFormatTest extends TestFmwk {
for (int i=0; i<DATA.length; i+=2) {
String input = DATA[i];
String exp = DATA[i+1];
com.ibm.math.BigDecimal bd = new com.ibm.math.BigDecimal(input);
com.ibm.icu.math.BigDecimal bd = new com.ibm.icu.math.BigDecimal(input);
String output = fmt.format(bd);
if (output.equals(exp)) {
logln("input=" + input + " num=" + bd + " output=" + output);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/DateFormatMiscTests.java,v $
* $Date: 2001/10/29 12:49:02 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:05:08 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
@ -15,10 +15,11 @@
* Source File: $ICU4CRoot/source/test/intltest/miscdtfm.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.text.FieldPosition;
import java.text.ParseException;
import java.util.Locale;
@ -27,7 +28,7 @@ import java.util.Date;
/**
* Performs miscellaneous tests for DateFormat, SimpleDateFormat, DateFormatSymbols
**/
public class DateFormatMiscTests extends com.ibm.test.TestFmwk {
public class DateFormatMiscTests extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception{
new DateFormatMiscTests().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/DateFormatRegressionTest.java,v $
* $Date: 2001/10/23 13:08:50 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:08 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
@ -15,10 +15,11 @@
* Source File: $ICU4CRoot/source/test/intltest/dtfmrgts.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Date;
import java.util.Locale;
import java.util.ResourceBundle;
@ -31,7 +32,7 @@ import java.io.*;
/**
* Performs regression test for DateFormat
**/
public class DateFormatRegressionTest extends com.ibm.test.TestFmwk {
public class DateFormatRegressionTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception{
new DateFormatRegressionTest().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/DateFormatRegressionTestJ.java,v $
* $Date: 2001/10/23 13:10:05 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:08 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
@ -14,17 +14,18 @@
* New added, 2001-10-17 [Jing/GCL]
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Date;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Locale;
import java.text.FieldPosition;
public class DateFormatRegressionTestJ extends com.ibm.test.TestFmwk {
public class DateFormatRegressionTestJ extends com.ibm.icu.dev.test.TestFmwk {
static final String TIME_STRING = "2000/11/17 08:01:00";
static final long UTC_LONG = 974476860000L;

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/DateFormatRoundTripTest.java,v $
* $Date: 2001/11/06 11:07:16 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:08 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -15,10 +15,11 @@
* Source File: $ICU4CRoot/source/test/intltest/dtfmtrtts.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.util.Date;
import java.util.Random;
@ -28,7 +29,7 @@ import java.text.ParseException;
/**
* Performs round-trip tests for DateFormat
**/
public class DateFormatRoundTripTest extends com.ibm.test.TestFmwk {
public class DateFormatRoundTripTest extends com.ibm.icu.dev.test.TestFmwk {
public boolean INFINITE = false;
public boolean quick = true;
private SimpleDateFormat dateFormat;

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/DateFormatTest.java,v $
* $Date: 2001/12/07 17:32:27 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:05:09 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
@ -15,17 +15,18 @@
* Source File: $ICU4CRoot/source/test/intltest/dtfmttst.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Date;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Locale;
import java.text.FieldPosition;
public class DateFormatTest extends com.ibm.test.TestFmwk {
public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new DateFormatTest().run(args);

View File

@ -1,7 +1,7 @@
/***************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDateFormat.java,v $
* $Date: 2001/10/23 13:11:35 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:09 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
@ -27,17 +27,18 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.text.FieldPosition;
import java.text.ParseException;
import java.util.Locale;
import java.util.Random;
import java.util.Date;
public class IntlTestDateFormat extends com.ibm.test.TestFmwk {
public class IntlTestDateFormat extends com.ibm.icu.dev.test.TestFmwk {
// Values in milliseconds (== Date)
private static final long ONESECOND = 1000;
private static final long ONEMINUTE = 60 * ONESECOND;

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDateFormatAPI.java,v $
* $Date: 2001/11/21 19:26:09 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:05:09 $
* $Revision: 1.5 $
*
*****************************************************************************************
**/
@ -27,17 +27,18 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.util.*;
import com.ibm.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import java.util.Locale;
import java.util.Date;
import java.text.ParsePosition;
import java.text.FieldPosition;
import java.text.ParseException;
public class IntlTestDateFormatAPI extends com.ibm.test.TestFmwk
public class IntlTestDateFormatAPI extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestDateFormatAPI().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDateFormatAPIC.java,v $
* $Date: 2001/10/19 11:43:37 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:10 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
@ -15,10 +15,11 @@
* Source File: $ICU4CRoot/source/test/intltest/dtfmapts.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Date;
import java.text.FieldPosition;
import java.text.ParsePosition;
@ -28,7 +29,7 @@ import java.text.ParsePosition;
* try to test the full functionality. It just calls each function in the class and
* verifies that it works on a basic level.
*/
public class IntlTestDateFormatAPIC extends com.ibm.test.TestFmwk {
public class IntlTestDateFormatAPIC extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new IntlTestDateFormatAPIC().run(args);

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDateFormatSymbols.java,v $
* $Date: 2001/10/23 13:12:31 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:10 $
* $Revision: 1.3 $
*
*****************************************************************************************
**/
@ -27,13 +27,14 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
public class IntlTestDateFormatSymbols extends com.ibm.test.TestFmwk
public class IntlTestDateFormatSymbols extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestDateFormatSymbols().run(args);

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDecimalFormatAPI.java,v $
* $Date: 2001/10/19 12:09:26 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:10 $
* $Revision: 1.2 $
*
*****************************************************************************************
**/
@ -27,16 +27,17 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.text.ParsePosition;
import java.text.Format;
import java.text.FieldPosition;
public class IntlTestDecimalFormatAPI extends com.ibm.test.TestFmwk
public class IntlTestDecimalFormatAPI extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestDecimalFormatAPI().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDecimalFormatAPIC.java,v $
* $Date: 2001/10/19 12:10:26 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:10 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
@ -15,19 +15,20 @@
* Source File: $ICU4CRoot/source/test/intltest/dcfmapts.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.util.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.text.ParsePosition;
import java.text.Format;
import com.ibm.text.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import java.text.FieldPosition;
// This is an API test, not a unit test. It doesn't test very many cases, and doesn't
// try to test the full functionality. It just calls each function in the class and
// verifies that it works on a basic level.
public class IntlTestDecimalFormatAPIC extends com.ibm.test.TestFmwk {
public class IntlTestDecimalFormatAPIC extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new IntlTestDecimalFormatAPIC().run(args);

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDecimalFormatSymbols.java,v $
* $Date: 2001/10/23 13:12:49 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:10 $
* $Revision: 1.3 $
*
*****************************************************************************************
**/
@ -27,14 +27,15 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.text.FieldPosition;
public class IntlTestDecimalFormatSymbols extends com.ibm.test.TestFmwk
public class IntlTestDecimalFormatSymbols extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestDecimalFormatSymbols().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestDecimalFormatSymbolsC.java,v $
* $Date: 2001/10/23 13:13:25 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:11 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -15,17 +15,18 @@
* Source File: $ICU4CRoot/source/test/intltest/tsdcfmsy.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import java.text.FieldPosition;
import com.ibm.util.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import com.ibm.text.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* Tests for DecimalFormatSymbols
**/
public class IntlTestDecimalFormatSymbolsC extends com.ibm.test.TestFmwk {
public class IntlTestDecimalFormatSymbolsC extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new IntlTestDecimalFormatSymbolsC().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestNumberFormat.java,v $
* $Date: 2001/10/23 13:13:49 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:11 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -15,16 +15,17 @@
* Source File: $ICU4CRoot/source/test/intltest/tsnmfmt.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
/**
* This test does round-trip testing (format -> parse -> format -> parse -> etc.) of
* NumberFormat.
*/
public class IntlTestNumberFormat extends com.ibm.test.TestFmwk {
public class IntlTestNumberFormat extends com.ibm.icu.dev.test.TestFmwk {
public NumberFormat fNumberFormat = NumberFormat.getInstance();

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestNumberFormatAPI.java,v $
* $Date: 2001/10/23 13:14:05 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:11 $
* $Revision: 1.3 $
*
*****************************************************************************************
**/
@ -27,16 +27,17 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.text.FieldPosition;
import java.text.ParsePosition;
import java.text.ParseException;
public class IntlTestNumberFormatAPI extends com.ibm.test.TestFmwk
public class IntlTestNumberFormatAPI extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestNumberFormatAPI().run(args);

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/IntlTestSimpleDateFormatAPI.java,v $
* $Date: 2001/10/23 13:14:20 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:11 $
* $Revision: 1.3 $
*
*****************************************************************************************
**/
@ -27,10 +27,11 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.util.*;
import com.ibm.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import java.util.Locale;
import java.util.Date;
import java.text.ParsePosition;
@ -38,7 +39,7 @@ import java.text.Format;
import java.text.FieldPosition;
import java.text.ParseException;
public class IntlTestSimpleDateFormatAPI extends com.ibm.test.TestFmwk
public class IntlTestSimpleDateFormatAPI extends com.ibm.icu.dev.test.TestFmwk
{
public static void main(String[] args) throws Exception {
new IntlTestSimpleDateFormatAPI().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/NumberFormatRegressionTest.java,v $
* $Date: 2001/10/26 06:29:50 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:11 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -15,10 +15,11 @@
* Source File: $ICU4CRoot/source/test/intltest/numrgts.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.util.Date;
import java.text.ParseException;
@ -27,7 +28,7 @@ import java.io.*;
/**
* Performs regression test for MessageFormat
**/
public class NumberFormatRegressionTest extends com.ibm.test.TestFmwk {
public class NumberFormatRegressionTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception{
new NumberFormatRegressionTest().run(args);

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/NumberFormatRoundTripTest.java,v $
* $Date: 2001/10/19 12:14:56 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:12 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
@ -15,16 +15,17 @@
* Source File: $ICU4CRoot/source/test/intltest/nmfmtrt.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
/**
* Performs round-trip tests for NumberFormat
**/
public class NumberFormatRoundTripTest extends com.ibm.test.TestFmwk {
public class NumberFormatRoundTripTest extends com.ibm.icu.dev.test.TestFmwk {
public double MAX_ERROR = 1e-14;
public double max_numeric_error = 0.0;

View File

@ -4,13 +4,13 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/NumberFormatSerialTestData.java,v $
* $Date: 2001/10/26 06:30:22 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:12 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
public class NumberFormatSerialTestData {
//get Content

View File

@ -4,8 +4,8 @@
* others. All Rights Reserved. *
*******************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/NumberFormatTest.java,v $
* $Date: 2001/10/23 13:14:40 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:12 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -15,16 +15,17 @@
* Source File: $ICU4CRoot/source/test/intltest/numfmtst.cpp
**/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.util.Locale;
import java.text.ParsePosition;
import java.text.ParseException;
import java.text.FieldPosition;
public class NumberFormatTest extends com.ibm.test.TestFmwk {
public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new NumberFormatTest().run(args);

View File

@ -1,7 +1,7 @@
/*****************************************************************************************
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/NumberRegression.java,v $
* $Date: 2001/10/25 06:37:15 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:12 $
* $Revision: 1.4 $
*
*****************************************************************************************
**/
@ -35,10 +35,11 @@ attribution to Taligent may not be removed.
Taligent is a registered trademark of Taligent, Inc.
*/
package com.ibm.icu.test.format;
package com.ibm.icu.dev.test.format;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import java.math.BigDecimal;
import java.io.*;
import java.math.BigInteger;
@ -49,7 +50,7 @@ import java.text.ParseException;
import java.util.Date;
import java.util.ResourceBundle;
public class NumberRegression extends com.ibm.test.TestFmwk {
public class NumberRegression extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new NumberRegression().run(args);
@ -1742,7 +1743,7 @@ class MyNumberFormatTest extends NumberFormat {
public StringBuffer format(BigInteger number, StringBuffer toAppendTo, FieldPosition pos) {
return new StringBuffer("");
}
public StringBuffer format(com.ibm.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {
public StringBuffer format(com.ibm.icu.math.BigDecimal number, StringBuffer toAppendTo, FieldPosition pos) {
return new StringBuffer("");
}
}

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/RbnfRoundTripTest.java,v $
* $Date: 2000/03/10 03:47:47 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:16 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.test.rbnf;
package com.ibm.icu.dev.test.rbnf;
import com.ibm.text.RuleBasedNumberFormat;
import com.ibm.test.TestFmwk;
import com.ibm.icu.text.RuleBasedNumberFormat;
import com.ibm.icu.dev.test.TestFmwk;
import java.util.Locale;
import java.text.NumberFormat;

View File

@ -5,15 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/format/RbnfTest.java,v $
* $Date: 2001/11/12 20:02:46 $
* $Revision: 1.7 $
* $Date: 2002/02/16 03:05:16 $
* $Revision: 1.8 $
*
*****************************************************************************************
*/
package com.ibm.test.rbnf;
package com.ibm.icu.dev.test.rbnf;
import com.ibm.text.RuleBasedNumberFormat;
import com.ibm.test.TestFmwk;
import com.ibm.icu.text.RuleBasedNumberFormat;
import com.ibm.icu.dev.test.TestFmwk;
import java.util.Locale;
import java.text.NumberFormat;
@ -73,7 +73,7 @@ public class RbnfTest extends TestFmwk {
NumberFormat decFormat = NumberFormat.getInstance(Locale.US);
for (int j = 0; j < formatters.length; ++j) {
com.ibm.text.NumberFormat formatter = formatters[j];
com.ibm.icu.text.NumberFormat formatter = formatters[j];
logln("formatter[" + j + "]");
for (int i = 0; i < data.length; ++i) {
try {

View File

@ -5,10 +5,10 @@
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import com.ibm.text.UScript;
import com.ibm.test.TestFmwk;
import com.ibm.icu.text.UScript;
import com.ibm.icu.dev.test.TestFmwk;
import java.util.Locale;
public class TestUScript extends TestFmwk{

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/lang/UCharacterCompare.java,v $
* $Date: 2001/03/23 19:52:03 $
* $Revision: 1.6 $
* $Date: 2002/02/16 03:05:23 $
* $Revision: 1.7 $
*
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import com.ibm.text.UCharacter;
import com.ibm.text.UCharacterCategory;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UCharacterCategory;
import java.io.FileWriter;
import java.io.PrintWriter;
import java.util.Hashtable;
@ -25,7 +25,7 @@ import java.util.Enumeration;
* UCharacter
* @author Syn Wee Quek
* @since oct 06 2000
* @see com.ibm.text.UCharacter
* @see com.ibm.icu.text.UCharacter
*/
public final class UCharacterCompare

View File

@ -5,13 +5,13 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/lang/UCharacterTest.java,v $
* $Date: 2002/02/15 02:53:32 $
* $Revision: 1.22 $
* $Date: 2002/02/16 03:05:24 $
* $Revision: 1.23 $
*
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import java.io.BufferedReader;
import java.io.FileReader;
@ -19,13 +19,13 @@ import java.io.FileNotFoundException;
import java.util.Locale;
import java.io.File;
import java.util.Vector;
import com.ibm.test.TestFmwk;
import com.ibm.text.UCharacter;
import com.ibm.text.UCharacterCategory;
import com.ibm.text.UCharacterDirection;
import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UCharacterCategory;
import com.ibm.icu.lang.UCharacterDirection;
import com.ibm.icu.util.RangeValueIterator;
import com.ibm.text.UTF16;
import com.ibm.util.Utility;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.util.Utility;
/**
* Testing class for UCharacter
@ -424,7 +424,7 @@ public final class UCharacterTest extends TestFmwk
* path is provided relative to the src path, however the user could
* set a system property to change the directory path.<br>
* e.g. java -DUnicodeData="data_directory_path"
* com.ibm.test.text.UCharacterTest
* com.ibm.icu.dev.test.text.UCharacterTest
*/
public void TestUnicodeData()
{
@ -536,7 +536,7 @@ public final class UCharacterTest extends TestFmwk
errln("FAIL UnicodeData.txt not found\n" +
"Configure the system setting UnicodeData to the right path\n" +
"e.g. java -DUnicodeData=\"data_dir_path\" " +
"com.ibm.icu.test.text.UCharacterTest");
"com.ibm.icu.dev.test.text.UCharacterTest");
}
catch (Exception e)
{
@ -797,7 +797,7 @@ public final class UCharacterTest extends TestFmwk
* This method reads in SpecialCasing.txt file for testing purposes.
* A default path is provided relative to the src path, however the user
* could set a system property to change the directory path.<br>
* e.g. java -DUnicodeData="data_dir_path" com.ibm.test.text.UCharacterTest
* e.g. java -DUnicodeData="data_dir_path" com.ibm.icu.dev.test.text.UCharacterTest
*/
public void TestSpecialCasing()
{
@ -935,7 +935,7 @@ public final class UCharacterTest extends TestFmwk
errln("FAIL SpecialCasing.txt not found\n" +
"Configure the system setting UnicodeData to the right path\n" +
"e.g. java -DUnicodeData=\"data_dir_path\" " +
"com.ibm.icu.test.text.UCharacterTest");
"com.ibm.icu.dev.test.text.UCharacterTest");
}
catch (Exception e)
{

View File

@ -5,18 +5,18 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/lang/UTF16Test.java,v $
* $Date: 2002/02/08 01:13:42 $
* $Revision: 1.10 $
* $Date: 2002/02/16 03:05:24 $
* $Revision: 1.11 $
*
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import com.ibm.test.TestFmwk;
import com.ibm.text.UCharacter;
import com.ibm.text.UTF16;
import com.ibm.util.Utility;
import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.util.Utility;
/**
* Testing class for UTF16

View File

@ -5,16 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/normalizer/BasicTest.java,v $
* $Date: 2001/04/02 19:21:06 $
* $Revision: 1.8 $
* $Date: 2002/02/16 03:05:13 $
* $Revision: 1.9 $
*
*****************************************************************************************
*/
package com.ibm.test.normalizer;
package com.ibm.icu.dev.test.normalizer;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;

View File

@ -5,12 +5,13 @@
************************************************************************
*/
package com.ibm.test.normalizer;
package com.ibm.icu.dev.test.normalizer;
import java.io.*;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
public class ConformanceTest extends TestFmwk {

View File

@ -5,16 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/normalizer/Attic/ExhaustiveTest.java,v $
* $Date: 2001/09/08 01:16:35 $
* $Revision: 1.8 $
* $Date: 2002/02/16 03:05:14 $
* $Revision: 1.9 $
*
*****************************************************************************************
*/
package com.ibm.test.normalizer;
package com.ibm.icu.dev.test.normalizer;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.icu.internal.UInfo;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.impl.UInfo;
public class ExhaustiveTest extends TestFmwk
{

View File

@ -5,16 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/normalizer/TestCanonicalIterator.java,v $
* $Date: 2002/02/01 02:05:35 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:14 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.test.normalizer;
package com.ibm.icu.dev.test.normalizer;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.*;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/rbbi/BreakIteratorRules_en_US_TEST.java,v $
* $Date: 2001/02/06 22:37:58 $
* $Revision: 1.7 $
* $Date: 2002/02/16 03:05:14 $
* $Revision: 1.8 $
*
*****************************************************************************************
*/
package com.ibm.test.rbbi;
package com.ibm.icu.dev.test.rbbi;
import java.util.ListResourceBundle;
import java.net.URL;
@ -207,7 +207,7 @@ public class BreakIteratorRules_en_US_TEST extends ListResourceBundle {
// these two resources specify the pathnames of the dictionary files to
// use for word breaking and line breaking. Both currently refer to
// a file called english.dict placed in com\ibm\text\resources
// a file called english.dict placed in com.ibm.icu.impl.data
// somewhere in the class path. It's important to note that
// english.dict was created for testing purposes only, and doesn't
// come anywhere close to being an exhaustive dictionary of English

View File

@ -5,17 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/rbbi/BreakIteratorTest.java,v $
* $Date: 2001/11/06 11:20:06 $
* $Revision: 1.7 $
* $Date: 2002/02/16 03:05:15 $
* $Revision: 1.8 $
*
*****************************************************************************************
*/
package com.ibm.test.rbbi;
package com.ibm.icu.dev.test.rbbi;
import com.ibm.test.*;
import com.ibm.text.BreakIterator;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.text.BreakIterator;
import java.text.CharacterIterator;
import com.ibm.text.StringCharacterIterator;
import com.ibm.icu.text.StringCharacterIterator;
import java.util.Locale;
import java.util.Vector;
import java.util.Enumeration;

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/rbbi/RBBIAPITest.java,v $
* $Date: 2001/11/06 11:42:23 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:15 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
@ -16,9 +16,9 @@
* Source File: $ICU4CRoot/source/test/intltest/rbbiapts.cpp
**/
package com.ibm.test.rbbi;
package com.ibm.icu.dev.test.rbbi;
import com.ibm.text.RuleBasedBreakIterator;
import com.ibm.icu.text.RuleBasedBreakIterator;
import java.util.Locale;
import java.util.Vector;
import java.io.*;
@ -28,7 +28,7 @@ import java.text.StringCharacterIterator;
/**
* API Test the RuleBasedBreakIterator class
*/
public class RBBIAPITest extends com.ibm.test.TestFmwk {
public class RBBIAPITest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new RBBIAPITest().run(args);

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/rbbi/RBBITest.java,v $
* $Date: 2001/02/06 22:37:58 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:15 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.test.rbbi;
package com.ibm.icu.dev.test.rbbi;
//Regression testing of RuleBasedBreakIterator
import com.ibm.test.*;
import com.ibm.text.RuleBasedBreakIterator;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.text.RuleBasedBreakIterator;
import java.util.Locale;
import java.util.Vector;
import java.io.*;

View File

@ -5,16 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/rbbi/SimpleBITest.java,v $
* $Date: 2000/03/10 03:47:46 $
* $Revision: 1.5 $
* $Date: 2002/02/16 03:05:16 $
* $Revision: 1.6 $
*
*****************************************************************************************
*/
package com.ibm.test.rbbi;
package com.ibm.icu.dev.test.rbbi;
import java.util.Locale;
import com.ibm.text.BreakIterator;
import com.ibm.test.TestFmwk;
import com.ibm.icu.text.BreakIterator;
import com.ibm.icu.dev.test.TestFmwk;
public class SimpleBITest extends TestFmwk{
public static final String testText =

View File

@ -5,19 +5,18 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/search/SearchTest.java,v $
* $Date: 2001/12/03 21:48:03 $
* $Revision: 1.11 $
* $Date: 2002/02/16 03:05:17 $
* $Revision: 1.12 $
*
*****************************************************************************************
*/
package com.ibm.test.search;
package com.ibm.icu.dev.test.search;
import java.text.*;
import java.util.*;
//import com.ibm.text.*;
import com.ibm.text.SearchIterator;
import com.ibm.text.StringSearch;
import com.ibm.icu.text.SearchIterator;
import com.ibm.icu.text.StringSearch;
/**
* Unit and regression tests for the StringSearch and SearchIterator classes.
@ -25,7 +24,7 @@ import com.ibm.text.StringSearch;
* and displaying the output. Basically, any method here that starts with
* <code>Test</code> is run as a test.
*/
public class SearchTest extends com.ibm.test.TestFmwk {
public class SearchTest extends com.ibm.icu.dev.test.TestFmwk {
public static void main(String[] args) throws Exception {
new SearchTest().run(args);
}

View File

@ -5,11 +5,11 @@
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import com.ibm.test.TestFmwk;
import com.ibm.text.ArabicShaping;
import com.ibm.text.ArabicShapingException;
import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.text.ArabicShaping;
import com.ibm.icu.text.ArabicShapingException;
/**
* Regression test for Arabic shaping.

View File

@ -5,10 +5,10 @@
*******************************************************************************
*/
package com.ibm.icu.test.text;
package com.ibm.icu.dev.test.text;
import com.ibm.text.ArabicShaping;
import com.ibm.text.ArabicShapingException;
import com.ibm.icu.text.ArabicShaping;
import com.ibm.icu.text.ArabicShapingException;
/**
* Interactive test for Arabic shaping.

View File

@ -3,10 +3,11 @@
@summary test Time Zone Boundary
*/
package com.ibm.test.timezone;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.test.*;
package com.ibm.icu.dev.test.timezone;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.dev.test.*;
import java.util.Date;
/**

View File

@ -4,11 +4,12 @@
* @bug 4154525 4154537 4154542 4154650 4159922 4162593 4173604 4176686 4184229 4208960
*/
package com.ibm.test.timezone;
import com.ibm.util.*;
package com.ibm.icu.dev.test.timezone;
import com.ibm.icu.util.*;
import java.io.*;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import java.util.Date;
import java.util.Locale;

View File

@ -5,10 +5,11 @@
* @build TimeZoneTest
*/
package com.ibm.test.timezone;
import com.ibm.text.*;
import com.ibm.util.*;
import com.ibm.test.*;
package com.ibm.icu.dev.test.timezone;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.*;
import com.ibm.icu.dev.test.*;
import java.util.Date;
import java.util.Locale;
import java.util.Hashtable;

View File

@ -5,15 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/CompoundTransliteratorTest.java,v $
* $Date: 2001/10/19 00:35:59 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:05:19 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
import java.io.*;
import java.text.ParseException;

View File

@ -6,15 +6,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/HexToUnicodeTransliteratorTest.java,v $
* $Date: 2001/09/24 19:56:41 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:20 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
import java.io.*;
import java.util.BitSet;
import java.text.ParseException;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.test.*;
import com.ibm.text.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.util.Utility;
import java.io.*;
import java.util.BitSet;
import java.text.ParseException;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.text.UCharacter;
import com.ibm.text.UCharacterCategory;
import com.ibm.text.*;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.UCharacter;
import com.ibm.icu.lang.UCharacterCategory;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
public final class TestUtility {

View File

@ -5,15 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/TransliteratorTest.java,v $
* $Date: 2002/02/07 00:56:13 $
* $Revision: 1.95 $
* $Date: 2002/02/16 03:05:21 $
* $Revision: 1.96 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;
@ -35,7 +36,7 @@ import java.util.*;
3. The tests in this file exactly match those in a sister file on the
other side. The two files are:
icu4j: src/com/ibm/test/translit/TransliteratorTest.java
icu4j: src/com.ibm.icu.dev.test/translit/TransliteratorTest.java
icu4c: source/test/intltest/transtst.cpp
==> THIS IS THE IMPORTANT PART <==
@ -869,7 +870,7 @@ public class TransliteratorTest extends TestFmwk {
* Test the normalization transliterator.
*/
public void TestNormalizationTransliterator() {
// THE FOLLOWING TWO TABLES ARE COPIED FROM com.ibm.test.normalizer.BasicTest
// THE FOLLOWING TWO TABLES ARE COPIED FROM com.ibm.icu.dev.test.normalizer.BasicTest
// PLEASE KEEP THEM IN SYNC WITH BasicTest.
String[][] CANON = {
// Input Decomposed Composed
@ -2307,10 +2308,10 @@ public class TransliteratorTest extends TestFmwk {
// Automatic generation of targets, to make it simpler to add test cases (and more fail-safe)
if (testCases[i].length > 2) target = testCases[i][2];
else if (id.equalsIgnoreCase("NFD")) target = com.ibm.text.Normalizer.normalize(source, com.ibm.text.Normalizer.DECOMP,0);
else if (id.equalsIgnoreCase("NFC")) target = com.ibm.text.Normalizer.normalize(source, com.ibm.text.Normalizer.COMPOSE,0);
else if (id.equalsIgnoreCase("NFKD")) target = com.ibm.text.Normalizer.normalize(source, com.ibm.text.Normalizer.DECOMP_COMPAT,0);
else if (id.equalsIgnoreCase("NFKC")) target = com.ibm.text.Normalizer.normalize(source, com.ibm.text.Normalizer.COMPOSE_COMPAT,0);
else if (id.equalsIgnoreCase("NFD")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.DECOMP,0);
else if (id.equalsIgnoreCase("NFC")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.COMPOSE,0);
else if (id.equalsIgnoreCase("NFKD")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.DECOMP_COMPAT,0);
else if (id.equalsIgnoreCase("NFKC")) target = com.ibm.icu.text.Normalizer.normalize(source, com.ibm.icu.text.Normalizer.COMPOSE_COMPAT,0);
else if (id.equalsIgnoreCase("Lower")) target = UCharacter.toLowerCase(Locale.US, source);
else if (id.equalsIgnoreCase("Upper")) target = UCharacter.toUpperCase(Locale.US, source);

View File

@ -5,15 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeFilterLogicTest.java,v $
* $Date: 2001/09/24 19:56:41 $
* $Revision: 1.3 $
* $Date: 2002/02/16 03:05:22 $
* $Revision: 1.4 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -1,7 +1,8 @@
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
//import java.text.*;
import java.util.*;
import java.io.*;

View File

@ -5,15 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/UnicodeSetTest.java,v $
* $Date: 2001/12/03 18:32:24 $
* $Revision: 1.20 $
* $Date: 2002/02/16 03:05:22 $
* $Revision: 1.21 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -5,15 +5,16 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/Attic/UnicodeToHexTransliteratorTest.java,v $
* $Date: 2001/09/24 19:56:41 $
* $Revision: 1.4 $
* $Date: 2002/02/16 03:05:23 $
* $Revision: 1.5 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
import java.text.*;
import java.util.*;

View File

@ -5,16 +5,17 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/translit/WriteCharts.java,v $
* $Date: 2001/11/20 01:14:43 $
* $Revision: 1.11 $
* $Date: 2002/02/16 03:05:23 $
* $Revision: 1.12 $
*
*****************************************************************************************
*/
package com.ibm.test.translit;
import com.ibm.text.*;
import com.ibm.test.*;
import com.ibm.util.Utility;
package com.ibm.icu.dev.test.translit;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
import com.ibm.icu.dev.test.*;
import com.ibm.icu.util.Utility;
//import java.text.*;
import java.util.*;
import java.io.*;

View File

@ -5,19 +5,19 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/util/TrieTest.java,v $
* $Date: 2002/02/08 01:31:18 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:25 $
* $Revision: 1.2 $
*
*******************************************************************************
*/
package com.ibm.icu.test.util;
package com.ibm.icu.dev.test.util;
import com.ibm.test.TestFmwk;
import com.ibm.icu.internal.util.Trie;
import com.ibm.icu.util.IntTrie;
import com.ibm.text.UTF16;
import com.ibm.text.UCharacter;
import com.ibm.icu.dev.test.TestFmwk;
import com.ibm.icu.impl.Trie;
import com.ibm.icu.impl.IntTrie;
import com.ibm.icu.text.UTF16;
import com.ibm.icu.lang.UCharacter;
import java.io.ByteArrayInputStream;
/**

View File

@ -5,14 +5,15 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/tool/compression/CompressionTableGenerator.java,v $
* $Date: 2000/03/10 04:17:56 $
* $Revision: 1.2 $
* $Date: 2002/02/16 03:05:25 $
* $Revision: 1.3 $
*
*****************************************************************************************
*/
package com.ibm.tools.compression;
package com.ibm.icu.dev.tool.compression;
import com.ibm.text.*;
import com.ibm.icu.lang.*;
import com.ibm.icu.text.*;
/**
* Utility class to generate the tables used by the SCSU interface and

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/tool/localeconverter/ArrayEnumeration.java,v $
* $Date: 2002/01/31 01:21:23 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:26 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.tools.localeconverter;
package com.ibm.icu.dev.tool.localeconverter;
import java.util.*;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/tool/localeconverter/CollationItem.java,v $
* $Date: 2002/01/31 01:21:23 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:26 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.tools.localeconverter;
package com.ibm.icu.dev.tool.localeconverter;
import java.io.*;
import java.util.*;

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/tool/localeconverter/Comparable.java,v $
* $Date: 2002/01/31 01:21:24 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:26 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.tools.localeconverter;
package com.ibm.icu.dev.tool.localeconverter;
public interface Comparable {
/**

View File

@ -5,12 +5,12 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/tool/localeconverter/Comparator.java,v $
* $Date: 2002/01/31 01:21:27 $
* $Revision: 1.1 $
* $Date: 2002/02/16 03:05:26 $
* $Revision: 1.2 $
*
*****************************************************************************************
*/
package com.ibm.tools.localeconverter;
package com.ibm.icu.dev.tool.localeconverter;
public interface Comparator {
/**

Some files were not shown because too many files have changed in this diff Show More