ICU-699 reenable tests, fix compiler errs
X-SVN-Rev: 13598
This commit is contained in:
parent
f699348281
commit
c2da4085ce
@ -302,15 +302,12 @@ void LocaleTest::TestBasicGetters() {
|
||||
errln("assignment to bogus Locale does not unbogus it or sets bad data");
|
||||
}
|
||||
|
||||
errln("%s:%d: clone test commented out..\n", __FILE__, __LINE__);
|
||||
#if 0
|
||||
Locale a("eo_DE@currency=DEM");
|
||||
Locale *pb=a.clone();
|
||||
if(pb==&a || *pb!=a) {
|
||||
errln("Locale.clone() failed");
|
||||
}
|
||||
delete pb;
|
||||
#endif
|
||||
}
|
||||
|
||||
void LocaleTest::TestParallelAPIValues() {
|
||||
|
@ -91,14 +91,11 @@ void ParsePositionTest::TestParsePosition()
|
||||
errln("*** PP operator= operator== or operator != result");
|
||||
}
|
||||
|
||||
errln("%s:%d: clone test commented out..\n", __FILE__, __LINE__);
|
||||
#if 0
|
||||
ParsePosition *ppp = pp5.clone();
|
||||
if(ppp == &pp5 || *ppp != pp5) {
|
||||
errln("ParsePosition.clone() failed");
|
||||
}
|
||||
delete ppp;
|
||||
#endif
|
||||
}
|
||||
|
||||
void ParsePositionTest::TestFieldPosition()
|
||||
@ -151,14 +148,11 @@ void ParsePositionTest::TestFieldPosition()
|
||||
|
||||
logln("");
|
||||
|
||||
errln("%s:%d: clone test commented out..\n", __FILE__, __LINE__);
|
||||
#if 0
|
||||
FieldPosition *pfp = fp.clone();
|
||||
if(pfp == &fp || *pfp != fp) {
|
||||
errln("FieldPosition.clone() failed");
|
||||
}
|
||||
delete pfp;
|
||||
#endif
|
||||
}
|
||||
|
||||
void ParsePositionTest::TestFieldPosition_example()
|
||||
|
@ -456,9 +456,7 @@ NewResourceBundleTest::TestOtherAPI(){
|
||||
|
||||
ResourceBundle *p;
|
||||
|
||||
errln("%s:%d: clone test commented out..\n", __FILE__, __LINE__);
|
||||
#if 0
|
||||
r = defaultresource.clone();
|
||||
p = defaultresource.clone();
|
||||
if(p == &defaultresource || !equalRB(*p, defaultresource)) {
|
||||
errln("ResourceBundle.clone() failed");
|
||||
}
|
||||
@ -469,7 +467,6 @@ NewResourceBundleTest::TestOtherAPI(){
|
||||
errln("2nd ResourceBundle.clone() failed");
|
||||
}
|
||||
delete p;
|
||||
#endif
|
||||
|
||||
UVersionInfo ver;
|
||||
copyRes.getVersion(ver);
|
||||
|
@ -380,8 +380,6 @@ UBool StringSearchTest::assertEqual(const SearchData *search)
|
||||
}
|
||||
|
||||
|
||||
errln("%s:%d: clone test commented out..\n", __FILE__, __LINE__);
|
||||
#if 0
|
||||
strsrch2 = strsrch->clone();
|
||||
if( strsrch2 == strsrch || *strsrch2 != *strsrch ||
|
||||
!assertEqualWithStringSearch(strsrch2, search)
|
||||
@ -393,7 +391,6 @@ UBool StringSearchTest::assertEqual(const SearchData *search)
|
||||
return FALSE;
|
||||
}
|
||||
delete strsrch2;
|
||||
#endif
|
||||
|
||||
collator->setStrength(getECollationStrength(UCOL_TERTIARY));
|
||||
delete strsrch;
|
||||
|
@ -245,8 +245,6 @@ void test_Formattable( void )
|
||||
}
|
||||
|
||||
|
||||
it_errln(UnicodeString("tfsmalls.cpp:") + __LINE__ + ": clone test commented out..\n");
|
||||
#if 0
|
||||
Formattable *pf;
|
||||
for(i = 0; i < ft_cnt; ++i) {
|
||||
pf = ftarray[i].clone();
|
||||
@ -255,7 +253,6 @@ void test_Formattable( void )
|
||||
}
|
||||
delete pf;
|
||||
}
|
||||
#endif
|
||||
|
||||
const Formattable ftarr1[] = { Formattable( (int32_t)1 ), Formattable( (int32_t)2 ) };
|
||||
const Formattable ftarr2[] = { Formattable( (int32_t)3 ), Formattable( (int32_t)4 ) };
|
||||
|
Loading…
Reference in New Issue
Block a user