equal
deleted
inserted
replaced
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 |