mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-16 18:25:57 +00:00
ICU-4092 Move rtti test code to proper location
X-SVN-Rev: 16970
This commit is contained in:
parent
813b879013
commit
1958749d0d
2 changed files with 2 additions and 10 deletions
|
@ -150,6 +150,7 @@ UObject *UObjectTest::testClass(UObject *obj,
|
|||
#include "unesctrn.h"
|
||||
#include "uni2name.h"
|
||||
#include "uvector.h"
|
||||
#include "uvectr32.h"
|
||||
#include "currfmt.h"
|
||||
#include "buddhcal.h"
|
||||
#include "islamcal.h"
|
||||
|
@ -329,6 +330,7 @@ void UObjectTest::testIDs()
|
|||
TESTCLASSID_CTOR(UnicodeSetIterator,(UnicodeSet(0,1)));
|
||||
TESTCLASSID_CTOR(UStack, (status));
|
||||
TESTCLASSID_CTOR(UVector, (status));
|
||||
TESTCLASSID_CTOR(UVector32, (status));
|
||||
|
||||
#if !UCONFIG_NO_SERVICE
|
||||
TESTCLASSID_CTOR(SimpleFactory, (NULL, UnicodeString("foo")));
|
||||
|
|
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue