messagingapp/msgui/msgaudiofetcher/tsrc/unittest_msgaudiofetchermodel/inc/unittest_msgaudiofetchermodel.h
changeset 73 ecf6a73a9186
equal deleted inserted replaced
68:e8a69c93c830 73:ecf6a73a9186
       
     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:  Item decorator of the message list view.
       
    15  *
       
    16  */
       
    17 
       
    18 #include "MsgAudioFetcherModel.h"
       
    19 class HbMainWindow;
       
    20 class HbListView;
       
    21 class TestMsgAudioFetcherModel:public QObject
       
    22     {
       
    23     Q_OBJECT
       
    24 public:
       
    25     TestMsgAudioFetcherModel();
       
    26     ~TestMsgAudioFetcherModel();
       
    27 private slots:
       
    28 
       
    29     void initTestCase();
       
    30     
       
    31     void test_Constructor();
       
    32     
       
    33     void test_init();
       
    34     
       
    35     void test_addToneFiles();
       
    36     
       
    37     void test_insertIndex();
       
    38     
       
    39     void test_clearAll();
       
    40     
       
    41     void test_queryComplete();
       
    42     
       
    43     void test_isDRM_data();
       
    44     
       
    45     void test_isDRM();
       
    46 
       
    47     void cleanupTestCase();
       
    48 private:
       
    49 
       
    50     MsgAudioFetcherModel* mMsgAudioFetcherModel;
       
    51     HbMainWindow* mTestMainWindow;
       
    52     HbListView* mListView;
       
    53     };