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

« back to all changes in this revision

Viewing changes to source/test/intltest/tscoll.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
 
 * COPYRIGHT: 
3
 
 * Copyright (c) 1997-2001, International Business Machines Corporation and
4
 
 * others. All Rights Reserved.
5
 
 ********************************************************************/
6
 
 
7
 
/**
8
 
 * MajorTestLevel is the top level test class for everything in the directory "IntlWork".
9
 
 */
10
 
 
11
 
#ifndef _INTLTESTCOLLATOR
12
 
#define _INTLTESTCOLLATOR
13
 
 
14
 
 
15
 
#include "intltest.h"
16
 
#include "unicode/coll.h"
17
 
#include "unicode/sortkey.h"
18
 
 
19
 
 
20
 
class IntlTestCollator: public IntlTest {
21
 
    void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
22
 
protected:
23
 
    virtual void reportCResult( UnicodeString &source, UnicodeString &target,
24
 
                                CollationKey &sourceKey, CollationKey &targetKey,
25
 
                                Collator::EComparisonResult compareResult,
26
 
                                Collator::EComparisonResult keyResult,
27
 
                                Collator::EComparisonResult incResult,
28
 
                                Collator::EComparisonResult expectedResult );
29
 
 
30
 
    static UnicodeString &prettify(const CollationKey &source, UnicodeString &target);
31
 
    static UnicodeString &appendCompareResult(Collator::EComparisonResult result, UnicodeString &target);
32
 
};
33
 
 
34
 
 
35
 
#endif