ICU-3221 Fix some AIX linker warnings.
X-SVN-Rev: 13482
This commit is contained in:
parent
3c223acda5
commit
bd5472281f
@ -36,9 +36,11 @@ enum {
|
||||
ESC_CB='&'
|
||||
};
|
||||
|
||||
ConversionTest::~ConversionTest() {}
|
||||
|
||||
void
|
||||
ConversionTest::runIndexedTest(int32_t index, UBool exec, const char *&name, char * /*par*/) {
|
||||
if (exec) logln("TestSuite StringCaseTest: ");
|
||||
if (exec) logln("TestSuite ConversionTest: ");
|
||||
switch (index) {
|
||||
case 0: name="TestToUnicode"; if (exec) TestToUnicode(); break;
|
||||
case 1: name="TestFromUnicode"; if (exec) TestFromUnicode(); break;
|
||||
|
@ -52,7 +52,7 @@ struct ConversionCase {
|
||||
class ConversionTest : public IntlTest {
|
||||
public:
|
||||
ConversionTest() {}
|
||||
virtual ~ConversionTest() {}
|
||||
virtual ~ConversionTest();
|
||||
|
||||
void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=0);
|
||||
|
||||
|
@ -75,6 +75,7 @@ const int32_t G7CollationTest::results[G7CollationTest::TESTLOCALES][G7Collation
|
||||
{ 19, 22, 21, 24, 23, 25, 12, 13, 9, 0, 17, 16, 28, 26, 27, 15, 18, 14, 1, 11, 2, 3, 4, 5, 20, 6, 8, 10, 7, 29 }
|
||||
};
|
||||
|
||||
G7CollationTest::~G7CollationTest() {}
|
||||
|
||||
void G7CollationTest::TestG7Locales(/* char* par */)
|
||||
{
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
enum ETotal_Test { TOTALTESTSET = 30 };
|
||||
|
||||
G7CollationTest() {}
|
||||
virtual ~G7CollationTest() {}
|
||||
virtual ~G7CollationTest();
|
||||
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
||||
|
||||
|
||||
|
@ -26,6 +26,8 @@
|
||||
#include "ustrtest.h"
|
||||
#include "tstdtmod.h"
|
||||
|
||||
StringCaseTest::~StringCaseTest() {}
|
||||
|
||||
void
|
||||
StringCaseTest::runIndexedTest(int32_t index, UBool exec, const char *&name, char * /*par*/) {
|
||||
if (exec) logln("TestSuite StringCaseTest: ");
|
||||
|
@ -23,6 +23,7 @@
|
||||
using namespace std;
|
||||
#endif
|
||||
|
||||
StringTest::~StringTest() {}
|
||||
|
||||
void StringTest::TestEndian(void) {
|
||||
union {
|
||||
|
@ -25,7 +25,7 @@
|
||||
class StringTest : public IntlTest {
|
||||
public:
|
||||
StringTest() {}
|
||||
virtual ~StringTest() {}
|
||||
virtual ~StringTest();
|
||||
|
||||
void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=NULL);
|
||||
|
||||
|
@ -26,15 +26,13 @@ using namespace std;
|
||||
|
||||
#define LENGTHOF(array) (sizeof(array)/sizeof((array)[0]))
|
||||
|
||||
UnicodeStringTest::~UnicodeStringTest() {}
|
||||
|
||||
void UnicodeStringTest::runIndexedTest( int32_t index, UBool exec, const char* &name, char *par)
|
||||
{
|
||||
if (exec) logln("TestSuite UnicodeStringTest: ");
|
||||
switch (index) {
|
||||
case 0: name = "TestBasicManipulation"; if (exec) TestBasicManipulation(); break;
|
||||
case 1: name = "TestCompare"; if (exec) TestCompare(); break;
|
||||
case 2: name = "TestExtract"; if (exec) TestExtract(); break;
|
||||
case 3: name = "TestRemoveReplace"; if (exec) TestRemoveReplace(); break;
|
||||
case 4:
|
||||
case 0:
|
||||
name = "StringCaseTest";
|
||||
if (exec) {
|
||||
logln("StringCaseTest---"); logln("");
|
||||
@ -42,6 +40,10 @@ void UnicodeStringTest::runIndexedTest( int32_t index, UBool exec, const char* &
|
||||
callTest(test, par);
|
||||
}
|
||||
break;
|
||||
case 1: name = "TestBasicManipulation"; if (exec) TestBasicManipulation(); break;
|
||||
case 2: name = "TestCompare"; if (exec) TestCompare(); break;
|
||||
case 3: name = "TestExtract"; if (exec) TestExtract(); break;
|
||||
case 4: name = "TestRemoveReplace"; if (exec) TestRemoveReplace(); break;
|
||||
case 5: name = "TestSearching"; if (exec) TestSearching(); break;
|
||||
case 6: name = "TestSpacePadding"; if (exec) TestSpacePadding(); break;
|
||||
case 7: name = "TestPrefixAndSuffix"; if (exec) TestPrefixAndSuffix(); break;
|
||||
|
@ -15,7 +15,7 @@
|
||||
class UnicodeStringTest: public IntlTest {
|
||||
public:
|
||||
UnicodeStringTest() {}
|
||||
virtual ~UnicodeStringTest() {}
|
||||
virtual ~UnicodeStringTest();
|
||||
|
||||
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
|
||||
|
||||
@ -76,7 +76,7 @@ public:
|
||||
class StringCaseTest: public IntlTest {
|
||||
public:
|
||||
StringCaseTest() {}
|
||||
virtual ~StringCaseTest() {}
|
||||
virtual ~StringCaseTest();
|
||||
|
||||
void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par=0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user