mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallviewplugin/inc/unittest_mpmediawallviewplugin.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 mpmediawallplugin
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef TESTMPMEDIAWALLVIEWPLUGIN_H
       
    19 #define TESTMPMEDIAWALLVIEWPLUGIN_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 
       
    23 class MpMediaWallViewPlugin;
       
    24 
       
    25 class TestMpMediaWallViewPlugin : public QObject
       
    26 {
       
    27     Q_OBJECT
       
    28 
       
    29 public:
       
    30 
       
    31     TestMpMediaWallViewPlugin();
       
    32     virtual ~TestMpMediaWallViewPlugin();
       
    33 
       
    34 public slots:
       
    35     void initTestCase();
       
    36     void cleanupTestCase();
       
    37     void init();
       
    38     void cleanup();
       
    39 
       
    40 private slots:
       
    41     void testConstructor();
       
    42     void testCreateView();
       
    43     void testdestroyView();
       
    44     void testActivateView();
       
    45     void testDeactivateView();
       
    46     void testGetView();
       
    47 
       
    48 private:
       
    49 
       
    50     MpMediaWallViewPlugin          *mTest;
       
    51 
       
    52 };
       
    53 
       
    54 #endif  // TESTMPMEDIAWALLVIEWPLUGIN_H