scuffed-code/icu4c/source/test/intltest/itconv.cpp
Ram Viswanadha 7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00

42 lines
1.1 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/**
* IntlTestConvert is the medium level test class for everything in the directory "utility".
*/
#include "unicode/utypes.h"
#include "itconv.h"
#include "cppcnvt.h"
void IntlTestConvert::runIndexedTest( int32_t index, UBool exec, const char* &name, char* par )
{
if (exec) logln("TestSuite Convert: ");
switch (index) {
case 0:
name = "TestConvert";
if (exec) {
logln("TestConvert---"); logln("");
ConvertTest test;
callTest( test, par );
}
break;
case 1:
name = "TestAmbiguous";
if (exec) {
logln("TestAmbiguous---"); logln("");
ConvertTest test;
callTest( test, par );
}
break;
default: name = ""; break; //needed to end loop
}
}