~ubuntu-branches/ubuntu/quantal/icu/quantal

« back to all changes in this revision

Viewing changes to source/test/cintltst/ncnvfbts.h

  • Committer: Package Import Robot
  • Author(s): Yves Arrouye
  • Date: 2002-03-03 15:31:13 UTC
  • Revision ID: package-import@ubuntu.com-20020303153113-3ssceqlq45xbmbnc
Tags: upstream-2.0-2.1pre20020303
ImportĀ upstreamĀ versionĀ 2.0-2.1pre20020303

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
* File NCCBTST.H
 
9
*
 
10
* Modification History:
 
11
*        Name                     Description            
 
12
*     Madhu Katragadda           creation
 
13
*********************************************************************************
 
14
*/
 
15
#ifndef _NCNVFBTS
 
16
#define _NCNVFBTS
 
17
/* C API TEST FOR FALL BACK ROUTINES OF CODESET CONVERSION COMPONENT */
 
18
#include "cintltst.h"
 
19
#include "unicode/utypes.h"
 
20
 
 
21
static void TestConverterFallBack(void);
 
22
static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
 
23
static UBool testConvertFromUnicode(const UChar *source, int sourceLen,  const uint8_t *expect, int expectLen, 
 
24
                const char *codepage, UBool fallback, int32_t *expectOffsets);
 
25
static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, 
 
26
               const char *codepage, UBool fallback, int32_t *expectOffsets);
 
27
 
 
28
 
 
29
static void printSeq(const unsigned char* a, int len);
 
30
static void printUSeq(const UChar* a, int len);
 
31
static void printSeqErr(const unsigned char* a, int len);
 
32
static void printUSeqErr(const UChar* a, int len);
 
33
static void setNuConvTestName(const char *codepage, const char *direction);
 
34
 
 
35
 
 
36
#endif