persistentstorage/sql/TEST/t_sqldbconfigfile.cpp
branchRCL_3
changeset 12 6b6fd149daa2
parent 10 31a8f755b7fe
child 23 26645d81f48d
equal deleted inserted replaced
11:211563e4b919 12:6b6fd149daa2
   999 
   999 
  1000 	TBool isFinished = EFalse;
  1000 	TBool isFinished = EFalse;
  1001 	err = KErrNotFound;
  1001 	err = KErrNotFound;
  1002 	TInt iter = 0;
  1002 	TInt iter = 0;
  1003 	TheTest.Printf(_L("Iteration\r\n"));
  1003 	TheTest.Printf(_L("Iteration\r\n"));
  1004 	for(TInt cnt = 1; !isFinished; ++cnt)
  1004 	for(TInt cnt = 0; !isFinished; ++cnt)
  1005 		{	
  1005 		{	
  1006 		for(TInt fsError = KErrNotFound; fsError >= KErrUnderflow; --fsError) // errors -1 to -10 will be generated
  1006 		for(TInt fsError = KErrNotFound; fsError >= KErrUnderflow; --fsError) // errors -1 to -10 will be generated
  1007 			{
  1007 			{
  1008 			TheTest.Printf(_L("%d/%d   \r"), ++iter, fsError);
  1008 			TheTest.Printf(_L("%d/%d   \r"), ++iter, fsError);
  1009 			(void)TheFs.SetErrorCondition(fsError, cnt); // set error code and how soon it is to occur
  1009 			(void)TheFs.SetErrorCondition(fsError, cnt); // set error code and how soon it is to occur