• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 **********************************************************************
5 * Copyright (C) 1998-2016, International Business Machines Corporation
6 * and others.  All Rights Reserved.
7 **********************************************************************
8 */
9 /***********************************************************************
10 *   Date        Name        Description
11 *   12/14/99    Madhu        Creation.
12 ***********************************************************************/
13 /**
14  * IntlTestRBBI is the medium level test class for RuleBasedBreakIterator
15  */
16 
17 #include "unicode/utypes.h"
18 
19 #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS
20 
21 #include "intltest.h"
22 #include "itrbbi.h"
23 #include "lstmbetst.h"
24 #include "rbbiapts.h"
25 #include "rbbitst.h"
26 #include "rbbimonkeytest.h"
27 
28 
runIndexedTest(int32_t index,UBool exec,const char * & name,char * par)29 void IntlTestRBBI::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
30 {
31     if (exec) {
32         logln("TestSuite RuleBasedBreakIterator: ");
33     }
34     TESTCASE_AUTO_BEGIN;
35     TESTCASE_AUTO_CLASS(RBBIAPITest);
36     TESTCASE_AUTO_CLASS(RBBITest);
37 #if !UCONFIG_NO_FORMATTING
38     TESTCASE_AUTO_CLASS(RBBIMonkeyTest);
39 #endif
40     TESTCASE_AUTO_CLASS(LSTMBETest);
41     TESTCASE_AUTO_END;
42 }
43 
44 #endif /* #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS */
45