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