Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / letest / xmlreader.h
1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4  *
5  * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
6  *
7  */
8
9 #ifndef __XMLREADER_H
10 #define __XMLREADER_H
11
12 #include "layout/LETypes.h"
13 #include "letest.h"
14
15 typedef void (*TestCaseCallback) (const char *testID,
16                                                                   const char *fontName,
17                                                                   const char *fontVersion,
18                                                                   const char *fontChecksum,
19                                                                   le_int32 scriptCode,
20                                                                   le_int32 languageCode,
21                                                                   const LEUnicode *text,
22                                                                   le_int32 charCount,
23                                                                   TestResult *expected);
24
25 U_CAPI void readTestFile(const char *testFilePath, TestCaseCallback callback);
26
27 #endif