stif/TestCombiner/src/TestCombinerUtils.cpp
changeset 26 4fde310f06fe
parent 0 a03f92240627
child 30 86a2e675b80a
equal deleted inserted replaced
21:f5d4820de50d 26:4fde310f06fe
    84     iTimeout(0),
    84     iTimeout(0),
    85     iModuleBuf(0),
    85     iModuleBuf(0),
    86     iIniFileBuf(0),
    86     iIniFileBuf(0),
    87     iConfigBuf(0),
    87     iConfigBuf(0),
    88     iTestIdBuf(0),
    88     iTestIdBuf(0),
    89     iTitleBuf(0)
    89     iTitleBuf(0),
       
    90 	iTestCaseArgumentsBuf(0)
    90     {
    91     {
    91 
    92 
    92     iCategory = TFullTestResult::ECaseExecuted; 
    93     iCategory = TFullTestResult::ECaseExecuted; 
    93 
    94 
    94     };
    95     };
   175     delete iModuleBuf;
   176     delete iModuleBuf;
   176     delete iIniFileBuf;
   177     delete iIniFileBuf;
   177     delete iConfigBuf;
   178     delete iConfigBuf;
   178     delete iTestIdBuf;
   179     delete iTestIdBuf;
   179     delete iTitleBuf;
   180     delete iTitleBuf;
       
   181 	delete iTestCaseArgumentsBuf;
   180     }
   182     }
   181 
   183 
   182 /*
   184 /*
   183 -------------------------------------------------------------------------------
   185 -------------------------------------------------------------------------------
   184 
   186 
   349     {
   351     {
   350 
   352 
   351     iTitleBuf = aTitle.AllocL();
   353     iTitleBuf = aTitle.AllocL();
   352     iTitle.Set(iTitleBuf->Des());
   354     iTitle.Set(iTitleBuf->Des());
   353     }
   355     }
       
   356 
       
   357 /*
       
   358 -------------------------------------------------------------------------------
       
   359 
       
   360      Class: CStartInfo
       
   361 
       
   362      Method: SetTestCaseArguments
       
   363 
       
   364      Description: Sets test case arguments
       
   365      
       
   366      Parameters:  const TDesC& aTestCaseArguments: in: test case arguments.
       
   367      
       
   368      Return Values: None
       
   369 
       
   370      Errors/Exceptions: None
       
   371 
       
   372      Status: Proposal
       
   373     
       
   374 -------------------------------------------------------------------------------
       
   375 */        
       
   376 void CStartInfo::SetTestCaseArgumentsL( const TDesC& aTestCaseArguments )
       
   377     {
       
   378     delete iTestCaseArgumentsBuf;
       
   379 	iTestCaseArgumentsBuf = NULL;
       
   380     iTestCaseArgumentsBuf = aTestCaseArguments.AllocL();
       
   381 	iTestCaseArguments.Set( iTestCaseArgumentsBuf->Des() );
       
   382     }
       
   383 
   354 
   384 
   355 /*
   385 /*
   356 -------------------------------------------------------------------------------
   386 -------------------------------------------------------------------------------
   357 
   387 
   358     DESCRIPTION
   388     DESCRIPTION