1 /********************************************************************
3 * Copyright (c) 1997-2005, 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"
28 //#include "custrtest.h"
29 //#include "ccitrtst.h"
30 //#include "cloctest.h"
34 void IntlTestUtilities::runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
)
36 if (exec
) logln("TestSuite Utilities: ");
39 name
= "MultithreadTest";
41 logln("MultithreadTest---"); logln("");
43 callTest( test
, par
);
50 logln("StringTest---"); logln("");
52 callTest( test
, par
);
57 name
= "UnicodeStringTest";
59 logln("UnicodeStringTest---"); logln("");
60 UnicodeStringTest test
;
61 callTest( test
, par
);
68 logln("LocaleTest---"); logln("");
70 callTest( test
, par
);
75 name
= "CharIterTest";
77 logln("CharIterTest---"); logln("");
79 callTest( test
, par
);
86 logln("UnicodeTest---"); logln("");
88 callTest( test
, par
);
93 name
= "ResourceBundleTest";
95 logln("ResourceBundleTest---"); logln("");
96 ResourceBundleTest test
;
97 callTest( test
, par
);
101 name
= "NewResourceBundleTest";
103 logln("NewResourceBundleTest---"); logln("");
104 NewResourceBundleTest test
;
105 callTest( test
, par
);
112 logln("PUtilTest---"); logln("");
114 callTest( test
, par
);
119 name
= "UObjectTest";
121 logln ("UObjectTest---"); logln("");
123 callTest( test
, par
);
128 name
= "UVector32Test";
130 logln ("UVector32Test---"); logln("");
132 callTest( test
, par
);
137 name
= "UVectorTest";
139 logln ("UVectorTest---"); logln("");
141 callTest( test
, par
);
148 logln ("UTextTest---"); logln("");
150 callTest( test
, par
);
155 name
= "LocaleAliasTest";
157 logln("LocaleAliasTest---"); logln("");
158 LocaleAliasTest test
;
159 callTest( test
, par
);
163 default: name
= ""; break; //needed to end loop