1 /********************************************************************
3 * Copyright (c) 1997-2003, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
9 * IntlTestUtilities is the medium level test class for everything in the directory "utility".
12 #include "unicode/utypes.h"
25 //#include "custrtest.h"
26 //#include "ccitrtst.h"
27 //#include "cloctest.h"
31 void IntlTestUtilities::runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
)
33 if (exec
) logln("TestSuite Utilities: ");
36 name
= "MultithreadTest";
38 logln("MultithreadTest---"); logln("");
40 callTest( test
, par
);
47 logln("StringTest---"); logln("");
49 callTest( test
, par
);
54 name
= "UnicodeStringTest";
56 logln("UnicodeStringTest---"); logln("");
57 UnicodeStringTest test
;
58 callTest( test
, par
);
65 logln("LocaleTest---"); logln("");
67 callTest( test
, par
);
72 name
= "CharIterTest";
74 logln("CharIterTest---"); logln("");
76 callTest( test
, par
);
83 logln("UnicodeTest---"); logln("");
85 callTest( test
, par
);
90 name
= "ResourceBundleTest";
92 logln("ResourceBundleTest---"); logln("");
93 ResourceBundleTest test
;
94 callTest( test
, par
);
98 name
= "NewResourceBundleTest";
100 logln("NewResourceBundleTest---"); logln("");
101 NewResourceBundleTest test
;
102 callTest( test
, par
);
109 logln("PUtilTest---"); logln("");
111 callTest( test
, par
);
116 name
= "UObjectTest";
118 logln ("UObjectTest---"); logln("");
120 callTest( test
, par
);
125 name
= "UVector32Test";
127 logln ("UVector32Test---"); logln("");
129 callTest( test
, par
);
137 logln("LocaleTest---"); logln("");
139 callTest( test, par );
143 default: name
= ""; break; //needed to end loop