scuffed-code/icu4c/source/test/intltest/icusvtst.h
Andy Heninger 665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00

63 lines
2.0 KiB
C++

/**
*******************************************************************************
* Copyright (C) 2001-2003, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*
*******************************************************************************
*/
#ifndef ICUSVTST_H
#define ICUSVTST_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_SERVICE
#include "intltest.h"
class Integer;
class ICUServiceTest : public IntlTest
{
public:
ICUServiceTest();
virtual ~ICUServiceTest();
void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par = NULL);
void testAPI_One(void);
void testAPI_Two(void);
void testRBF(void);
void testNotification(void);
void testLocale(void);
void testWrapFactory(void);
void testCoverage(void);
private:
UnicodeString& lrmsg(UnicodeString& result, const UnicodeString& message, const UObject* lhs, const UObject* rhs) const;
void confirmBoolean(const UnicodeString& message, UBool val);
#if 0
void confirmEqual(const UnicodeString& message, const UObject* lhs, const UObject* rhs);
#else
void confirmEqual(const UnicodeString& message, const Integer* lhs, const Integer* rhs);
void confirmEqual(const UnicodeString& message, const UnicodeString* lhs, const UnicodeString* rhs);
void confirmEqual(const UnicodeString& message, const Locale* lhs, const Locale* rhs);
#endif
void confirmStringsEqual(const UnicodeString& message, const UnicodeString& lhs, const UnicodeString& rhs);
void confirmIdentical(const UnicodeString& message, const UObject* lhs, const UObject* rhs);
void confirmIdentical(const UnicodeString& message, int32_t lhs, int32_t rhs);
void msgstr(const UnicodeString& message, UObject* obj, UBool err = TRUE);
void logstr(const UnicodeString& message, UObject* obj) {
msgstr(message, obj, FALSE);
}
};
/* UCONFIG_NO_SERVICE */
#endif
/* ICUSVTST_H */
#endif