mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 09:45:26 +00:00
Move from topleveltest package; update to include new tests, and to use new TestFmwk API
X-SVN-Rev: 1396
This commit is contained in:
parent
290c607266
commit
7ee2df21f2
2 changed files with 186 additions and 0 deletions
93
icu4j/src/com/ibm/icu/dev/test/TestAll.java
Executable file
93
icu4j/src/com/ibm/icu/dev/test/TestAll.java
Executable file
|
@ -0,0 +1,93 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2000, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/dev/test/TestAll.java,v $
|
||||
* $Date: 2000/05/18 19:09:38 $
|
||||
* $Revision: 1.1 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
package com.ibm.test;
|
||||
import com.ibm.test.TestFmwk;
|
||||
import java.text.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Top level test used to run all other tests as a batch.
|
||||
*/
|
||||
|
||||
public class TestAll extends TestFmwk {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
new TestAll().run(args);
|
||||
}
|
||||
|
||||
public void TestBigNumberFormat() throws Exception{
|
||||
run(new com.ibm.test.bnf.BigNumberFormatTest());
|
||||
}
|
||||
|
||||
public void TestCompression() throws Exception{
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.compression.DecompressionTest(),
|
||||
new com.ibm.test.compression.ExhaustiveTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestNormalizer() throws Exception{
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.normalizer.BasicTest(),
|
||||
new com.ibm.test.normalizer.ExhaustiveTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestRuleBasedNumberFormat() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.rbnf.RbnfTest(),
|
||||
new com.ibm.test.rbnf.RbnfRoundTripTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestRuleBasedBreakIterator() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.rbbi.SimpleBITest(),
|
||||
new com.ibm.test.rbbi.BreakIteratorTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestTranslit() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.translit.TransliteratorTest(),
|
||||
new com.ibm.test.translit.UnicodeSetTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestSearch() throws Exception {
|
||||
run(new com.ibm.test.search.SearchTest());
|
||||
}
|
||||
|
||||
public void TestRichEdit() throws Exception {
|
||||
run(new com.ibm.test.richtext.TestAll());
|
||||
}
|
||||
|
||||
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()
|
||||
});
|
||||
}
|
||||
|
||||
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()
|
||||
});
|
||||
}
|
||||
}
|
93
icu4j/src/com/ibm/test/TestAll.java
Executable file
93
icu4j/src/com/ibm/test/TestAll.java
Executable file
|
@ -0,0 +1,93 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1996-2000, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/test/Attic/TestAll.java,v $
|
||||
* $Date: 2000/05/18 19:09:38 $
|
||||
* $Revision: 1.1 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
package com.ibm.test;
|
||||
import com.ibm.test.TestFmwk;
|
||||
import java.text.*;
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
* Top level test used to run all other tests as a batch.
|
||||
*/
|
||||
|
||||
public class TestAll extends TestFmwk {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
new TestAll().run(args);
|
||||
}
|
||||
|
||||
public void TestBigNumberFormat() throws Exception{
|
||||
run(new com.ibm.test.bnf.BigNumberFormatTest());
|
||||
}
|
||||
|
||||
public void TestCompression() throws Exception{
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.compression.DecompressionTest(),
|
||||
new com.ibm.test.compression.ExhaustiveTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestNormalizer() throws Exception{
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.normalizer.BasicTest(),
|
||||
new com.ibm.test.normalizer.ExhaustiveTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestRuleBasedNumberFormat() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.rbnf.RbnfTest(),
|
||||
new com.ibm.test.rbnf.RbnfRoundTripTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestRuleBasedBreakIterator() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.rbbi.SimpleBITest(),
|
||||
new com.ibm.test.rbbi.BreakIteratorTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestTranslit() throws Exception {
|
||||
run(new TestFmwk[] {
|
||||
new com.ibm.test.translit.TransliteratorTest(),
|
||||
new com.ibm.test.translit.UnicodeSetTest()
|
||||
});
|
||||
}
|
||||
|
||||
public void TestSearch() throws Exception {
|
||||
run(new com.ibm.test.search.SearchTest());
|
||||
}
|
||||
|
||||
public void TestRichEdit() throws Exception {
|
||||
run(new com.ibm.test.richtext.TestAll());
|
||||
}
|
||||
|
||||
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()
|
||||
});
|
||||
}
|
||||
|
||||
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()
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue