]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/testutil.h
ICU-6.2.6.tar.gz
[apple/icu.git] / icuSources / test / intltest / testutil.h
1 /*
2 **********************************************************************
3 * Copyright (C) 2001, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 * Date Name Description
7 * 05/23/00 aliu Creation.
8 **********************************************************************
9 */
10 #ifndef TESTUTIL_H
11 #define TESTUTIL_H
12
13 #include "unicode/unistr.h"
14
15 /**
16 * Utility methods. Everything in this class is static -- do not
17 * attempt to instantiate.
18 */
19 class TestUtility {
20
21 public:
22
23 static UnicodeString hex(UChar ch);
24
25 static UnicodeString hex(const UnicodeString& s);
26
27 static UnicodeString hex(const UnicodeString& s, UChar sep);
28
29 private:
30
31 TestUtility() {} // Prevent instantiation
32 };
33
34 #endif