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
TER: 42 % ( 11/ 26)

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 |
156 | 0 |  | 23 | MVIMPSTStorageServiceView* vimpstserviceview_stub::NewL()
| 24 | {
| 25 | MVIMPSTStorageServiceView* ob = new(ELeave)vimpstserviceview_stub;
| 26 | return ob;
| 27 | }
| 28 |
126 | 126 |  | 29 | void vimpstserviceview_stub::AddObserverL( MVIMPSTStorageContactsObserver* aObserver )
| 30 | {
| 31 |
| 32 | }
| 33 |
46 | 46 |  | 34 | void vimpstserviceview_stub::RemoveObserver( MVIMPSTStorageContactsObserver* aObserver )
| 35 | {
| 36 |
| 37 | }
| 38 |
| 39 |
38 | 0 |  | 40 | MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByUserId( const TDesC& aUserId )
| 41 | {
| 42 | if(aUserId.Compare(_L("dummy@presence"))==0)
| 43 | {
| 44 | MVIMPSTStorageContact* contact = vimpststoragecontact_stub::NewL();
| 45 | return contact;
| 46 | }
| 47 | return NULL;
| 48 | }
| 49 |
| 50 |
0 | 0 | - | 51 | TInt vimpstserviceview_stub::ListCount() const
| 52 | {
| 53 | return 1;
| 54 | }
| 55 |
0 | 0 | - | 56 | MVIMPSTStorageContactList& vimpstserviceview_stub::ListAt( TInt aIndex ) const
| 57 | {
| 58 | MVIMPSTStorageContactList *abc = NULL;
| 59 |
| 60 | return *abc;
| 61 | }
| 62 |
| 63 |
0 | 0 | - | 64 | MVIMPSTStorageContactList* vimpstserviceview_stub::FindContactList( const TDesC& aListId )
| 65 | {
| 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 |
| 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 | {
| 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 | {
| 96 | return NULL;
| 97 | }
| 98 |
0 | 0 | - | 99 | MVIMPSTStorageContact* vimpstserviceview_stub::UpdateAvatarL(const TDesC& aContactId,
| 100 | const TDesC8& aAvatarData )
| 101 | {
| 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;
| 111 | return contact;
| 112 | }
| 113 |
8 | 0 |  | 114 | TInt vimpstserviceview_stub::CreateNewContactFromRetrivedIdL( TInt aIndexToUse )
| 115 | {
| 116 | return 1;
| 117 | }
| 118 |
16 | 0 |  | 119 | TInt vimpstserviceview_stub::DeleteNewContactFromRetrivedIdL( TInt aIndexToUse )
| 120 | {
| 121 | return 0;
| 122 | }
| 123 |
0 | 0 | - | 124 | TInt vimpstserviceview_stub::RemoveContactL( MVIMPSTStorageContact* aContact )
| 125 | {
| 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 |
16 | 0 |  | 137 | TBool vimpstserviceview_stub::IsLocalStore() const
| 138 | {
| 139 | return ETrue;
| 140 | }
| 141 |
| 142 |
16 | 0 |  | 143 | TInt vimpstserviceview_stub::RetriveLinkXSPIdsL(const TDesC8& aContactPackLink )
| 144 | {
| 145 | return 3;
| 146 | }
24 | 0 |  | 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 |
4 | 0 |  | 167 | MVIMPSTStorageContact* vimpstserviceview_stub::FindContactByLink(const MVPbkContactLink& aContactLink )
| 168 | {
| 169 | return NULL;
| 170 | }
| 171 |
| 172 |
0 | 0 | - | 173 | void vimpstserviceview_stub::Sort( const TDesC& aContactListId)
| 174 | {
| 175 |
| 176 | }
| 177 |
146 | 0 |  | 178 | MVIMPSTStorageContact& vimpstserviceview_stub::OwnContactL()
| 179 | {
| 180 | MVIMPSTStorageContact *abc = vimpststoragecontact_stub::NewL();
| 181 |
| 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 42% (11/26) of SOURCE FILE s_vimpststorageserviceview.cpp

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