]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/uobjtest.h
1 /********************************************************************
3 * Copyright (c) 2002-2010, 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
);
23 void TestMFCCompatibility();
24 void TestCompilerRTTI();
29 * @param obj The UObject to be tested
30 * @param className The name of the class being tested
31 * @param factory String version of obj, for exanple "new UFoo(1,3,4)". NULL if object is abstract.
32 * @param staticID The result of class :: getStaticClassID
33 * @return Returns obj, suitable for deletion
35 UObject
*testClass(UObject
*obj
,
36 const char *className
, const char *factory
,
39 UObject
*testClassNoClassID(UObject
*obj
,
40 const char *className
, const char *factory
);