vmbx/vmbxengine/tsrc/ut_vmbxengine/inc/ut_vmbxengine.h
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     1 /*
       
     2 * Copyright (c) 20 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: Unit test class for CVmbxPbkStore
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UT_VMBXENGINE_H
       
    19 #define UT_VMBXENGINE_H
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class CVoiceMailbox;
       
    24 class CVoiceMailboxEntry;
       
    25 
       
    26 class Ut_VmbxEngine : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29 
       
    30 public:
       
    31     Ut_VmbxEngine();
       
    32     virtual ~Ut_VmbxEngine();
       
    33 
       
    34 private slots:
       
    35 
       
    36     // Test New and Delete Api
       
    37     void testVmbxApi();
       
    38     void testEntryApi();
       
    39     
       
    40     // CVoiceMailbox test code
       
    41     void testGetStoredEntry();
       
    42     void testSaveEntry();
       
    43     void testQueryNewEntry();
       
    44     void testQueryChangeEntry();
       
    45     void testQueryVmbxType();
       
    46     //void testNotifyVmbxNumberChangeL();
       
    47     //void NotifyVmbxNumberChangeCancel();
       
    48     void testCheckConfiguration();
       
    49     void testGetServiceIds();
       
    50     void testSaveProvisionedEntry();
       
    51     
       
    52     // CVoiceMailboxEntry test code
       
    53     void testType();
       
    54     void testName();
       
    55     void testServiceId();
       
    56     void testLineType();
       
    57     void testNumber();
       
    58     void testBrandId();
       
    59     void testUsingMemoryLocation();
       
    60     void testReset();
       
    61    
       
    62 private:
       
    63     // create and delete Api
       
    64     void createVmbxApi();
       
    65     void createEntryApi();
       
    66     void deleteVmbxApi();
       
    67     void deleteEntryApi();
       
    68 private:
       
    69     CVoiceMailbox *mVmbx;
       
    70     CVoiceMailboxEntry *mEntry;
       
    71 };
       
    72 
       
    73 #endif // UT_VMBXENGINE_H