equal
deleted
inserted
replaced
693 |
693 |
694 nRes = dir.Open(TheFs,_L("\\*.*"),KEntryAttNormal); //-- open a directory |
694 nRes = dir.Open(TheFs,_L("\\*.*"),KEntryAttNormal); //-- open a directory |
695 test_KErrNone(nRes); |
695 test_KErrNone(nRes); |
696 |
696 |
697 //-- this will mark the current Mount as "Dismounted" and will instantiate another CMountCB for formatting |
697 //-- this will mark the current Mount as "Dismounted" and will instantiate another CMountCB for formatting |
698 fmtMode = EQuickFormat | EForceFormat; |
698 fmtMode = EQuickFormat | EForceFormat; |
699 |
699 |
700 nRes = format.Open(TheFs, drivePath, fmtMode, fmtCnt); |
700 nRes = format.Open(TheFs, drivePath, fmtMode, fmtCnt); |
701 test_KErrNone(nRes); |
701 test_KErrNone(nRes); |
702 |
702 |
703 nRes = DoFormatSteps(format, fmtCnt); |
703 nRes = DoFormatSteps(format, fmtCnt); |
704 test_KErrNone(nRes); |
704 test_KErrNone(nRes); |
705 |
705 |
875 TInt nRes=TheFs.CharToDrive(gDriveToTest, gDrive); |
875 TInt nRes=TheFs.CharToDrive(gDriveToTest, gDrive); |
876 test_KErrNone(nRes); |
876 test_KErrNone(nRes); |
877 |
877 |
878 PrintDrvInfo(TheFs, gDrive); |
878 PrintDrvInfo(TheFs, gDrive); |
879 |
879 |
880 if(Is_Win32(TheFs, gDrive)) |
880 if(Is_SimulatedSystemDrive(TheFs, gDrive)) |
881 return; //-- emulator drive c: |
881 { |
|
882 test.Printf(_L("Skipping T_FORMAT on PlatSim/Emulator drive %C:\n"), gSessionPath[0]); |
|
883 return; |
|
884 } |
882 |
885 |
883 |
886 |
884 SetSessionPath(_L("\\")); |
887 SetSessionPath(_L("\\")); |
885 |
888 |
886 Test1(); |
889 Test1(); |