diff -r ffa4311257f6 -r e7f34e614544 uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/function coverage/indexD13.html --- a/uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/function coverage/indexD13.html Wed Sep 15 11:57:55 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,147 +0,0 @@ - - -CTC++ Coverage Report - - - - - - - - -CTC++ Coverage Report - -Execution Profile -   #13/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_storageitemmodel.cpp
-Instrumentation mode: function
-TER: 57 % ( 4/ 7)

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

  1 /*
  2 * ==============================================================================
  3 *  Name        : cvimpststoragecontact.cpp
  4 *  Part of     : IMUiserviceTab / vimpststorage
  5 *  Description : Implementation of contact data container
  6 *  Version     : %version: 29 %
  7 *
  8 *  Copyright (c) 2008 Nokia Corporation.
  9 *  This material, including documentation and any related 
  10 *  computer programs, is protected by copyright controlled by 
  11 *  Nokia Corporation. All rights are reserved. Copying, 
  12 *  including reproducing, storing, adapting or translating, any 
  13 *  or all of this material requires the prior written consent of 
  14 *  Nokia Corporation. This material also contains confidential 
  15 *  information which may not be disclosed to others without the 
  16 *  prior written consent of Nokia Corporation.
  17 * ==============================================================================
  18 */
  19 
  20 
  21 // INCLUDE FILES
  22 #include "s_storageitemmodel.h"
  23 #include "s_vimpststoragecontact.h"
  24 
  25 
  26 // ============================ MEMBER FUNCTIONS ===============================
  27 
  28 
  29 
  30 // -----------------------------------------------------------------------------
  31 // CVIMPSTStorageContact::NewL
  32 // Two-phased constructor.
  33 // -----------------------------------------------------------------------------
  34 //
 
128   35 MVIMPSTStorageItemModel* vimpststorageitemlist_stub::NewL()
  36     {
  37     MVIMPSTStorageItemModel* list = new(ELeave)vimpststorageitemlist_stub;
  38         return list;
  39     }
  40 
  41 
  42     
 
134   43 TInt vimpststorageitemlist_stub::Count() const
  44 {
  45 return 1;
  46 }
  47 
  48            /**
  49             * Returns List item at given index.
  50             * @param aIndex
  51             * @return SItem List item
  52   
  53             */
 
134   54 MVIMPSTStorageItemModel::SItem vimpststorageitemlist_stub::Item( TInt aIndex  ) const
  55 {
  56 MVIMPSTStorageItemModel::SItem item;
  57 item.iType = MVIMPSTStorageItemModel::EContactItem;
  58 item.iContactList = NULL;
  59 item.iContact = vimpststoragecontact_stub::NewL();
  60 return item;
  61 }
  62            
  63            
  64            /**
  65             * Get index for contact.
  66             * @param aContact. Contact item to be found.
  67             * @return TInt Index of contact. If contact not found returns KErrNotFound
  68             */
 
  69            TInt vimpststorageitemlist_stub::IndexOfContact( MVIMPSTStorageContact* aContact ) const 
  70            {
  71            return 1;
  72            }
  73            
  74            /**
  75             * Get index for list
  76             * @param aList. Contact item to be found.
  77             * @param aIgnoreOwnItem. If ETrue own item is not taken into account
  78             *                        when resolving index.
  79             * @param aIgnoreEmptyLists If ETrue, empty lists are ignored.
  80             * @return TInt Index of list. If list not found returns KErrNotFound
  81             */
 
- 82            TInt vimpststorageitemlist_stub::IndexOfList( MVIMPSTStorageContactList* aList,
  83                                      TBool aIgnoreOwnItem ,
  84                                      TBool aIgnoreEmptyLists ) const
  85                                      {
  86                                      return 1;
  87                                      }
  88            
  89            // -----------------------------------------------------------------------------
  90            // CVIMPSTContactListModel::MdcaCount
  91            // (other items were commented in a header).
  92            // -----------------------------------------------------------------------------
  93            //
 
- 94            TInt vimpststorageitemlist_stub::MdcaCount() const
  95                {
  96                
  97                return Count();
  98                }
  99 
  100            // -----------------------------------------------------------------------------
  101            // CVIMPSTContactListModel::MdcaPoint
  102            // (other items were commented in a header).
  103            // -----------------------------------------------------------------------------
  104            //
 
- 105            TPtrC vimpststorageitemlist_stub::MdcaPoint( TInt /*aIndex */) const
  106                {
  107                
  108                // These will be filtered out
  109                return KNullDesC();
  110                } 
  111 
  112 //  End of File  
***TER 57% (4/7) of SOURCE FILE s_storageitemmodel.cpp

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


-