mpviewplugins/mpsettingsviewplugin/tsrc/unittest_mpsettingsview/inc/unittest_mpsettingsview.h
changeset 48 af3740e3753f
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
       
     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: Unit Test for mpsettingsview
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UNITTEST_MPSETTINGSVIEW_H_
       
    19 #define UNITTEST_MPSETTINGSVIEW_H_
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <QObject>
       
    23 
       
    24 //Forward Declaration
       
    25 class MpSettingsView;
       
    26 
       
    27 class TestMpSettingsView : public QObject
       
    28 {
       
    29     Q_OBJECT
       
    30 
       
    31 public:
       
    32 
       
    33     TestMpSettingsView();
       
    34     virtual ~TestMpSettingsView();
       
    35     
       
    36 
       
    37 signals:
       
    38     void back ();    
       
    39     void albumArtChanged();
       
    40  
       
    41 public slots:
       
    42     void initTestCase();
       
    43     void cleanupTestCase();
       
    44     void init();
       
    45     void cleanup();
       
    46     
       
    47 private slots:
       
    48 
       
    49     void testInitializeView();
       
    50 
       
    51     void testActivateView();
       
    52     void testDeactivateView();
       
    53     void testBack();
       
    54 
       
    55 private:
       
    56     MpSettingsView *mTest;
       
    57     
       
    58 };
       
    59 
       
    60 #endif /* UNITTEST_MPSETTINGSVIEW_H_ */