scuffed-code/icu4c/source/test/intltest/ittrans.cpp
2000-01-18 02:34:41 +00:00

51 lines
1.9 KiB
C++

/*
*****************************************************************************************
* *
* COPYRIGHT: *
* (C) Copyright International Business Machines Corporation, 2000 *
* Licensed Material - Program-Property of IBM - All Rights Reserved. *
* US Government Users Restricted Rights - Use, duplication, or disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
* *
*****************************************************************************************
*/
/***********************************************************************
* Date Name Description
* 01/03/2000 Madhu Creation.
***********************************************************************/
/**
* IntlTestTransliterator is the medium level test class for Transliterator
*/
#include "unicode/utypes.h"
#include "ittrans.h"
#include "transtst.h"
#include "transapi.h"
void IntlTestTransliterator::runIndexedTest( int32_t index, bool_t exec, char* &name, char* par )
{
if (exec) logln("TestSuite Transliterator");
switch (index) {
case 0:
name = "TransliteratorTest";
if (exec) {
logln("TransliteratorTest--"); logln("");
TransliteratorTest test;
callTest( test, par );
}
break;
case 1:
name = "TransliteratorAPITest";
if (exec) {
logln("TransliteratorAPITest---"); logln("");
TransliteratorAPITest test;
callTest( test, par );
}
break;
default: name=""; break;
}
}