phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/tsrc/ut_commlaunchercontacthandler/src/t_commlaunchercontacthandler.cpp
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
   173     const TInt aCaseNumber,   
   173     const TInt aCaseNumber,   
   174     const TFileName& /*aConfig*/,
   174     const TFileName& /*aConfig*/,
   175     TTestResult& aResult )
   175     TTestResult& aResult )
   176     {
   176     {
   177     if(!iVersionLogged)
   177     if(!iVersionLogged)
   178     	{
   178         {
   179     	SendTestModuleVersion();
   179         SendTestModuleVersion();
   180     	iVersionLogged = ETrue;
   180         iVersionLogged = ETrue;
   181     	}
   181         }
   182     
   182     
   183     // Return value
   183     // Return value
   184     TInt execStatus = KErrNone;
   184     TInt execStatus = KErrNone;
   185 
   185 
   186     // Get the pointer to test case function
   186     // Get the pointer to test case function
   317 // T_CCCAppCommLauncherContactHandler::SendTestModuleVersion
   317 // T_CCCAppCommLauncherContactHandler::SendTestModuleVersion
   318 // Method used to send version of test module
   318 // Method used to send version of test module
   319 //-----------------------------------------------------------------------------
   319 //-----------------------------------------------------------------------------
   320 //
   320 //
   321 void T_CCCAppCommLauncherContactHandler::SendTestModuleVersion()
   321 void T_CCCAppCommLauncherContactHandler::SendTestModuleVersion()
   322 	{
   322     {
   323 	TVersion moduleVersion;
   323     TVersion moduleVersion;
   324 	moduleVersion.iMajor = TEST_MODULE_VERSION_MAJOR;
   324     moduleVersion.iMajor = TEST_MODULE_VERSION_MAJOR;
   325 	moduleVersion.iMinor = TEST_MODULE_VERSION_MINOR;
   325     moduleVersion.iMinor = TEST_MODULE_VERSION_MINOR;
   326 	moduleVersion.iBuild = TEST_MODULE_VERSION_BUILD;
   326     moduleVersion.iBuild = TEST_MODULE_VERSION_BUILD;
   327 	
   327     
   328 	TFileName moduleName;
   328     TFileName moduleName;
   329 	moduleName = _L("t_commlaunchercontacthandler.dll");
   329     moduleName = _L("t_commlaunchercontacthandler.dll");
   330 
   330 
   331 	TestModuleIf().SendTestModuleVersion(moduleVersion, moduleName);
   331     TestModuleIf().SendTestModuleVersion(moduleVersion, moduleName);
   332 	}
   332     }
   333 
   333 
   334 // ========================== OTHER EXPORTED FUNCTIONS =========================
   334 // ========================== OTHER EXPORTED FUNCTIONS =========================
   335 
   335 
   336 // -----------------------------------------------------------------------------
   336 // -----------------------------------------------------------------------------
   337 // LibEntryL is a polymorphic Dll entry point
   337 // LibEntryL is a polymorphic Dll entry point