scuffed-code/icu4c/source/test/intltest/itrbbi.cpp
Markus Scherer 0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00

49 lines
1.4 KiB
C++

/*
**********************************************************************
* Copyright (C) 1998-2001, International Business Machines Corporation
* and others. All Rights Reserved.
**********************************************************************
*/
/***********************************************************************
* Date Name Description
* 12/14/99 Madhu Creation.
***********************************************************************/
/**
* IntlTestRBBI is the medium level test class for RuleBasedBreakIterator
*/
#include "unicode/utypes.h"
#if !UCONFIG_NO_BREAK_ITERATION
#include "itrbbi.h"
#include "rbbiapts.h"
#include "rbbitst.h"
void IntlTestRBBI::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
{
if (exec) logln("TestSuite RuleBasedBreakIterator: ");
switch (index) {
case 0:
name = "RBBIAPITest";
if (exec) {
logln("RBBIAPITest--"); logln("");
RBBIAPITest test;
callTest( test, par );
}
break;
case 1:
name = "RBBITest";
if (exec) {
logln("RBBITest---"); logln("");
RBBITest test;
callTest( test, par );
}
break;
default: name=""; break;
}
}
#endif /* #if !UCONFIG_NO_BREAK_ITERATION */