initial checkin

X-SVN-Rev: 826
This commit is contained in:
John Fitzpatrick 2000-02-25 18:27:21 +00:00
parent 2f326b3916
commit cc1ee7cb9e
3 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#
# $RCSfile: GNUmakefile,v $ $Revision: 1.1 $ $Date: 2000/02/25 18:27:20 $
#
TOPDIR= ../../../../..
PACKAGE= com.ibm.test.topleveltest
include $(TOPDIR)/src/build/defs.gmk
FILES_java= $(TARGDIR)/TestAll.java \
include $(TOPDIR)/src/build/rules.gmk

View File

@ -0,0 +1,77 @@
package com.ibm.test.topleveltest;
import com.ibm.test.TestFmwk;
import java.text.*;
import java.util.*;
/**
* @test
* @summary General test of UnicodeSet
*/
public class TestAll extends TestFmwk {
public static void main(String[] args) throws Exception {
new TestAll().run(args);
}
public void TestBigNumberFormat() throws Exception{
com.ibm.test.bnf.BigNumberFormatTest.main(getArgs());
}
public void TestCompression1() throws Exception{
com.ibm.test.compression.Test.main(getArgs());
}
public void TestCompression2() throws Exception{
com.ibm.test.compression.Main.main(getArgs());
}
public void TestNormalizer1() throws Exception{
com.ibm.test.normalizer.BasicTest.main(getArgs());
}
public void TestNormalizer2() throws Exception {
com.ibm.test.normalizer.ExhaustiveTest.main(getArgs());
}
public void TestNormalizer3() throws Exception {
com.ibm.test.normalizer.FooTest.main(getArgs());
}
public void TestRuleBasedNumberFormat1() throws Exception {
com.ibm.test.rbnf.RbnfTest.main(getArgs());
}
public void TestRulebasedNumberFormat2() throws Exception {
com.ibm.test.rbnf.RbnfRoundTripTest.main(getArgs());
}
public void TestRuleBasedBreakIteartor1() throws Exception {
com.ibm.test.RuleBasedBreakIterator.SimpleBITest.main(getArgs());
}
public void TestRuleBasedBreakIteartor2() throws Exception {
com.ibm.test.RuleBasedBreakIterator.BreakIteratorTest.main(getArgs());
}
public void TestTranslit1() throws Exception {
com.ibm.test.translit.UnicodeSetTest.main(getArgs());
}
public void TestTranslit2() throws Exception {
com.ibm.test.translit.TransliteratorTest.main(getArgs());
}
private String[] getArgs() {
int size =
((verbose) ? 1 : 0)
+ ((prompt) ? 1 : 0)
+ ((nothrow) ? 1 : 0);
String [] result = new String[size];
if (verbose) result[--size] = "-verbose";
if (prompt) result[--size] = "-prompt";
if (nothrow) result[--size] = "-nothrow";
return result;
}
}

View File

@ -0,0 +1,14 @@
#
# $RCSfile: makefile,v $ $Revision: 1.1 $ $Date: 2000/02/25 18:27:21 $
#
TOPDIR= ../../../../..
PACKAGE= com.ibm.test.topleveltest
!include $(TOPDIR)/src/build/defs.mak
FILES_java= $(TARGDIR)/TestAll.java \
!include $(TOPDIR)/src/build/rules.mak