]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/icusvtst.h
2 *******************************************************************************
3 * Copyright (C) 2001-2003, International Business Machines Corporation and *
4 * others. All Rights Reserved. *
5 *******************************************************************************
7 *******************************************************************************
13 #include "unicode/utypes.h"
15 #if !UCONFIG_NO_SERVICE
21 class ICUServiceTest
: public IntlTest
25 virtual ~ICUServiceTest();
27 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
29 void testAPI_One(void);
30 void testAPI_Two(void);
32 void testNotification(void);
33 void testLocale(void);
34 void testWrapFactory(void);
35 void testCoverage(void);
38 UnicodeString
& lrmsg(UnicodeString
& result
, const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
) const;
39 void confirmBoolean(const UnicodeString
& message
, UBool val
);
41 void confirmEqual(const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
);
43 void confirmEqual(const UnicodeString
& message
, const Integer
* lhs
, const Integer
* rhs
);
44 void confirmEqual(const UnicodeString
& message
, const UnicodeString
* lhs
, const UnicodeString
* rhs
);
45 void confirmEqual(const UnicodeString
& message
, const Locale
* lhs
, const Locale
* rhs
);
47 void confirmStringsEqual(const UnicodeString
& message
, const UnicodeString
& lhs
, const UnicodeString
& rhs
);
48 void confirmIdentical(const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
);
49 void confirmIdentical(const UnicodeString
& message
, int32_t lhs
, int32_t rhs
);
51 void msgstr(const UnicodeString
& message
, UObject
* obj
, UBool err
= TRUE
);
52 void logstr(const UnicodeString
& message
, UObject
* obj
) {
53 msgstr(message
, obj
, FALSE
);
58 /* UCONFIG_NO_SERVICE */