mmsharing/livecommsui/lcui/tsrc/ut_lcui/inc/ut_lcvideowidget.h
branchRCL_3
changeset 23 bc78a40cd63c
parent 22 73a1feb507fb
child 24 6c57ef9392d2
equal deleted inserted replaced
22:73a1feb507fb 23:bc78a40cd63c
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef UT_LCVIDEOWIDGET_H
       
    20 #define UT_LCVIDEOWIDGET_H
       
    21 
       
    22 #include <QObject>
       
    23 
       
    24 class LcVideoWidget;
       
    25 
       
    26 class UT_LcVideoWidget : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29      
       
    30 private slots:
       
    31 
       
    32 /*
       
    33  * In addition, there are four private slots that are not treated as testfunctions. 
       
    34  * They will be executed by the testing framework and can be used to initialize and clean up 
       
    35  * either the entire test or the current test function.
       
    36  * 
       
    37  * initTestCase() will be called before the first testfunction is executed.
       
    38  * cleanupTestCase() will be called after the last testfunction was executed.
       
    39  * init() will be called before each testfunction is executed.
       
    40  * cleanup() will be called after every testfunction.
       
    41 */
       
    42     void initTestCase();
       
    43     void cleanupTestCase();
       
    44     void init();
       
    45     void cleanup();
       
    46 
       
    47 
       
    48 private slots: //test methods
       
    49      
       
    50     void testConstructor();
       
    51     void testSetShowVideo();
       
    52     void testPaint();
       
    53     
       
    54 private:
       
    55  
       
    56     LcVideoWidget* mVideoWidget;
       
    57     LcVideoWidget* mVideoWidget2;
       
    58 };
       
    59 
       
    60 
       
    61 #endif //UT_LCVIDEOWIDGET_H