X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..2be6500137966bba13903b24204a44804f9e133a:/icuSources/test/intltest/v32test.cpp diff --git a/icuSources/test/intltest/v32test.cpp b/icuSources/test/intltest/v32test.cpp index 7b11f9b4..cf00b45b 100644 --- a/icuSources/test/intltest/v32test.cpp +++ b/icuSources/test/intltest/v32test.cpp @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2002-2003, International Business Machines Corporation and + * Copyright (c) 2002-2007, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ @@ -27,12 +27,12 @@ //--------------------------------------------------------------------------- UVector32Test::UVector32Test() { -}; +} UVector32Test::~UVector32Test() { -}; +} @@ -63,7 +63,7 @@ void UVector32Test::runIndexedTest( int32_t index, UBool exec, const char* &name #define TEST_ASSERT(expr) \ if ((expr)==FALSE) {\ - errln("RegexTest failure at line %d.\n", __LINE__);\ + errln("UVector32Test failure at line %d.\n", __LINE__);\ } //--------------------------------------------------------------------------- @@ -405,7 +405,7 @@ void UVector32Test::UVector32_API() { a->setSize(20000); int32_t *resizedBuf; resizedBuf = a->getBuffer(); - TEST_ASSERT(buf != resizedBuf); + //TEST_ASSERT(buf != resizedBuf); // The buffer might have been realloc'd TEST_ASSERT(resizedBuf[0] == 10); TEST_ASSERT(resizedBuf[1] == 20); @@ -413,16 +413,6 @@ void UVector32Test::UVector32_API() { delete a; - // - // RTTI - // - status = U_ZERO_ERROR; - a = new UVector32(status); - TEST_ASSERT(a->getDynamicClassID() == UVector32::getStaticClassID()); - TEST_ASSERT(a->getDynamicClassID() != UVector::getStaticClassID()); - TEST_CHECK_STATUS(status); - delete a; - // // empty // @@ -500,6 +490,6 @@ void UVector32Test::UVector32_API() { TEST_CHECK_STATUS(status); delete a; -}; +}