ICU-2363 fix minor bugs like making runTest method non-virtual..suggested by Alan
X-SVN-Rev: 10933
This commit is contained in:
parent
e4817ed106
commit
2d75ffefc7
@ -101,12 +101,10 @@ UPerfTest::UPerfTest(int32_t argc, const char* argv[], UErrorCode& status){
|
||||
}
|
||||
if(options[ITERATIONS].doesOccur) {
|
||||
iterations = atoi(options[ITERATIONS].value);
|
||||
time =0;
|
||||
}
|
||||
|
||||
if(options[TIME].doesOccur) {
|
||||
time = atoi(options[TIME].value);
|
||||
iterations = 0;
|
||||
}
|
||||
|
||||
if(options[LINE_MODE].doesOccur) {
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
class U_EXPORT UPerfTest {
|
||||
public:
|
||||
UBool run();
|
||||
virtual UBool runTest( char* name = NULL, char* par = NULL ); // not to be overidden
|
||||
UBool runTest( char* name = NULL, char* par = NULL ); // not to be overidden
|
||||
|
||||
virtual void usage( void ) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user