2017-01-20 00:20:31 +00:00
|
|
|
// © 2016 and later: Unicode, Inc. and others.
|
2016-06-15 18:58:17 +00:00
|
|
|
// License & terms of use: http://www.unicode.org/copyright.html
|
2000-01-15 01:51:06 +00:00
|
|
|
/*
|
2000-01-15 02:00:06 +00:00
|
|
|
**********************************************************************
|
2016-05-31 21:45:07 +00:00
|
|
|
* Copyright (C) 1998-2016, International Business Machines Corporation
|
|
|
|
* and others. All Rights Reserved.
|
2000-01-15 02:00:06 +00:00
|
|
|
**********************************************************************
|
2000-01-15 01:51:06 +00:00
|
|
|
*/
|
|
|
|
/***********************************************************************
|
|
|
|
* Date Name Description
|
|
|
|
* 12/14/99 Madhu Creation.
|
|
|
|
***********************************************************************/
|
|
|
|
/**
|
|
|
|
* IntlTestRBBI is the medium level test class for RuleBasedBreakIterator
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "unicode/utypes.h"
|
2002-09-21 00:43:14 +00:00
|
|
|
|
2016-03-03 21:51:16 +00:00
|
|
|
#if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS
|
2002-09-21 00:43:14 +00:00
|
|
|
|
2016-02-26 21:58:26 +00:00
|
|
|
#include "intltest.h"
|
2000-01-15 01:51:06 +00:00
|
|
|
#include "itrbbi.h"
|
|
|
|
#include "rbbiapts.h"
|
|
|
|
#include "rbbitst.h"
|
2016-02-26 21:58:26 +00:00
|
|
|
#include "rbbimonkeytest.h"
|
2011-07-13 06:49:42 +00:00
|
|
|
|
2000-01-15 01:51:06 +00:00
|
|
|
|
2000-08-14 21:42:36 +00:00
|
|
|
void IntlTestRBBI::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
|
2000-01-15 01:51:06 +00:00
|
|
|
{
|
2016-02-26 21:58:26 +00:00
|
|
|
if (exec) {
|
|
|
|
logln("TestSuite RuleBasedBreakIterator: ");
|
2000-08-11 22:26:55 +00:00
|
|
|
}
|
2016-02-26 21:58:26 +00:00
|
|
|
TESTCASE_AUTO_BEGIN;
|
|
|
|
TESTCASE_AUTO_CLASS(RBBIAPITest);
|
|
|
|
TESTCASE_AUTO_CLASS(RBBITest);
|
2016-03-03 21:51:16 +00:00
|
|
|
#if !UCONFIG_NO_FORMATTING
|
2016-02-26 21:58:26 +00:00
|
|
|
TESTCASE_AUTO_CLASS(RBBIMonkeyTest);
|
2016-03-03 21:51:16 +00:00
|
|
|
#endif
|
2016-02-26 21:58:26 +00:00
|
|
|
TESTCASE_AUTO_END;
|
2000-01-15 01:51:06 +00:00
|
|
|
}
|
|
|
|
|
2016-03-03 21:51:16 +00:00
|
|
|
#endif /* #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_REGULAR_EXPRESSIONS */
|