messagingfw/msgtestfw/TestActions/Base/corruption/src/CMtfTestActionCorruptFile.cpp
equal
deleted
inserted
replaced
105 TestCase().INFO_PRINTF2(_L("Corruption Type = %d"), corruptionType); |
105 TestCase().INFO_PRINTF2(_L("Corruption Type = %d"), corruptionType); |
106 |
106 |
107 *paramFilePath = aFilePath; |
107 *paramFilePath = aFilePath; |
108 |
108 |
109 RFs aFs; |
109 RFs aFs; |
110 aFs.Connect(); |
110 TInt err = aFs.Connect(); |
|
111 User::LeaveIfError(err); |
111 CleanupClosePushL(aFs); |
112 CleanupClosePushL(aFs); |
112 |
113 |
113 // corrupt the file |
114 // corrupt the file |
114 CorruptFileLC(aFs, *paramFilePath, corruptionType); |
115 CorruptFileLC(aFs, *paramFilePath, corruptionType); |
115 |
116 |