genericservices/mimerecognitionfw/tef/T_MstrStep.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 57 2efc27d87e1c
--- a/genericservices/mimerecognitionfw/tef/T_MstrStep.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/genericservices/mimerecognitionfw/tef/T_MstrStep.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -43,7 +43,12 @@
 TVerdict CT_MstrStep::doTestStepL()
 	{	
 	INFO_PRINTF1(_L("Test Started"));
-	iFs.Connect();
+    TInt r = KErrNone;
+    r = iFs.Connect();
+    if (r != KErrNone)
+        {
+            User::Leave(r);
+        }
 	__UHEAP_MARK;
 	TRAPD(ret,doMenuL());		
 	TEST(ret==KErrNone);