persistentstorage/sql/TEST/t_sqldbconfigfile.cpp
changeset 22 a7ba600cb39d
parent 17 55f2396f6d25
child 40 b8bdbc8f59c7
equal deleted inserted replaced
19:d6ef85bc5971 22:a7ba600cb39d
   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