equal
deleted
inserted
replaced
62 |
62 |
63 void CLoopbackConfig::ConstructL() |
63 void CLoopbackConfig::ConstructL() |
64 { |
64 { |
65 RFs fs; |
65 RFs fs; |
66 User::LeaveIfError(fs.Connect()); |
66 User::LeaveIfError(fs.Connect()); |
|
67 CleanupClosePushL(fs); |
|
68 |
67 CTestConfig* configFile = CTestConfig::NewLC(fs, KConfigFileDir, KLoopbackConfigFilename); |
69 CTestConfig* configFile = CTestConfig::NewLC(fs, KConfigFileDir, KLoopbackConfigFilename); |
68 |
70 |
69 TBuf8<KMaxName> sectionName; |
71 TBuf8<KMaxName> sectionName; |
70 TInt testNum = 0; |
72 TInt testNum = 0; |
71 CTestConfigSection* configSection = NULL; |
73 CTestConfigSection* configSection = NULL; |
162 } |
164 } |
163 iConfigItems->AppendL(newItem); |
165 iConfigItems->AppendL(newItem); |
164 } |
166 } |
165 |
167 |
166 CleanupStack::PopAndDestroy(configFile); |
168 CleanupStack::PopAndDestroy(configFile); |
|
169 CleanupStack::PopAndDestroy(); // RFs handle |
167 } |
170 } |
168 |
171 |
169 /** |
172 /** |
170 @return The number of config items found |
173 @return The number of config items found |
171 */ |
174 */ |