~ubuntu-branches/ubuntu/gutsy/icu/gutsy

« back to all changes in this revision

Viewing changes to source/test/intltest/testutil.h

  • Committer: Package Import Robot
  • Author(s): Jay Berkenbilt
  • Date: 2005-11-19 11:29:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20051119112931-vcizkrp10tli4enw
Tags: 3.4-3
Explicitly build with g++ 3.4.  The current ICU fails its test suite
with 4.0 but not with 3.4.  Future versions should work properly with
4.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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