mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepController.cpp
changeset 31 ae0addfe117e
parent 0 40261b775718
child 32 ae690a8c4a18
equal deleted inserted replaced
30:9707f1c07383 31:ae0addfe117e
   210 		return result;
   210 		return result;
   211 		}
   211 		}
   212 
   212 
   213 	//[ ensure the controller is unloaded so that it does 
   213 	//[ ensure the controller is unloaded so that it does 
   214 	// not interfere with the following test ]
   214 	// not interfere with the following test ]
   215 	// There is a bug in this code and the stop followed by reset
   215 	// There is error in this code and the stop followed by reset
   216 	// ensure the controller resources are released.
   216 	// ensure the controller resources are released.
   217 	iController.Stop();
   217 	iController.Stop();
   218 	iController.Reset();
   218 	iController.Reset();
   219 	iController.Close();  
   219 	iController.Close();  
   220 	
   220 	
   365 
   365 
   366 	result = EPass ;
   366 	result = EPass ;
   367 
   367 
   368 	//[ ensure the controller is unloaded so that it does 
   368 	//[ ensure the controller is unloaded so that it does 
   369 	// not interfere with the following test ]
   369 	// not interfere with the following test ]
   370 	// There is a bug in this code and the stop followed by reset
   370 	// There is error in this code and the stop followed by reset
   371 	// ensure the controller resources are released.
   371 	// ensure the controller resources are released.
   372 	iController.Stop();
   372 	iController.Stop();
   373 	iController.Reset();
   373 	iController.Reset();
   374 	iController.Close();  
   374 	iController.Close();  
   375 		
   375 		
   522 
   522 
   523 	result = EPass ;
   523 	result = EPass ;
   524 
   524 
   525 	//[ ensure the controller is unloaded so that it does 
   525 	//[ ensure the controller is unloaded so that it does 
   526 	// not interfere with the following test ]
   526 	// not interfere with the following test ]
   527 	// There is a bug in this code and the stop followed by reset
   527 	// There is error in this code and the stop followed by reset
   528 	// ensure the controller resources are released.
   528 	// ensure the controller resources are released.
   529 	iController.Stop();
   529 	iController.Stop();
   530 	iController.Reset();
   530 	iController.Reset();
   531 	iController.Close();  
   531 	iController.Close();  
   532 		
   532 		
   583 		KNullDesC8);
   583 		KNullDesC8);
   584 	User::LeaveIfError( errorCode );
   584 	User::LeaveIfError( errorCode );
   585 
   585 
   586 	//[ ensure the controller is unloaded so that it does 
   586 	//[ ensure the controller is unloaded so that it does 
   587 	// not interfere with the following test ]
   587 	// not interfere with the following test ]
   588 	// There is a bug in this code and the stop followed by reset
   588 	// There is error in this code and the stop followed by reset
   589 	// ensure the controller resources are released.
   589 	// ensure the controller resources are released.
   590 	iController.Stop();
   590 	iController.Stop();
   591 	iController.Reset();
   591 	iController.Reset();
   592 	iController.Close();  
   592 	iController.Close();  
   593 
   593