]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/testutil.h
ICU-59131.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / testutil.h
index 106d8008fe515a7249178ab09ad20d3c53208f48..d6d4262f1c0a5ea0d86d2f6f97958269c451d5ea 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 **********************************************************************
-*   Copyright (C) 2001, International Business Machines
+*   Copyright (C) 2001-2009, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -10,7 +12,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