homescreenapp/stateplugins/hsapplibrarystateplugin/tsrc/t_searchviewbuilder/inc/t_searchviewbuilder.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_MENUVIEWBUILDER_H
       
    19 #define T_MENUVIEWBUILDER_H
       
    20 
       
    21 #include <QtTest/QtTest>
       
    22 #include <QPoint>
       
    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     * Tests
       
    38     */
       
    39     void HsSearchViewBuilder_construction();
       
    40     void HsSearchViewBuilder_uiObjects();
       
    41     void HsSearchViewBuilder_setSearchLabledContext();
       
    42     void HsSearchViewBuilder_loadViewEmptySection();
       
    43     void HsSearchViewBuilder_loadViewListSection();
       
    44 
       
    45     void HsSearchViewBuilder_searchViewConstruction();
       
    46     void HsSearchViewBuilder_activatedProxySlot();
       
    47     void HsSearchViewBuilder_longPressedProxySlot();
       
    48     void HsSearchViewBuilder_showHide();
       
    49     void HsSearchViewBuilder_hideVkb();
       
    50 
       
    51 
       
    52     void cleanup();
       
    53 
       
    54     void testSlot();
       
    55 
       
    56 private:
       
    57     bool mSlotActivated;
       
    58 
       
    59 };
       
    60 #endif // T_MENUVIEWBUILDER_H