videoplayback/hbvideoplaybackview/tsrc/testcontrolconfiguration/inc/testcontrolconfiguration.h
changeset 44 518105d52e45
parent 42 17f382c040b1
child 49 824471cb468a
equal deleted inserted replaced
42:17f382c040b1 44:518105d52e45
     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:   test module for QMPXVideoPlaybackControlConfiguration
       
    15 * 
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 
       
    21 #ifndef __TESTCONTROLCONFIGURATION_H__
       
    22 #define __TESTCONTROLCONFIGURATION_H__
       
    23 
       
    24 
       
    25 // INCLUDES
       
    26 #include <QtTest/QtTest>
       
    27 
       
    28 class HbVideoBasePlaybackView;
       
    29 class CMPXVideoViewWrapper;
       
    30 class QMPXVideoPlaybackViewFileDetails;
       
    31 class QMPXVideoPlaybackControlsController;
       
    32 class QMPXVideoPlaybackControlConfiguration;
       
    33 
       
    34 
       
    35 
       
    36 class TestControlConfiguration : public QObject
       
    37 {
       
    38     Q_OBJECT
       
    39 
       
    40 public:
       
    41 
       
    42     /**
       
    43      * will be called before each testfunction is executed.
       
    44      *
       
    45      */
       
    46     void init(); 
       
    47     
       
    48     /**
       
    49      * will be called after every testfunction.
       
    50      *
       
    51      */
       
    52     void cleanup();
       
    53     
       
    54     // test functions for the test framework
       
    55     
       
    56     
       
    57     void setup();
       
    58          
       
    59 private slots:
       
    60 	  void testControlList();	  
       
    61 	  void testUpdateControlsWithFileDetails();
       
    62 	  void testUpdateControlList();
       
    63 
       
    64     
       
    65 signals:
       
    66 
       
    67     void commandSignal(int);
       
    68     
       
    69 private:
       
    70 	  HbVideoBasePlaybackView*                 mBaseVideoView;
       
    71 	  CMPXVideoViewWrapper*                    mVideoViewWrapper;
       
    72 	  QMPXVideoPlaybackViewFileDetails*        mFileDetails;
       
    73 	  QMPXVideoPlaybackControlsController*     mControlsController;
       
    74 	  QMPXVideoPlaybackControlConfiguration*   mControlConfig;
       
    75  
       
    76 };
       
    77 
       
    78 
       
    79 #endif  // __TESTCONTROLCONFIGURATION_H__
       
    80 
       
    81 // End of file