equal
deleted
inserted
replaced
124 CFeatMgrBURSim* simulate = CFeatMgrBURSim::NewLC(); |
124 CFeatMgrBURSim* simulate = CFeatMgrBURSim::NewLC(); |
125 RThread testThread; |
125 RThread testThread; |
126 TRequestStatus testStatus; |
126 TRequestStatus testStatus; |
127 CleanupClosePushL( testThread ); |
127 CleanupClosePushL( testThread ); |
128 |
128 |
|
129 //Needs to ensure server is started before simulating backup operation |
|
130 RFeatureControl rfc; |
|
131 TTEST2( rfc.Connect(), KErrNone ); //This will start the server if not already started |
|
132 rfc.Close(); |
|
133 |
129 simulate->Simulate_CheckRegFileL(); |
134 simulate->Simulate_CheckRegFileL(); |
130 |
135 |
131 // Simulate a restore |
136 // Simulate a restore |
132 RDebug::Print(_L("Simulating Restore of FeatMgr\r\n")); |
137 RDebug::Print(_L("Simulating Restore of FeatMgr\r\n")); |
133 simulate->Simulate_StartRestoreL(); |
138 simulate->Simulate_StartRestoreL(); |