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 | 0 |  | 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 | 0 |  | 40 | MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByUserId( const TDesC& aUserId )
| 41 | {
10 | 9 |  | 42 | if(aUserId.Compare(_L("dummy@presence"))==0)
| 43 | {
| 44 | MVIMPSTStorageContact* contact = vimpststoragecontact_stub::NewL();
10 |  |  | 45 | return contact;
| 46 | }
9 |  |  | 47 | return NULL;
| 48 | }
| 49 |
| 50 |
0 | 0 | - | 51 | TInt vimpstserviceview_stub::ListCount() const
| 52 | {
0 |  | - | 53 | return 1;
| 54 | }
| 55 |
0 | 0 | - | 56 | MVIMPSTStorageContactList& vimpstserviceview_stub::ListAt( TInt aIndex ) const
| 57 | {
| 58 | MVIMPSTStorageContactList *abc = NULL;
| 59 |
0 |  | - | 60 | return *abc;
| 61 | }
| 62 |
| 63 |
0 | 0 | - | 64 | MVIMPSTStorageContactList* vimpstserviceview_stub::FindContactList( const TDesC& aListId )
| 65 | {
0 |  | - | 66 | return NULL;
| 67 | }
| 68 |
0 | 0 | - | 69 | MVIMPSTStorageContactList* vimpstserviceview_stub::CreateContactListL( const TDesC& aContactListId,
| 70 | const TDesC& aDisplayName )
| 71 | {
| 72 | MVIMPSTStorageContactList *abc = NULL;
| 73 |
0 |  | - | 74 | return abc;
| 75 | }
| 76 |
0 | 0 | - | 77 | void vimpstserviceview_stub::RemoveContactList( const TDesC& aContactListId )
| 78 | {
| 79 |
| 80 | }
| 81 |
| 82 |
0 | 0 | - | 83 | TInt vimpstserviceview_stub::ContactCount(TBool aSkipOfflineContacts ) const
| 84 | {
0 |  | - | 85 | return 0;
| 86 | }
| 87 |
| 88 |
| 89 |
0 | 0 | - | 90 | MVIMPSTStorageContact* vimpstserviceview_stub::UpdatePresenceL(const TDesC& aContactId,
| 91 | TVIMPSTEnums::TOnlineStatus aStatus,
| 92 | const TDesC& aStatusText,
| 93 | const TDesC8& aAvatarData,
| 94 | TBool aIsClearingAvatar )
| 95 | {
0 |  | - | 96 | return NULL;
| 97 | }
| 98 |
0 | 0 | - | 99 | MVIMPSTStorageContact* vimpstserviceview_stub::UpdateAvatarL(const TDesC& aContactId,
| 100 | const TDesC8& aAvatarData )
| 101 | {
0 |  | - | 102 | return NULL;
| 103 | }
| 104 |
0 | 0 | - | 105 | MVIMPSTStorageContact* vimpstserviceview_stub::CreateNewContactL(const TDesC& aUserId,
| 106 | const TDesC& aDisplayName,
| 107 | TBool aIsInvitationItem ,
| 108 | TBool aInvitationAutoAccept)
| 109 | {
| 110 | MVIMPSTStorageContact* contact = NULL;
0 |  | - | 111 | return contact;
| 112 | }
| 113 |
4 | 0 |  | 114 | TInt vimpstserviceview_stub::CreateNewContactFromRetrivedIdL( TInt aIndexToUse )
| 115 | {
4 |  |  | 116 | return 1;
| 117 | }
| 118 |
8 | 0 |  | 119 | TInt vimpstserviceview_stub::DeleteNewContactFromRetrivedIdL( TInt aIndexToUse )
| 120 | {
8 |  |  | 121 | return 0;
| 122 | }
| 123 |
0 | 0 | - | 124 | TInt vimpstserviceview_stub::RemoveContactL( MVIMPSTStorageContact* aContact )
| 125 | {
0 |  | - | 126 | return 0;
| 127 | }
| 128 |
| 129 |
0 | 0 | - | 130 | void vimpstserviceview_stub::CreateNewFetchContactsL( RArray <TPtrC> &aFirstNameList,
| 131 | RArray <TPtrC> &aServiceField )
| 132 | {
| 133 |
| 134 | }
| 135 |
| 136 |
8 | 0 |  | 137 | TBool vimpstserviceview_stub::IsLocalStore() const
| 138 | {
8 |  |  | 139 | return ETrue;
| 140 | }
| 141 |
| 142 |
8 | 0 |  | 143 | TInt vimpstserviceview_stub::RetriveLinkXSPIdsL(const TDesC8& aContactPackLink )
| 144 | {
8 |  |  | 145 | return 3;
| 146 | }
12 | 0 |  | 147 | const TDesC& vimpstserviceview_stub::GetRetrieveXSPIdL(TInt aIndex )
| 148 | {
4 | 8 |  | 149 | if(aIndex ==0)
| 150 | {
| 151 | _LIT(KText1,"blocked@presence");
4 |  |  | 152 | return KText1();
| 153 | }
4 | 4 |  | 154 | if(aIndex ==1)
| 155 | {
| 156 | _LIT(KText2,"dummy@presence");
4 |  |  | 157 | return KText2();
| 158 | }
4 | 0 | - | 159 | if(aIndex ==2)
| 160 | {
| 161 | _LIT(KText3,"contact@presence");
4 |  |  | 162 | return KText3();
| 163 | }
| 164 |
| 165 | }
| 166 |
2 | 0 |  | 167 | MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByLink(const MVPbkContactLink& aContactLink )
| 168 | {
2 |  |  | 169 | return NULL;
| 170 | }
| 171 |
| 172 |
0 | 0 | - | 173 | void vimpstserviceview_stub::Sort( const TDesC& aContactListId)
| 174 | {
| 175 |
| 176 | }
| 177 |
72 | 0 |  | 178 | MVIMPSTStorageContact& vimpstserviceview_stub::OwnContactL()
| 179 | {
| 180 | MVIMPSTStorageContact *abc = vimpststoragecontact_stub::NewL();
| 181 |
72 |  |  | 182 | return *abc;
| 183 | }
| 184 |
0 | 0 | - | 185 | void vimpstserviceview_stub::DeleteDatabaseL()
| 186 | {
| 187 |
| 188 | }
| 189 |
0 | 0 | - | 190 | void vimpstserviceview_stub::SetOwnUserIdL(const TDesC& aUserId )
| 191 | {
| 192 |
| 193 | }
| 194 |
0 | 0 | - | 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