messagingfw/msgtest/integration/email/src/t_email.cpp
changeset 58 6c34d0baa0b1
parent 0 8e480a14352b
equal deleted inserted replaced
55:6f4453afd006 58:6c34d0baa0b1
   118 
   118 
   119 void doMainL()
   119 void doMainL()
   120 	{
   120 	{
   121 	RTest test(_L("Email smoke tests"));
   121 	RTest test(_L("Email smoke tests"));
   122 	RFs fs;
   122 	RFs fs;
   123 	fs.Connect();
   123 	User::LeaveIfError( fs.Connect() );
   124 
       
   125 	// Load the serial comms device drivers.  If this is not done,
   124 	// Load the serial comms device drivers.  If this is not done,
   126 	// connecting via NT-RAS returns KErrNotFound (-1).
   125 	// connecting via NT-RAS returns KErrNotFound (-1).
   127 	TInt driverErr;
   126 	TInt driverErr;
   128 	driverErr=User::LoadPhysicalDevice(PDD_NAME);
   127 	driverErr=User::LoadPhysicalDevice(PDD_NAME);
   129 	if (driverErr!=KErrNone && driverErr!=KErrAlreadyExists)
   128 	if (driverErr!=KErrNone && driverErr!=KErrAlreadyExists)