persistentstorage/sql/TEST/t_sqldbconfigfile.cpp
branchGCC_SURGE
changeset 38 c4e342fcf0c8
parent 22 a7ba600cb39d
child 40 b8bdbc8f59c7
equal deleted inserted replaced
27:ba32e40d9f36 38:c4e342fcf0c8
   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