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