mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/inc/unittest_mpmediawallview.h
changeset 48 af3740e3753f
child 55 f3930dda3342
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 mpdetailsview.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef UNITTEST_MPMEDIAWALLVIEW_H_
       
    19 #define UNITTEST_MPMEDIAWALLVIEW_H_
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 
       
    23 //Forward Declaration
       
    24 class MpMediaWallView;
       
    25 
       
    26 
       
    27 
       
    28 class TestMpMediaWallView : public QObject
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33 
       
    34     TestMpMediaWallView();
       
    35     virtual ~TestMpMediaWallView();
       
    36 
       
    37 public slots:
       
    38     void initTestCase();
       
    39     void cleanupTestCase();
       
    40     void init();
       
    41     void cleanup();
       
    42     
       
    43 private slots:
       
    44 
       
    45     void testInitializeView();
       
    46     void testActivateView();
       
    47     void testDeactivateView();
       
    48     void testSendToBackground();    
       
    49     void testContextOpened();
       
    50     void testContainerContentsChanged();
       
    51     void testLibraryUpdated();
       
    52     void testUpdatePlayPauseAction();
       
    53 
       
    54 private:
       
    55     MpMediaWallView *mTest;
       
    56     
       
    57 };
       
    58 
       
    59 #endif /* UNITTEST_MPMEDIAWALLVIEW_H_ */