controlpanelplugins/aboutplugin/t_aboutplugin/inc/t_aboutplugin.h
changeset 40 593f946f4fec
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Main test class for Control Panel's About plugin 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_CPABOUTPLUGIN_H
       
    19 #define T_CPABOUTPLUGIN_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 
       
    23 class CpAboutPlugin;
       
    24 
       
    25 /**
       
    26 * TestAboutPlugin
       
    27 */
       
    28 class TestAboutPlugin : public QObject
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 private slots:
       
    33     void init();
       
    34     void cleanup();
       
    35     
       
    36     // CpAboutPlugin
       
    37     void testCreateSettingFormItemData();
       
    38     
       
    39     // CpAboutView
       
    40     void testCpAboutView();
       
    41     void testCpAboutViewOpenThirdPartyView();
       
    42     void testCpAboutViewOpenOpenSourceView();
       
    43     
       
    44     //CpAboutThirdPartyView
       
    45     void testCpAboutThirdPartyView();
       
    46     
       
    47     //CpAboutOpenSourceView
       
    48     void testCpAboutOpenSourceView();
       
    49           
       
    50 private:
       
    51     CpAboutPlugin *mPlugin; 
       
    52     
       
    53 };
       
    54 
       
    55 #endif // T_CPABOUTPLUGIN_H