]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/testutil.h
ICU-511.27.tar.gz
[apple/icu.git] / icuSources / test / intltest / testutil.h
index 106d8008fe515a7249178ab09ad20d3c53208f48..ac0c62bff9be6c57c934870cfb6e611a5f9f8b01 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (C) 2001, International Business Machines
+*   Copyright (C) 2001-2009, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -10,7 +10,7 @@
 #ifndef TESTUTIL_H
 #define TESTUTIL_H
 
-#include "unicode/unistr.h"
+#include "intltest.h"
 
 /**
  * Utility methods.  Everything in this class is static -- do not
 class TestUtility {
 
 public:
+    static UnicodeString &appendHex(UnicodeString &buf, UChar32 ch);
 
-    static UnicodeString hex(UChar ch);
+    static UnicodeString hex(UChar32 ch);
 
     static UnicodeString hex(const UnicodeString& s);
 
     static UnicodeString hex(const UnicodeString& s, UChar sep);
 
+       static UnicodeString hex(const uint8_t* bytes, int32_t len);
+
 private:
 
     TestUtility() {} // Prevent instantiation