ICU-535 Fixed some compiler warnings.

X-SVN-Rev: 3176
This commit is contained in:
George Rhoten 2000-12-08 20:33:48 +00:00
parent ccd29c31f6
commit ee23b6e429
2 changed files with 16 additions and 13 deletions

View File

@ -561,36 +561,36 @@ UBool IntlTest::callTest( IntlTest& testToBeCalled, char* par )
return testToBeCalled.runTest( path, par );
}
void IntlTest::setPath( char* path )
void IntlTest::setPath( char* pathVal )
{
this->path = path;
this->path = pathVal;
}
UBool IntlTest::setVerbose( UBool verbose )
UBool IntlTest::setVerbose( UBool verboseVal )
{
UBool rval = this->verbose;
this->verbose = verbose;
this->verbose = verboseVal;
return rval;
}
UBool IntlTest::setNoErrMsg( UBool no_err_msg )
UBool IntlTest::setNoErrMsg( UBool no_err_msgVal )
{
UBool rval = this->no_err_msg;
this->no_err_msg = no_err_msg;
this->no_err_msg = no_err_msgVal;
return rval;
}
UBool IntlTest::setQuick( UBool quick )
UBool IntlTest::setQuick( UBool quickVal )
{
UBool rval = this->quick;
this->quick = quick;
this->quick = quickVal;
return rval;
}
UBool IntlTest::setLeaks( UBool leaks )
UBool IntlTest::setLeaks( UBool leaksVal )
{
UBool rval = this->leaks;
this->leaks = leaks;
this->leaks = leaksVal;
return rval;
}

View File

@ -103,17 +103,20 @@ protected:
virtual UBool callTest( IntlTest& testToBeCalled, char* par );
UBool LL_linestart;
int32_t LL_indentlevel;
UBool verbose;
UBool no_err_msg;
UBool quick;
UBool leaks;
private:
UBool LL_linestart;
int32_t LL_indentlevel;
int32_t errorCount;
IntlTest* caller;
char* path; // specifies subtests
protected:
virtual void LL_message( UnicodeString message, UBool newline );
// used for collation result reporting, defined here for convenience