diff -r 2b7283837edb -r 3104fc151679 uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/branch_coverage/indexD21.html --- a/uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/branch_coverage/indexD21.html Thu Aug 19 09:41:53 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,256 +0,0 @@ - - -CTC++ Coverage Report - - - - - - - - -CTC++ Coverage Report - -Execution Profile -   #21/43

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


-File: \meco_domain\conversations\uiservicetab\internal\tsrc\vimpstcmdprocess_utest\src\stub\s_vimpststorageserviceview.cpp
-Instrumentation mode: function-decision
-TER: 55 % ( 30/ 55)

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

  1 /*
  2 * ============================================================================
  3 *  Name        : s_vimpststorageserviceview.cpp
  4 *  Part of     : 
  5 *  Description : 
  6 *  Version     : %version: 2 %
  7 *
  8 *  Copyright © 2006, 2007 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 * Template version: 4.1
  18 */
  19 
  20 #include "s_vimpststorageserviceview.h"
  21 #include "s_vimpststoragecontact.h"
  22 
 
78   23 MVIMPSTStorageServiceView* vimpstserviceview_stub::NewL()
  24     {
  25     MVIMPSTStorageServiceView* ob = new(ELeave)vimpstserviceview_stub;
78    26         return ob;
  27     }
  28 
 
63 63   29 void vimpstserviceview_stub::AddObserverL( MVIMPSTStorageContactsObserver* aObserver ) 
  30     {
  31 
  32     }
  33 
 
23 23   34 void vimpstserviceview_stub::RemoveObserver( MVIMPSTStorageContactsObserver* aObserver )
  35     {
  36     
  37     }
  38 
  39 
 
19   40 MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByUserId( const TDesC& aUserId )
  41     {
10   42     if(aUserId.Compare(_L("dummy@presence"))==0)
  43         {
  44     MVIMPSTStorageContact* contact = vimpststoragecontact_stub::NewL();
10    45     return contact;
  46         }
   47     return NULL;
  48     }
  49 
  50 
 
- 51 TInt vimpstserviceview_stub::ListCount() const
  52 {
 - 53 return 1;
  54 }
  55 
 
- 56 MVIMPSTStorageContactList& vimpstserviceview_stub::ListAt( TInt aIndex ) const 
  57 {
  58 MVIMPSTStorageContactList *abc = NULL;
  59     
 - 60 return *abc;
  61 }
  62 
  63 
 
- 64 MVIMPSTStorageContactList* vimpstserviceview_stub::FindContactList( const TDesC& aListId )
  65     {
 - 66     return NULL;
  67     }
  68 
 
- 69 MVIMPSTStorageContactList* vimpstserviceview_stub::CreateContactListL( const TDesC& aContactListId, 
  70         const TDesC& aDisplayName ) 
  71     {
  72     MVIMPSTStorageContactList *abc = NULL;
  73         
 - 74     return abc;
  75     }
  76 
 
- 77 void vimpstserviceview_stub::RemoveContactList( const TDesC& aContactListId )
  78     {
  79     
  80     }
  81 
  82 
 
- 83 TInt vimpstserviceview_stub::ContactCount(TBool aSkipOfflineContacts ) const
  84 {
 - 85 return 0;
  86 }
  87 
  88 
  89 
 
- 90 MVIMPSTStorageContact* vimpstserviceview_stub::UpdatePresenceL(const TDesC& aContactId, 
  91         TVIMPSTEnums::TOnlineStatus aStatus, 
  92         const TDesC& aStatusText,
  93         const TDesC8& aAvatarData,
  94         TBool aIsClearingAvatar ) 
  95     {
 - 96     return NULL;
  97     }
  98 
 
- 99 MVIMPSTStorageContact* vimpstserviceview_stub::UpdateAvatarL(const TDesC& aContactId,
  100         const TDesC8& aAvatarData )
  101     {
 - 102     return NULL;
  103     }
  104 
 
- 105 MVIMPSTStorageContact* vimpstserviceview_stub::CreateNewContactL(const TDesC& aUserId, 
  106         const TDesC& aDisplayName,
  107         TBool aIsInvitationItem ,
  108         TBool aInvitationAutoAccept)
  109     {
  110     MVIMPSTStorageContact* contact = NULL;
 - 111     return  contact;
  112     }
  113 
 
  114 TInt vimpstserviceview_stub::CreateNewContactFromRetrivedIdL(  TInt aIndexToUse  )
  115     {
   116     return 1;
  117     }
  118 
 
  119 TInt vimpstserviceview_stub::DeleteNewContactFromRetrivedIdL(  TInt aIndexToUse  )
  120     {
   121     return 0;
  122     }
  123 
 
- 124 TInt vimpstserviceview_stub::RemoveContactL( MVIMPSTStorageContact* aContact  )
  125     {
 - 126     return 0;
  127     }
  128 
  129 
 
- 130 void vimpstserviceview_stub::CreateNewFetchContactsL( RArray <TPtrC> &aFirstNameList, 
  131         RArray <TPtrC> &aServiceField )
  132     {
  133     
  134     }
  135 
  136 
 
  137 TBool  vimpstserviceview_stub::IsLocalStore() const
  138 {
   139 return ETrue;
  140 }
  141 
  142 
 
  143 TInt vimpstserviceview_stub::RetriveLinkXSPIdsL(const TDesC8& aContactPackLink )
  144     {
   145     return 3;
  146     }
 
12   147 const TDesC& vimpstserviceview_stub::GetRetrieveXSPIdL(TInt aIndex )
  148     {
  149     if(aIndex ==0)
  150         {
  151         _LIT(KText1,"blocked@presence");
   152         return KText1();
  153         }
  154     if(aIndex ==1)
  155         {
  156         _LIT(KText2,"dummy@presence");
   157         return KText2();
  158         }
- 159     if(aIndex ==2)
  160         {
  161         _LIT(KText3,"contact@presence");
   162         return KText3();
  163         }
  164 
  165     }
  166 
 
  167 MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByLink(const MVPbkContactLink& aContactLink )
  168     {
   169     return NULL;
  170     }
  171 
  172 
 
- 173 void vimpstserviceview_stub::Sort( const TDesC& aContactListId)
  174     {
  175     
  176     }
  177 
 
72   178 MVIMPSTStorageContact& vimpstserviceview_stub::OwnContactL() 
  179     {
  180     MVIMPSTStorageContact *abc = vimpststoragecontact_stub::NewL();
  181         
72    182     return *abc;
  183     }
  184 
 
- 185 void vimpstserviceview_stub::DeleteDatabaseL() 
  186     {
  187     
  188     }
  189 
 
- 190 void vimpstserviceview_stub::SetOwnUserIdL(const TDesC& aUserId ) 
  191     {
  192     
  193     }
  194 
 
- 195 void vimpstserviceview_stub::SetUnnamedTextL(HBufC* aUnnamedText )
  196     {
  197     
  198     }
  199 
  200 
  201 
  202 // End of File
***TER 55% (30/55) of SOURCE FILE s_vimpststorageserviceview.cpp

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


-