ICU-535 Fixed some compiler warnings.

X-SVN-Rev: 3187
This commit is contained in:
George Rhoten 2000-12-09 03:08:42 +00:00
parent 1fac5cfe0f
commit f8e566eebb
2 changed files with 2 additions and 7 deletions

View File

@ -17,10 +17,6 @@ CharIterTest::CharIterTest()
{
}
CharIterTest::~CharIterTest()
{
}
void CharIterTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char* /*par*/ )
{
if (exec) logln("TestSuite LocaleTest: ");
@ -137,7 +133,7 @@ void CharIterTest::TestConstructionAndEqualityUChariter() {
UCharCharacterIterator* test3 = new UCharCharacterIterator(testText, u_strlen(testText), 2, 20, 5);
UCharCharacterIterator* test4 = new UCharCharacterIterator(testText2, u_strlen(testText2));
UCharCharacterIterator* test5 = (UCharCharacterIterator*)test1->clone();
UCharCharacterIterator* test6=new UCharCharacterIterator(*test1);
UCharCharacterIterator* test6 = new UCharCharacterIterator(*test1);
UCharCharacterIterator* test7a = new UCharCharacterIterator(testText, -1);
UCharCharacterIterator* test7b = new UCharCharacterIterator(testText, -1);
@ -150,7 +146,7 @@ void CharIterTest::TestConstructionAndEqualityUChariter() {
if (test8a->startIndex() < 0)
errln("Construction failed: startIndex is negative");
if (test8b->endIndex() > sizeof(testTextchars))
if (test8b->endIndex() > (UTextOffset)sizeof(testTextchars))
errln("Construction failed: endIndex is greater than the text length");
if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex())
errln("Construction failed: index is invalid");

View File

@ -12,7 +12,6 @@
class CharIterTest: public IntlTest {
public:
CharIterTest();
~CharIterTest();
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );