blob: a99f17a4ca47d8d8d4491620e2c86e9cc4551db6 [file] [log] [blame]
/*
**********************************************************************
* Copyright (C) 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html
**********************************************************************
* Date Name Description
* 05/23/00 aliu Creation.
**********************************************************************
*/
#ifndef TESTUTIL_H
#define TESTUTIL_H
#include "intltest.h"
/**
* Utility methods. Everything in this class is static -- do not
* attempt to instantiate.
*/
class TestUtility {
public:
static UnicodeString &appendHex(UnicodeString &buf, UChar32 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
};
#endif