homescreenapp/hsapplicationlauncher/tsrc/t_hsapplicationlauncher/inc/t_hsapplicationlauncher.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:  Test class for hsapplicationlauncher
       
    15 *
       
    16 */
       
    17 
       
    18 #include <QtTest/QtTest>
       
    19 
       
    20 /**
       
    21 * @test Test class for homescreen::hsapplicationlauncher modules.
       
    22 */
       
    23 class t_hsapplicationlauncher : public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26 
       
    27 private slots:
       
    28 
       
    29     /**
       
    30      * initialize
       
    31      */
       
    32     void initTestCase();
       
    33     void cleanupTestCase();
       
    34 
       
    35     /**
       
    36      * hsapplicationlauncher.cpp
       
    37      */
       
    38     void testActivate();
       
    39     void testRunL();
       
    40     void testInitProcessMonitorL();
       
    41     void testDoCancel();
       
    42     void testShutdownApp();
       
    43     void testRunError();
       
    44     void testListeningLanguageSelection();
       
    45     void testHandleNotifyInt();
       
    46     void testStartHomeScreen();
       
    47     void testProcessEnded();
       
    48     void testProcessMonitoringError();
       
    49     void testSystemShutdownEvent();
       
    50     void testIsLanguageSelectedL();
       
    51     
       
    52     /**
       
    53      * hsprocessmonitor.cpp
       
    54      */
       
    55     void testProcessMonitorRunL();
       
    56     void testProcessMonitorDoCancel();
       
    57     void testProcessMonitorRunError();
       
    58     
       
    59     /**
       
    60 	 * hsshutdownmonitor.cpp
       
    61 	 */
       
    62 	 void testShutDownMonitorRunL();
       
    63 	 void testShutDownMonitorDoCancel();
       
    64 	 void testShutDownMonitorRunError();
       
    65 
       
    66 
       
    67 private:    
       
    68 };