homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_installedappsstate/inc/t_installedappsstate.h
changeset 90 3ac3aaebaee5
equal deleted inserted replaced
86:e4f038c420f7 90:3ac3aaebaee5
       
     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:  Tests for hsapplibrarystateplugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_ALLAPPSSTATE_H
       
    19 #define T_ALLAPPSSTATE_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <HbMainWindow>
       
    23 
       
    24 class HbMainWindow;
       
    25 class HbAbstractViewItem;
       
    26 class QStateMachine;
       
    27 
       
    28 /**
       
    29 * @test Test class for homescreen::hsutils modules.
       
    30 */
       
    31 class MenuStatesTest : public QObject
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35 private slots:
       
    36 
       
    37     /*
       
    38     * Tests
       
    39     */
       
    40     void construction();
       
    41 #ifdef Q_OS_SYMBIAN
       
    42     void openTaskSwitcher();
       
    43     void openInstallationLog();
       
    44 #endif//Q_OS_SYMBIAN
       
    45     void emptyLabelVisibility();
       
    46     void stateEnteredExited();
       
    47     void listItemLongPressed();
       
    48     void latestOldestOnTopMenuAction();
       
    49     /**
       
    50      * cleanup
       
    51      */
       
    52 
       
    53     void cleanup();
       
    54     
       
    55 private:
       
    56     HbMainWindow mWindow;
       
    57 };
       
    58 #endif // T_ALLAPPSSTATE_H