• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 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 "rbbiapts.h"
24 #include "rbbitst.h"
25 #include "rbbimonkeytest.h"
26 
27 
runIndexedTest(int32_t index,UBool exec,const char * & name,char * par)28 void IntlTestRBBI::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
29 {
30     if (exec) {
31         logln("TestSuite RuleBasedBreakIterator: ");
32     }
33     TESTCASE_AUTO_BEGIN;
34     TESTCASE_AUTO_CLASS(RBBIAPITest);
35     TESTCASE_AUTO_CLASS(RBBITest);
36 #if !UCONFIG_NO_FORMATTING
37     TESTCASE_AUTO_CLASS(RBBIMonkeyTest);
38 #endif
39     TESTCASE_AUTO_END;
40 }
41 
42 #endif /* #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS */
43