]>
git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/icusvtst.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
5 * Copyright (C) 2001-2003, International Business Machines Corporation and *
6 * others. All Rights Reserved. *
7 *******************************************************************************
9 *******************************************************************************
15 #include "unicode/utypes.h"
17 #if !UCONFIG_NO_SERVICE
23 class ICUServiceTest
: public IntlTest
27 virtual ~ICUServiceTest();
29 void runIndexedTest(int32_t index
, UBool exec
, const char* &name
, char* par
= NULL
);
31 void testAPI_One(void);
32 void testAPI_Two(void);
34 void testNotification(void);
35 void testLocale(void);
36 void testWrapFactory(void);
37 void testCoverage(void);
40 UnicodeString
& lrmsg(UnicodeString
& result
, const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
) const;
41 void confirmBoolean(const UnicodeString
& message
, UBool val
);
43 void confirmEqual(const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
);
45 void confirmEqual(const UnicodeString
& message
, const Integer
* lhs
, const Integer
* rhs
);
46 void confirmEqual(const UnicodeString
& message
, const UnicodeString
* lhs
, const UnicodeString
* rhs
);
47 void confirmEqual(const UnicodeString
& message
, const Locale
* lhs
, const Locale
* rhs
);
49 void confirmStringsEqual(const UnicodeString
& message
, const UnicodeString
& lhs
, const UnicodeString
& rhs
);
50 void confirmIdentical(const UnicodeString
& message
, const UObject
* lhs
, const UObject
* rhs
);
51 void confirmIdentical(const UnicodeString
& message
, int32_t lhs
, int32_t rhs
);
53 void msgstr(const UnicodeString
& message
, UObject
* obj
, UBool err
= TRUE
);
54 void logstr(const UnicodeString
& message
, UObject
* obj
) {
55 msgstr(message
, obj
, FALSE
);
60 /* UCONFIG_NO_SERVICE */