diff -r 000000000000 -r 5e5d6b214f4f uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/branch_coverage/indexD35.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/branch_coverage/indexD35.html Tue Feb 02 10:12:18 2010 +0200 @@ -0,0 +1,166 @@ + + +CTC++ Coverage Report + + + + + + + + +CTC++ Coverage Report - +Execution Profile +   #35/43

+Directory Summary | Files Summary | Functions Summary | Execution Profile
+To files: First | Previous | Next | Last | Index | No Index


+File: \meco_domain\conversations\uiservicetab\vimpstcmdprocess\src\cvimpstcmdlogin.cpp
+Instrumentation mode: function-decision
+TER: 100 % ( 13/ 13)

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Start/ End/    
True False - Line Source

  1 /*
  2 * ===========================================================================
  3 *  Name        : cvimpstcmdlogin.cpp
  4 *  Part of     : IMUiServiceTab/vimpstcmdprocess
  5 *  Description : 
  6 *  Version     : %version: 2 %
  7 *
  8 *  Copyright © 2008 Nokia.  All rights reserved.
  9 *  This material, including documentation and any related computer
  10 *  programs, is protected by copyright controlled by Nokia.  All
  11 *  rights are reserved.  Copying, including reproducing, storing,
  12 *  adapting or translating, any or all of this material requires the
  13 *  prior written consent of Nokia.  This material also contains
  14 *  confidential information which may not be disclosed to others
  15 *  without the prior written consent of Nokia.
  16 * ============================================================================
  17 */
  18 
  19 // INCLUDE FILES
  20 #include "cvimpstcmdlogin.h"
  21 
  22 #include "vimpstcmd.hrh"
  23 #include "mvimpstcmdobserver.h"
  24 #include "vimpstdebugprint.h" 
  25 
  26 #include <e32def.h>
  27 #include "mvimpstengine.h"
  28 
  29 // Constants
  30 
  31 // --------------------------------------------------------------------------
  32 // CVIMPSTCmdLogin::CVIMPSTCmdLogin
  33 // --------------------------------------------------------------------------
  34 //
 
  35 CVIMPSTCmdLogin::CVIMPSTCmdLogin( 
  36         const TInt aCommandId ,TUint32 aServiceID,
  37         MVIMPSTEngine& aEngine) :            
  38             iCommandId( aCommandId ),
  39             iServiceId( aServiceID ),
  40             iEngine(aEngine)
  41     {
  42     }
  43 
  44 // --------------------------------------------------------------------------
  45 // CVIMPSTCmdLogin::~CVIMPSTCmdLogin
  46 // --------------------------------------------------------------------------
  47 //
 
  48 CVIMPSTCmdLogin::~CVIMPSTCmdLogin()
  49     {    
  50     
  51     }
  52 
  53 // --------------------------------------------------------------------------
  54 // CVIMPSTCmdLogin::NewL
  55 // --------------------------------------------------------------------------
  56 //
 
  57 CVIMPSTCmdLogin* CVIMPSTCmdLogin::NewL( 
  58         const TInt aCommandId,TUint32 aServiceID,
  59         MVIMPSTEngine& aEngine)
  60     {
  61     CVIMPSTCmdLogin* self = new (ELeave ) CVIMPSTCmdLogin( aCommandId ,aServiceID, aEngine);
  62     self->ConstructL(); //use contsurctL if necessary
   63     return self;
  64     }
  65 // --------------------------------------------------------------------------
  66 // CVIMPSTCmdLogin::ConstructL
  67 // --------------------------------------------------------------------------
  68 //
 
  69 void CVIMPSTCmdLogin::ConstructL()
  70     {    
  71    
  72     }
  73 
  74 // --------------------------------------------------------------------------
  75 // CVIMPSTCmdLogin::ExecuteLD
  76 // --------------------------------------------------------------------------
  77 //
 
  78 void CVIMPSTCmdLogin::ExecuteLD()
  79     {
  80       CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd::ExecuteLD");
  81     //push to the cleanupstack
  82     CleanupStack::PushL( this );   
  83    
  84    //call login
  85       iEngine.Login();
  86       
  87     CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd:: CommandFinished");
  88 
  89     if(iObserver)
  90        {
  91        iObserver->CommandFinishedL(*this);
  92        }
  93    CHAT_DP_FUNC_ENTER("CVIMPSTEnableServiceCmd:: CommandFinished");   
  94    CleanupStack::PopAndDestroy();   
  95    CHAT_DP_FUNC_DONE("CVIMPSTEnableServiceCmd::ExecuteLD");   
  96     }
  97 
  98 
  99 // --------------------------------------------------------------------------
  100 // CVIMPSTCmdLogin::AddObserver
  101 // --------------------------------------------------------------------------
  102 //
 
  103 void CVIMPSTCmdLogin::AddObserver( MVIMPSTCmdObserver& aObserver )
  104     {
  105     // store the observer to notify the command completion
  106     iObserver = &aObserver;
  107     }
  108 
  109 
  110 // --------------------------------------------------------------------------
  111 // CVIMPSTCmdLogin::CommandId
  112 // --------------------------------------------------------------------------
  113 //
 
  114 TInt CVIMPSTCmdLogin::CommandId() const
  115    {
   116    return iCommandId;   
  117    }
  118 
  119 // --------------------------------------------------------------------------
  120 // CVIMPSTCmdLogin::Result
  121 // --------------------------------------------------------------------------
  122 //
 
  123 TInt CVIMPSTCmdLogin::Result() const
  124    {
  125    //return valid data regd the command operation
  126    //must be freed in Dtor
   127    return 0;
  128    }
  129 
  130 // End of File
***TER 100% (13/13) of SOURCE FILE cvimpstcmdlogin.cpp

+Directory Summary | Files Summary | Functions Summary | Execution Profile
+To files: First | Previous | Next | Last | Top | Index | No Index


+