logsui/logsengine/tsrc/ut_logsengine/inc/ut_logscommondata.h
changeset 0 4a5361db8937
child 2 7119b73b84d6
equal deleted inserted replaced
-1:000000000000 0:4a5361db8937
       
     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 #ifndef UT_LOGSCOMMONDATA_H
       
    18 #define UT_LOGSCOMMONDATA_H
       
    19 
       
    20 #include <QObject>
       
    21 
       
    22 class UT_LogsCommonData : public QObject                 
       
    23 {
       
    24      Q_OBJECT
       
    25     
       
    26 private slots:
       
    27 
       
    28 /*
       
    29  * In addition, there are four private slots that are not treated as testfunctions. 
       
    30  * They will be executed by the testing framework and can be used to initialize and clean up 
       
    31  * either the entire test or the current test function.
       
    32  * 
       
    33  * initTestCase() will be called before the first testfunction is executed.
       
    34  * cleanupTestCase() will be called after the last testfunction was executed.
       
    35  * init() will be called before each testfunction is executed.
       
    36  * cleanup() will be called after every testfunction.
       
    37 */
       
    38     void initTestCase();
       
    39     void cleanupTestCase();
       
    40     void init();
       
    41     void cleanup();
       
    42 
       
    43 private slots: //test methods
       
    44      
       
    45     void testGetInstance();
       
    46     void testGetContactManager();
       
    47     void testFreeCommonData();
       
    48     
       
    49 private:
       
    50 
       
    51 };
       
    52 
       
    53 
       
    54 #endif //UT_LOGSCOMMONDATA_H