]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/uobjtest.h
1 /********************************************************************
3 * Copyright (c) 2002-2004, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
16 class UObjectTest
: public IntlTest
{
18 void runIndexedTest( int32_t index
, UBool exec
, const char* &name
, char* par
);
27 * @param obj The UObject to be tested
28 * @param className The name of the class being tested
29 * @param factory String version of obj, for exanple "new UFoo(1,3,4)". NULL if object is abstract.
30 * @param staticID The result of class :: getStaticClassID
31 * @return Returns obj, suitable for deletion
33 UObject
*testClass(UObject
*obj
,
34 const char *className
, const char *factory
,