]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/intltest/itrbbi.cpp
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / test / intltest / itrbbi.cpp
1 /*
2 **********************************************************************
3 * Copyright (C) 1998-2016, International Business Machines Corporation
4 * and others. All Rights Reserved.
5 **********************************************************************
6 */
7 /***********************************************************************
8 * Date Name Description
9 * 12/14/99 Madhu Creation.
10 ***********************************************************************/
11 /**
12 * IntlTestRBBI is the medium level test class for RuleBasedBreakIterator
13 */
14
15 #include "unicode/utypes.h"
16
17 #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS
18
19 #include "intltest.h"
20 #include "itrbbi.h"
21 #include "rbbiapts.h"
22 #include "rbbitst.h"
23 #include "rbbimonkeytest.h"
24
25
26 void IntlTestRBBI::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
27 {
28 if (exec) {
29 logln("TestSuite RuleBasedBreakIterator: ");
30 }
31 TESTCASE_AUTO_BEGIN;
32 TESTCASE_AUTO_CLASS(RBBIAPITest);
33 TESTCASE_AUTO_CLASS(RBBITest);
34 #if !UCONFIG_NO_FORMATTING
35 TESTCASE_AUTO_CLASS(RBBIMonkeyTest);
36 #endif
37 TESTCASE_AUTO_END;
38 }
39
40 #endif /* #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS */