mmlibs/mmfw/tsrc/mmfunittest/Actrl/TestStepActrlPlay.cpp
changeset 41 f7bf1ed8db72
parent 32 ae690a8c4a18
equal deleted inserted replaced
32:ae690a8c4a18 41:f7bf1ed8db72
   185 	
   185 	
   186 	result = SearchForEvent( playEvent );
   186 	result = SearchForEvent( playEvent );
   187 	
   187 	
   188 	//[ ensure the controller is unloaded so that it does 
   188 	//[ ensure the controller is unloaded so that it does 
   189 	// not interfere with the following test ]
   189 	// not interfere with the following test ]
   190 	// There is a bug in this code and the stop followed by reset
   190 	// There is error in this code and the stop followed by reset
   191 	// ensure the controller resources are released.
   191 	// ensure the controller resources are released.
   192 	iController.Stop();
   192 	iController.Stop();
   193 	iController.Reset();
   193 	iController.Reset();
   194 	iController.Close();  
   194 	iController.Close();  
   195 
   195 
   285 		User::LeaveIfError( iController.Stop() );
   285 		User::LeaveIfError( iController.Stop() );
   286 		}
   286 		}
   287 	
   287 	
   288 	//[ ensure the controller is unloaded so that it does 
   288 	//[ ensure the controller is unloaded so that it does 
   289 	// not interfere with the following test ]
   289 	// not interfere with the following test ]
   290 	// There is a bug in this code and the stop followed by reset
   290 	// There is error in this code and the stop followed by reset
   291 	// ensure the controller resources are released.
   291 	// ensure the controller resources are released.
   292 	iController.Stop();
   292 	iController.Stop();
   293 	iController.Reset();
   293 	iController.Reset();
   294 	iController.Close();  
   294 	iController.Close();  
   295 
   295 
   434 		return result;
   434 		return result;
   435 		}
   435 		}
   436 
   436 
   437 	//[ ensure the controller is unloaded so that it does 
   437 	//[ ensure the controller is unloaded so that it does 
   438 	// not interfere with the following test ]
   438 	// not interfere with the following test ]
   439 	// There is a bug in this code and the stop followed by reset
   439 	// There is error in this code and the stop followed by reset
   440 	// ensure the controller resources are released.
   440 	// ensure the controller resources are released.
   441 	iController.Stop();
   441 	iController.Stop();
   442 	iController.Reset();
   442 	iController.Reset();
   443 	iController.Close();  
   443 	iController.Close();  
   444 	
   444 	
   598 	// [ now stop from paused ]
   598 	// [ now stop from paused ]
   599 	User::LeaveIfError( iController.Stop() );
   599 	User::LeaveIfError( iController.Stop() );
   600 	
   600 	
   601 	//[ ensure the controller is unloaded so that it does 
   601 	//[ ensure the controller is unloaded so that it does 
   602 	// not interfere with the following test ]
   602 	// not interfere with the following test ]
   603 	// There is a bug in this code and the stop followed by reset
   603 	// There is error in this code and the stop followed by reset
   604 	// ensure the controller resources are released.
   604 	// ensure the controller resources are released.
   605 	iController.Stop();
   605 	iController.Stop();
   606 	iController.Reset();
   606 	iController.Reset();
   607 	iController.Close();  
   607 	iController.Close();  
   608 
   608 
   766 		INFO_PRINTF2(_L("Error deleting file - Delete returned %d"), ret);
   766 		INFO_PRINTF2(_L("Error deleting file - Delete returned %d"), ret);
   767 		}
   767 		}
   768 		
   768 		
   769 	//[ ensure the controller is unloaded so that it does 
   769 	//[ ensure the controller is unloaded so that it does 
   770 	// not interfere with the following test ]
   770 	// not interfere with the following test ]
   771 	// There is a bug in this code and the stop followed by reset
   771 	// There is error in this code and the stop followed by reset
   772 	// ensure the controller resources are released.
   772 	// ensure the controller resources are released.
   773 	iController.Stop();
   773 	iController.Stop();
   774 	iController.Reset();
   774 	iController.Reset();
   775 	iController.Close();  
   775 	iController.Close();  
   776 
   776 
  1039 		return EFail;
  1039 		return EFail;
  1040 		}
  1040 		}
  1041 		
  1041 		
  1042 	//[ ensure the controller is unloaded so that it does 
  1042 	//[ ensure the controller is unloaded so that it does 
  1043 	// not interfere with the following test ]
  1043 	// not interfere with the following test ]
  1044 	// There is a bug in this code and the stop followed by reset
  1044 	// There is error in this code and the stop followed by reset
  1045 	// ensure the controller resources are released.
  1045 	// ensure the controller resources are released.
  1046 	iController.Stop();
  1046 	iController.Stop();
  1047 	iController.Reset();
  1047 	iController.Reset();
  1048 	iController.Close();  
  1048 	iController.Close();  
  1049 
  1049