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

« back to all changes in this revision

Viewing changes to source/test/letest/letest.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
 
 *
4
 
 *   Copyright (C) 1999-2000, International Business Machines
5
 
 *   Corporation and others.  All Rights Reserved.
6
 
 *
7
 
 *******************************************************************************
8
 
 *   file name:  letest.h
9
 
 *
10
 
 *   created on: 11/06/2000
11
 
 *   created by: Eric R. Mader
12
 
 */
13
 
 
14
 
#include "unicode/utypes.h"
15
 
#include "unicode/uscript.h"
16
 
 
17
 
#define ARRAY_LENGTH(array) (sizeof array / sizeof array[0])
18
 
 
19
 
struct TestInput
20
 
{
21
 
    char *fontName;
22
 
    UChar *text;
23
 
    int32_t textLength;
24
 
    UScriptCode scriptCode;
25
 
    UBool rightToLeft;
26
 
};
27
 
 
28
 
extern int32_t testCount;
29
 
 
30
 
extern TestInput testInputs[];
31
 
 
32
 
struct TestResult
33
 
{
34
 
    int32_t glyphCount;
35
 
    uint16_t *glyphs;
36
 
    int32_t *indices;
37
 
    float *positions;
38
 
};
39
 
 
40
 
extern TestResult testResults[];
41
 
 
42