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

« back to all changes in this revision

Viewing changes to source/test/intltest/citrtest.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
 
#ifndef CHARITERTEST_H
8
 
#define CHARITERTEST_H
9
 
 
10
 
#include "intltest.h"
11
 
#include "unicode/uiter.h"
12
 
 
13
 
/**
14
 
 * Some tests for CharacterIterator and StringCharacterIterator
15
 
 **/
16
 
class CharIterTest: public IntlTest {
17
 
public:
18
 
    CharIterTest();
19
 
    
20
 
    void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
21
 
 
22
 
    /**
23
 
     * Test Constructors and operators ==, != and a few other methods
24
 
     **/
25
 
    void TestConstructionAndEquality(void);
26
 
    /**
27
 
     * Test Constructors and operators ==, != and a few other methods for UChariter
28
 
     **/
29
 
    void TestConstructionAndEqualityUChariter(void);
30
 
    /**
31
 
     * test the iteration functionality in different ways
32
 
     **/
33
 
    void TestIteration(void);
34
 
     /**
35
 
     * test the iteration functionality in different ways with  unicodestring of UChar32's
36
 
     **/
37
 
    void TestIterationUChar32(void);
38
 
 
39
 
    void TestUCharIterator();
40
 
    void TestUCharIterator(UCharIterator *iter, CharacterIterator &ci, const char *moves, const char *which);
41
 
};
42
 
 
43
 
#endif
44