(file) Return to StressTestController.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / test / StressTestController

Diff for /pegasus/test/StressTestController/StressTestController.cpp between version 1.3 and 1.3.24.2

version 1.3, 2006/04/28 18:41:40 version 1.3.24.2, 2007/09/28 15:31:43
Line 2301 
Line 2301 
          -   "]" indicates end of client options.          -   "]" indicates end of client options.
          -   Client properties and values are seperated by commas.          -   Client properties and values are seperated by commas.
          Example:          Example:
               [clientName=CLI,Options=niall]                [clientName=cimcli,Options=niall]
     - This method will throw appropriate exceptions.     - This method will throw appropriate exceptions.
  
     @param   p               The pointer to the char in the concerned line     @param   p               The pointer to the char in the concerned line
Line 2329 
Line 2329 
         }         }
         if (!(isalpha(*p) || *p == '_'))         if (!(isalpha(*p) || *p == '_'))
         {         {
             throw StressTestControllerException(StressTestControllerException::INVALID_OPTION);              throw StressTestControllerException
                 (StressTestControllerException::INVALID_OPTION);
         }         }
  
         name.append(*p++);         name.append(*p++);
Line 2353 
Line 2354 
         //         //
         if (*p != '=')         if (*p != '=')
         {         {
             throw StressTestControllerException(StressTestControllerException::INVALID_OPERATOR);              throw StressTestControllerException
                 (StressTestControllerException::INVALID_OPERATOR);
         }         }
  
         p++;         p++;
Line 2385 
Line 2387 
  
         if(*p !=']' && *p != ',')         if(*p !=']' && *p != ',')
         {         {
             throw StressTestControllerException(StressTestControllerException::MISSING_BRACE);              throw StressTestControllerException
                 (StressTestControllerException::MISSING_BRACE);
         }         }
         if(value == String::EMPTY)         if(value == String::EMPTY)
         {         {
             throw StressTestControllerException(StressTestControllerException::MISSING_VALUE);              throw StressTestControllerException
                 (StressTestControllerException::MISSING_VALUE);
         }         }
  
 #ifdef STRESSTEST_DEBUG #ifdef STRESSTEST_DEBUG
Line 2743 
Line 2747 
          -   "[" indicates start of client options.          -   "[" indicates start of client options.
          -   Client properties and values are seperated by commas.          -   Client properties and values are seperated by commas.
          Example:          Example:
               [clientName=CLI,Options=niall]                [clientName=cimcli,Options=niall]
  
     @param   line            The line that will be parsed.     @param   line            The line that will be parsed.
     @parm    lineNumber      The line number of the line.     @parm    lineNumber      The line number of the line.
Line 3217 
Line 3221 
                 {                 {
                     cout << "Stress Test Client Name:" <<WRAPPER_CLIENT<< endl;                     cout << "Stress Test Client Name:" <<WRAPPER_CLIENT<< endl;
                 }                 }
                 if (!_clientTable[i].insert(CLIENTNAME, "CLI"))                  if (!_clientTable[i].insert(CLIENTNAME, "cimcli"))
                 {                 {
                     log_file<< "Duplicate name already saved: "<<                     log_file<< "Duplicate name already saved: "<<
                         CLIENTNAME<<endl;                         CLIENTNAME<<endl;
Line 3235 
Line 3239 
                         cout<< "Duplicate name already saved: "<<OPTIONS<<endl;                         cout<< "Duplicate name already saved: "<<OPTIONS<<endl;
                     }                     }
                 }                 }
                 log_file<< "            Client Command &  options: CLI niall"<<                  log_file<< "         Client Command &  options: cimcli niall"<<
                     endl;                     endl;
                 if (verboseEnabled)                 if (verboseEnabled)
                 {                 {
                    cout<< "            Client Command &  options: CLI niall"<<                     cout<< "          Client Command &  options: cimcli niall"<<
                        endl;                        endl;
                 }                 }
                 break;                 break;


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.24.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2