vmbx/vmbxengine/tsrc/ut_vmbxengine/inc/ut_pbkstore.h
changeset 19 e44a8c097b15
child 27 7eb70891911c
equal deleted inserted replaced
15:d7fc66ccd6fb 19:e44a8c097b15
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 #ifndef UT_PBKSTORE_H
       
    18 #define UT_PBKSTORE_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 class CVmbxPbkStore;
       
    23 
       
    24 class Ut_PbkStore : public QObject
       
    25 {
       
    26     Q_OBJECT
       
    27     
       
    28 public:
       
    29     Ut_PbkStore();
       
    30     virtual ~Ut_PbkStore();
       
    31     
       
    32 private slots:
       
    33     void testCreateAndDelete();
       
    34     void testIsWritable();
       
    35     void testPhoneBookType();
       
    36     // Can not handle AO in Current UT desing
       
    37     //void testWrite(); 
       
    38     void testPhonebookStore();
       
    39     //void testGetL();
       
    40     
       
    41 private:
       
    42     void createPbk();
       
    43     void deletePbk();
       
    44     
       
    45 private:
       
    46     CVmbxPbkStore *mPbk;
       
    47 };
       
    48 
       
    49 #endif // UT_PBKSTORE_H