1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /********************************************************************
5 * Copyright (c) 2002-2010, International Business Machines Corporation and
6 * others. All Rights Reserved.
7 ********************************************************************/
18 class UObjectTest : public IntlTest {
20 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par );
25 void TestMFCCompatibility();
26 void TestCompilerRTTI();
31 * @param obj The UObject to be tested
32 * @param className The name of the class being tested
33 * @param factory String version of obj, for exanple "new UFoo(1,3,4)". NULL if object is abstract.
34 * @param staticID The result of class :: getStaticClassID
35 * @return Returns obj, suitable for deletion
37 UObject *testClass(UObject *obj,
38 const char *className, const char *factory,
41 UObject *testClassNoClassID(UObject *obj,
42 const char *className, const char *factory);