mediasettings/videosettingsplugin/tsrc/testaccesspointentry/inc/testvideosettingsaccesspointentry.h
changeset 46 adbe7d5ba2f5
equal deleted inserted replaced
28:c48470be1ba7 46:adbe7d5ba2f5
       
     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:   TestVideoSettingsAccessPointEntry class definition
       
    15 * 
       
    16 */
       
    17 
       
    18 #ifndef TESTVIDEOSETTINGSACCESSPOINTENTRY_H
       
    19 #define TESTVIDEOSETTINGSACCESSPOINTENTRY_H
       
    20 
       
    21 
       
    22 // INCLUDES
       
    23 #include <qobject.h>
       
    24 
       
    25 class CpItemDataHelper;
       
    26 class VideoSettingsAccessPointEntry;
       
    27 class VideoSettingsGroup;
       
    28 
       
    29 class TestVideoSettingsAccessPointEntry : public QObject
       
    30 	{
       
    31     
       
    32     Q_OBJECT
       
    33 
       
    34 signals:
       
    35     
       
    36     void testSignal();
       
    37     
       
    38 private slots:
       
    39     
       
    40     /**
       
    41      * called at the very beginning of the test
       
    42      */
       
    43     void initTestCase();
       
    44     
       
    45     /**
       
    46      * called at the very end of the test
       
    47      */
       
    48     void cleanupTestCase();
       
    49     
       
    50     /**
       
    51      * called at the start of every test.
       
    52      */
       
    53     void init();
       
    54     
       
    55     /**
       
    56      * called at the end of every test.
       
    57      */
       
    58     void cleanup();
       
    59     
       
    60     /**
       
    61      * tests constructor
       
    62      */
       
    63     void testConstructor();
       
    64     
       
    65     /**
       
    66      * tests destructor
       
    67      */
       
    68     void testDestructor();
       
    69 
       
    70     /**
       
    71      * tests setIapId
       
    72      */
       
    73     void testSetIapId();
       
    74     
       
    75     /**
       
    76      * tests createSettingsView
       
    77      */
       
    78     void testCreateSettingView();
       
    79 
       
    80     /**
       
    81      * tests openSelectionDialogSlot
       
    82      */
       
    83     void testOpenSelectionDialogSlot();
       
    84 
       
    85     /**
       
    86      * tests accessPointDialogFinished
       
    87      */
       
    88     void testAccessPointDialogFinished();
       
    89 
       
    90 private:
       
    91     
       
    92     CpItemDataHelper* mItemHelper;
       
    93     
       
    94     VideoSettingsGroup* mGroup;
       
    95     
       
    96     VideoSettingsAccessPointEntry* mTestObject;
       
    97     
       
    98     };
       
    99 
       
   100 #endif  // TESTVIDEOSETTINGSACCESSPOINTENTRY_H
       
   101 
       
   102 // End of File